Code: Select all
sub Traped()
Uo.DeleteJournal()
REPEAT
If Uo.InJournal('You are frozen and can not move') Then
uo.msg('.Usetraped')
Uo.DeleteJournal()
Else
Wait(100)
EndIf
Until Uo.Dead()
end sub
sub Stamina()
Uo.DeleteJournal()
REPEAT
If Uo.InJournal('You are too fatigued to move') Then
uo.msg('.drink refresh')
Uo.DeleteJournal()
Else
Wait(100)
EndIf
Until Uo.Dead()
end sub
Сами скрипты работают, но частенько крэшат с ошибкой
Unhandled exception in parser.
В чём дело?