WaTTi
Well-known member
- Joined
- Jan 4, 2015
- Messages
- 260
- Reaction score
- 8
So .. sometimes it crash when there are not all the parameters.
example:
/.command = crash
/.command 1 1 = crash
/.command 1 1 1.0 = OK
how i can fix that?
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?