Advertisement
cnl_cnl_cnl

Untitled

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