Как исправить скрипт на тейминг??
Posted: 2005-03-11 14:22:47
Я играю на шарде где теймить надо без посоха как сисправить этот скрипт подскажите
sub main()
var animal = "animal", staff="staff"
var ixx = 0 , t = 1
uo.addobject(animal)
wait(5000)
uo.addobject(staff)
wait(5000)
while not uo.dead()
uo.useobject(staff)
uo.waittargetobject(animal)
uo.deletejournal()
ixx = 0
t = 1
while ixx <= 200 and t == 1
if uo.injournal("You fail to tame the creature.") then
t = 0
end if
if uo.injournal("It seems to accept you as master.") or uo.injournal("animal is already tame.") then
uo.print("here")
uo.say("animal release")
t = 0
end if
ixx = ixx + 1
wait(500)
wend
wend
end sub
sub main()
var animal = "animal", staff="staff"
var ixx = 0 , t = 1
uo.addobject(animal)
wait(5000)
uo.addobject(staff)
wait(5000)
while not uo.dead()
uo.useobject(staff)
uo.waittargetobject(animal)
uo.deletejournal()
ixx = 0
t = 1
while ixx <= 200 and t == 1
if uo.injournal("You fail to tame the creature.") then
t = 0
end if
if uo.injournal("It seems to accept you as master.") or uo.injournal("animal is already tame.") then
uo.print("here")
uo.say("animal release")
t = 0
end if
ixx = ixx + 1
wait(500)
wend
wend
end sub