Ignore
Posted: 2009-06-02 10:52:41
Добрый день, помогите зделать чтобы при msg6
он игнорил Animal , чтото я копался но правельно зделать не получается.
он игнорил Animal , чтото я копался но правельно зделать не получается.
Code: Select all
if UO.InJournal(msg6) then
........
end if
Code: Select all
var msg1 = "It seems to accept you"
var msg2 = "You fail to tame the"
var msg3 = "Yoa are too far away"
var msg4 = "is already tame"
var msg5 = "You can't see the target"
var msg6 = "cannot be tamed"
UO.Print('Приручаем '+UO.GetName(Animal)+'...')
GotoXY(UO.GetX(Animal),UO.GetY(Animal),2)
DeleteJournal(msg1)
DeleteJournal(msg2)
DeleteJournal(msg3)
DeleteJournal(msg4)
DeleteJournal(msg5)
DeleteJournal(msg6)
While not UO.InJournal(msg1) and not UO.InJournal(msg4) and not UO.InJournal(msg5) and not UO.InJournal(msg6)
UO.WarMode(0)
UO.WaitTargetObject(Animal)
uo.usetype('0x13F8')
While not UO.InJournal(msg1) and not UO.InJournal(msg2) and not UO.InJournal(msg3) and not UO.InJournal(msg4) and not UO.InJournal(msg5)
wait(100)
wend
if UO.InJournal(msg2) or UO.InJournal(msg3) then
GotoXY(UO.GetX(Animal),UO.GetY(Animal),2)
endif