Trying to make a trigger that will kill somebody who tries to forge an item in my area. Haven't had much success in my attempts.
Issue here:
1) The trigger activates when you type "Forge" with whatever else afterwards. Does not activate when you "forg" - I suspect it has something to do with the 5) Arguments. Dunno what though
2) "mkill" and "%mkill%" are not working by not killing me(the actor)
Code:
if (%cmd% == forge || forg ||)
if (%arg% == Exodus || Exodu || Exod || Exo || Ex || Topaz || Topa || Top || To || Gemstone || Gemston || Gemsto || Gemst || Gems || Gem || 62930 || Ge)
wait 1 s
%send% %actor% You try to tamper with the Topaz but it explodes violently infront of you!
%echoaround% %actor% %actor.name% tries to tamper with the Topaz but it explodes violently infront of %actor.himher%!
mkill %actor%
else
return 1
end
end
Is what I see when I type 'forge'