Yoko

All sides of Injection
It is currently 2025-11-07 00:27:54

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2008-01-19 23:19:03 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
как сделать что етот скрипт работал постоянно??..т.е. был в списке включенных скриптов...

sub palka()
var seno = '0x03B4' #Ñþäà òèï ñåíà
uo.set('finddistance','3')
uo.findtype(seno,'-1','ground')
if uo.findcount() then
uo.moveitem('finditem','-1','backpack')
else
uo.print ('Net Sena')
end if
end sub

поправьте плз...


Top
   
PostPosted: 2008-01-20 08:56:07 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Sp wrote:
как сделать что етот скрипт работал постоянно??..т.е. был в списке включенных скриптов...



Code:
sub palka() 
var seno = '0x03B4' #Ñþäà òèï ñåíà
uo.set('finddistance','3')
while not UO.Dead()
uo.findtype(seno,'-1','ground')
if uo.findcount() then
  uo.moveitem('finditem','-1','backpack')
else
    wait(100)
   #uo.print ('Net Sena')
end if
wend
end sub


Вместо принта поставил вейт, чтоб не засорять журнал и память, меньше крашей.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 6 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