Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^.* tells the group \(in .*\): "untrap\s?(\w*)"$
- ^You tell your group \(in .*\): "untrap\s?(\w*)"$
- if currenthp > maxhp * .5 then
- if matches[2] ~= nil then send("untrap " .. matches[2])
- elseif matches[2] == nil then send("untrap chest") end
- else
- send("gt Health too low- aborting")
- end
Advertisement
Add Comment
Please, Sign In to add comment