Yoko http://forum.yoko.com.ua/ |
|
global variable (or somthing like that) http://forum.yoko.com.ua/viewtopic.php?f=20&t=461 |
Page 1 of 1 |
Author: | bink [ 2004-05-29 09:53:38 ] |
Post subject: | global variable (or somthing like that) |
i try to write some script working like that: ; ------------------------------------ var mode = 0 sub start() mode = 1 while mode <> 0 uo.bandageself() uo.wait(2000) wend end sub sub stop() mode = 0 end sub ; ------------------------------------ but that dont work ![]() when i set mode = 0 in stop function that not change it in start function thx for any adwise |
Author: | WeedDevil [ 2004-05-29 12:04:32 ] |
Post subject: | |
uo.SetEasyUO("mode","0") makes global variables uo.geteasyuo("mode") retrieves its content |
Author: | Lord Ruslan Nightmare [ 2004-05-29 14:12:49 ] |
Post subject: | |
uo.setglobal("varname","value") uo.getglobal("varname") |
Author: | WeedDevil [ 2004-05-31 19:20:18 ] |
Post subject: | |
O_o didnt really think about it ![]() |
Page 1 of 1 | All times are UTC+02:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |