Yoko

All sides of Injection
It is currently 2026-03-12 21:51:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2004-10-08 19:09:11 
Offline

Joined: 2004-09-14 15:42:30
Posts: 4
Подскажите где ошибка в скрипте
он должен брать из сундука хлопок переделывать его в нитки класть нитки в тот же сундук, снова брать хлопок и так пока хлопок в сундуке не кончиться...

sub HlopokToNitki()
if uo.count('0x0DF9') = 0
uo.moveitem('_0x0DF9',50,0x40D226D6)
else
uo.moveitem('_0x0FA0',0,0x40D226D6)
return 1
end if
while UO.count('0x0DF9') > 0
uo.waittargetobject('0x4127EB53')
uo.usetype('0x0DF9')
wait(3000)
wend
end sub


Top
   
PostPosted: 2004-10-08 19:45:20 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
tWos wrote:
Подскажите где ошибка в скрипте
он должен брать из сундука хлопок переделывать его в нитки класть нитки в тот же сундук, снова брать хлопок и так пока хлопок в сундуке не кончиться...

sub HlopokToNitki()
if uo.count('0x0DF9') = 0
uo.moveitem('_0x0DF9',50,0x40D226D6)
else
uo.moveitem('_0x0FA0',0,0x40D226D6)
return 1
end if
while UO.count('0x0DF9') > 0
uo.waittargetobject('0x4127EB53')
uo.usetype('0x0DF9')
wait(3000)
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 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