Очень прошу,
Posted: 2005-04-18 22:58:50
Помогите вставить в этот скрипт Спирит Спик и чтоб кушал рыбные котлетки.
sub BlacksmithyIM()
VAR Exit=0, LastTimer
while Exit<>1
UO.DeleteJournal()
LastTimer=UO.Timer()
UO.WaitMenu('Blacksmithing','Weapons','Weapons','Maces','Maces','mace') ;×òî êóåì
UO.UseType(0x1BEF) ;Èíãè àéðîíà
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You have failed")
wait(500)
wend
If UO.InJournal("You have failed") then
repeat
wait(100)
until UO.Timer()>=LastTimer+100 ;Âðåìÿ ñîçäàíèÿ äàãåðà
EndIf
UO.FindType('0x0f5c',-1,'backpack')
wait(500)
If UO.GetQuantity('finditem') then
UO.WaitTargetObject('finditem')
UO.UseObject(0x402b96af) ; Ôîðæ
Endif
UO.FindType('0x1BEF',-1,'backpack')
If UO.GetQuantity('finditem')<10 then
UO.FindType('0x1BEF','0x0000','0x4020d571') ;Cóíäóê ñ èíãàìè
wait(1000)
UO.Grab('1000','finditem')
Endif
wait(1000)
wend
end sub
sub BlacksmithyIM()
VAR Exit=0, LastTimer
while Exit<>1
UO.DeleteJournal()
LastTimer=UO.Timer()
UO.WaitMenu('Blacksmithing','Weapons','Weapons','Maces','Maces','mace') ;×òî êóåì
UO.UseType(0x1BEF) ;Èíãè àéðîíà
while NOT UO.InJournal("You put") AND NOT UO.InJournal("You have failed")
wait(500)
wend
If UO.InJournal("You have failed") then
repeat
wait(100)
until UO.Timer()>=LastTimer+100 ;Âðåìÿ ñîçäàíèÿ äàãåðà
EndIf
UO.FindType('0x0f5c',-1,'backpack')
wait(500)
If UO.GetQuantity('finditem') then
UO.WaitTargetObject('finditem')
UO.UseObject(0x402b96af) ; Ôîðæ
Endif
UO.FindType('0x1BEF',-1,'backpack')
If UO.GetQuantity('finditem')<10 then
UO.FindType('0x1BEF','0x0000','0x4020d571') ;Cóíäóê ñ èíãàìè
wait(1000)
UO.Grab('1000','finditem')
Endif
wait(1000)
wend
end sub