I have this script and I want it to be with command and not by tile
example! dungeon
killing all will give you a teleport to the chest
Actions
-- simple reward script, using actionid and the global table.
function onUse(cid, item, fromPosition, itemEx, toPosition)
local action_ID =...