Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pattern: ^(\w+) has (entered|left) the area\.$ (make sure the dropbox thing to the right says "perl regex")
- script:
- if matches[3] == "entered" then
- send("pt " ..matches[2].. "IN!")
- elseif matches[3] == "left" then
- send("pt " ..matches[2].. "OUT!")
- end
Add Comment
Please, Sign In to add comment