CLEO Help 0AD4: crash

CLEO related
Status
Not open for further replies.

WaTTi

Well-known member
Joined
Jan 4, 2015
Messages
260
Reaction score
8
So .. sometimes it crash when there are not all the parameters.
Code:
        if
        0AD4: 10@ = scan_string 6@ format "%d %d %f" 8@ 9@ 10@
        then
            0AF3: write_float 10@ to_ini_file "cleo\WaTTiProject.ini" section "OTHER" key "rip"
        else chatmsg "/.command D D F" -1
        end

example:

/.command = crash
/.command 1 1 = crash
/.command 1 1 1.0 = OK

how i can fix that?
 

Shakira

Active member
Joined
Jul 11, 2014
Messages
191
Reaction score
0
0AD4: 10@ = scan_string 6@ format "%d %d %f" 8@ 9@ 10@
then
0AF3: write_float 6@ to_ini_file "cleo\WaTTiProject.ini" section "OTHER" key "rip"

6@ not 10@
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
273
6@ would be the string,

0AD4: 10@ = scan_string 6@ format "%d %d %f" 8@ 9@ 15@
0AF3: write_float 15@ to_ini_file "cleo\WaTTiProject.ini" section "OTHER" key "rip"
 
Status
Not open for further replies.
Top