Yoko

All sides of Injection
It is currently 2025-12-20 06:23:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: трабла
PostPosted: 2008-02-26 16:50:00 
Offline
User avatar

Joined: 2007-06-20 15:38:11
Posts: 53
сижу скрипт собираю на автокил тварей на скрипте и вот упёрся в тупик: как сделать чтоб если он ненашёл он включал domoi()
вроде же надпись Item found:0 инжект не читает.
пожалуйсто отпишите как можно быстрее я хочу к вечеру уже доделать скрипт



Code:
sub elemkill() 
start:
uo.findtype( '0x0038', '-1', 'ground' )
if uo.findcount() then
      UO.Warmode("1")
   uo.attack('finditem')
main()
          endif
wait(5000)
goto start
end sub


Top
   
 Post subject: Re: трабла
PostPosted: 2008-02-26 17:01:45 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Читаем уроки.

Code:
sub elemkill() 
start:
uo.findtype( '0x0038', '-1', 'ground' )
if uo.findcount() > 0 then
   UO.Warmode("1")
   uo.attack('finditem')
   main()
else
domoi()
endif
wait(5000)
goto start
end sub


Top
   
 Post subject:
PostPosted: 2008-02-26 17:41:00 
Offline
User avatar

Joined: 2007-06-20 15:38:11
Posts: 53
пасибо


Top
   
 Post subject:
PostPosted: 2008-02-26 17:44:22 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
CoS wrote:
пасибо


Да не за что )))


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