Yoko

All sides of Injection
It is currently 2025-11-08 16:41:33

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2007-12-19 13:07:03 
Offline

Joined: 2007-06-11 22:57:49
Posts: 118
прет=() подправте пожалуйсто этот скрипт.
он делает щиты и выкидывает в мусорник.но вначале писал 'no wait time' щас пишет 'no menu opened' и так он не запустился=(
если не трудно помогите
Code:
sub Blacksmithing()
var hammer='0x13E3'
var ingots='0x1BEF'
var buckler='0x1B73'
var Trash='0x40022808'
var Sunduk='0x402F7A23'



 uo.UseObject(Sunduk)
 wait(1000)
 uo.UseObject(Trash)
 wait(1000)
 while not uo.Dead()
 if uo.Count(ingots)==0 || uo.Count(ingots)>20 then
 uo.FindType(ingots,'-1',Sunduk)
 if uo.FindCount() then
 uo.moveitem('finditem','250')
 wait(1000)
 end if
 end if
uo.DeleteJournal()
uo.WaitMenu('Blacksmithing','shields','shields','buckler')
uo.UseType('01BEF')
while not uo.InJournal('You put') and not uo.InJournal('You have failed')
wait(500)
wend
if uo.InJournal('put') then
uo.FindType(buckler,'-1','backpack')
if uo.FindCount() then
uo.moveitem('finditem','all',Trash)
wait(500)
end if
end if
wend
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: No registered users and 9 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited