CLEO Help Wait Function not working

CLEO related
Status
Not open for further replies.

shanker

Well-known member
Joined
Sep 18, 2016
Messages
291
Reaction score
17
Location
Romania
IF Script is Same like:

Code:
Code:
[font=Comic Sans MS]$CLEO[/font]
[font=Comic Sans MS][/font]
[font=Comic Sans MS]:N[/font]
[font=Comic Sans MS]untill 0afa:[/font]
[font=Comic Sans MS][/font]
[font=Comic Sans MS]0b34: cmd @DD[/font]
[font=Comic Sans MS]:Noname_03[/font]
[font=Comic Sans MS]wait 0[/font]
[font=Comic Sans MS]jump @Noname_03[/font]
[font=Comic Sans MS][/font]
[font=Comic Sans MS]:DD [/font]
[font=Comic Sans MS]script ..[/font]
[font=Comic Sans MS]wait xY MS



wait will not working anymore, just if I remove :Noname_03 and script must be "updated" for it , can some one tell me how to fix it?



----------------------------------------------------------------------------------------------------------------------------------------------
another question is, how can I use "words" at 0ad4?

an example:
Code:
0AD4: 4@ = scan_string 0@v format " %d" 5@//IF and SET
IF 5@ == SI
Then ...
[font]

i have to make an constant or what?[/font]
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
The first question/script thing is unreadable because of the font tags. Also, comic sans is gay.
If you mean you want to use 'wait' inside a command thread, you can't.

Your second question is ambiguous too, because 0AD4 only accepts a string, so it uses 'words' already.
If you mean you have a value that you use a lot in your script you can declare it as a constant.

[shcode=cpp]
const
  SI = 0x1337
end

if 5@ == SI //5@ == 0x1337
[...]

[/shcode]
 
Status
Not open for further replies.
Top