Advertisement
cnl_cnl_cnl

Untitled

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