Advertisement
cnl_cnl_cnl

Untitled

Jul 8th, 2023
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ALIAS
  2.  
  3. NAME:
  4. speedwalk
  5.  
  6. PATTERN:
  7. ^[.](([0-9]*[neswud]+)+)\s*$
  8.  
  9. CODE:
  10. -- allows you to write speedwalk strings starting with period
  11. -- eg .5seeen;;open door;;.ssen
  12.  
  13. for match in rex.gmatch(matches[2],"([0-9]*[neswud])") do
  14. for i = 1, (rex.match(match,"[0-9]+") or 1) do
  15. send(rex.match(match,"[a-z]"),false)
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement