Yoko

All sides of Injection
It is currently 2025-10-15 07:55:12

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2004-05-29 09:53:38 
Offline

Joined: 2004-05-07 14:44:57
Posts: 1
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


Top
   
 Post subject:
PostPosted: 2004-05-29 12:04:32 
Offline

Joined: 2004-04-06 12:13:49
Posts: 32
uo.SetEasyUO("mode","0")

makes global variables

uo.geteasyuo("mode") retrieves its content


Top
   
 Post subject:
PostPosted: 2004-05-29 14:12:49 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
uo.setglobal("varname","value")
uo.getglobal("varname")

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject:
PostPosted: 2004-05-31 19:20:18 
Offline

Joined: 2004-04-06 12:13:49
Posts: 32
O_o didnt really think about it ;) but your right of course


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited