Im looking for smt that help me avoid pk
auto(200)
if $trapped then
setsetting('Targetting/Enabled', 'yes')
end
auto(200)
if $pattacker.id ~= 0 then
setsetting('Targetting/Enabled', 'no')
gotolabel('DoDepo....')
end
He must go to label depo and set targetting off when atacked by a player...
but when he got trapped by a mob and player he must to settargetting back 'on' to make road to run away...
And i have a question if he go to label ('DoDepo...') and go to next wpt(node) by still atacked from the palyer he would go futher or go back to the label ??
(i have this in scripter in cave)
pls HELP ; D