Guest User

Untitled

a guest
Jan 2nd, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ^.* tells the group \(in .*\): "untrap\s?(\w*)"$
  2. ^You tell your group \(in .*\): "untrap\s?(\w*)"$
  3.  
  4. if currenthp > maxhp * .5 then
  5. if matches[2] ~= nil then send("untrap " .. matches[2])
  6. elseif matches[2] == nil then send("untrap chest") end
  7. else
  8. send("gt Health too low- aborting")
  9. end
Advertisement
Add Comment
Please, Sign In to add comment