Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ALIAS
- NAME:
- speedwalk
- PATTERN:
- ^[.](([0-9]*[neswud]+)+)\s*$
- CODE:
- -- allows you to write speedwalk strings starting with period
- -- eg .5seeen;;open door;;.ssen
- for match in rex.gmatch(matches[2],"([0-9]*[neswud])") do
- for i = 1, (rex.match(match,"[0-9]+") or 1) do
- send(rex.match(match,"[a-z]"),false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement