Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You bid your Baalzadeen to seek out life presences nearby. : exact match
- sensedTable = {}
- baalzsensed = true
- ^Your Baalzadeen senses (\w+) at (.*), on a health of (\w+) and a mana of (\w+)\. : perl regex
- table.insert(sensedTable, matches[2])
- return isPrompt() : Lua function
- if baalzsensed then
- if sensedTable[1] ~= nil then
- send("pt My Baalzadeen senses " .. table.concat(sensedTable, ", "))
- else
- send("pt My Baalzadeen senses no one in the area")
- end
- baalzsensed = false
- end
Advertisement
Add Comment
Please, Sign In to add comment