| Yoko http://forum.yoko.com.ua/ |
|
| Easy question ! English http://forum.yoko.com.ua/viewtopic.php?f=3&t=5786 |
Page 1 of 1 |
| Author: | -=SaCi=- [ 2006-02-16 14:02:45 ] |
| Post subject: | Easy question ! English |
i´m a sphere scripter, and in sphere we have a key to stop the comand, that's return 1 Example! if uo.getGlobal("Modobatalha") == "0" then UO.SetGlobal("Falando",UO.GetGlobal("Falando")+"p") # here i need to but the key to stop de macro, to it doesn't go to the other part endif uo.say("Calminha") I can do this way to: if uo.getGlobal("Modobatalha") == "1" then UO.SetGlobal("Falando",UO.GetGlobal("Falando")+"p") else uo.say("Calminha") end if I kown! But i want to know that comand, some one here can tell me ? tks |
|
| Author: | Destruction [ 2006-02-16 16:44:54 ] |
| Post subject: | |
return - this command return value from frunction to function that calls the function, if function that calls the function not exists, then macro will stopped. e.g. Code: sub MySub() Sorry for my very clumsy English; |
|
| Author: | -=SaCi=- [ 2006-02-16 18:03:09 ] |
| Post subject: | |
tks Destruction was this that i wanted to know |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|