Yoko

All sides of Injection
It is currently 2025-12-03 14:39:10

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2009-10-07 23:23:03 
Offline

Joined: 2009-10-07 23:01:41
Posts: 1
не могу доделать чтоб он брал итемил выкидывал и опять повторял всё с начала
Code:
sub Item()
VAR Item="0x1F03"
VAR Sunduk="0x4AD5A75F"
uo.set("distance","0")
hungry()
   uo.exec("waittargetground 0x1F03;grab 1")
wait(100)

While UO.Count(Item)
UO.FindType(Item,-1,'my')
wait(100)
If UO.FindCount() Then
Repeat
UO.DeleteJournal()
UO.WaitTargetObject('finditem')
UO.Useskill('Item Identification')
wait(1000)
Until UO.InJournal('This is a normal item')
UO.MoveItem('finditem',1,Sunduk)
Endif
Wend
end sub

sub hungry()
var i
UO.ServerPrint(".hungry")
Wait(500)
i=UO.LastMessage()
If i=="You aren't hungry at all" Then
UO.Exec("usetype '0x097B'")
EndIf
end sub

заранее огромное спасибо!!


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 4 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