Hanryu

pirp.cmd

May 31st, 2023 (edited)
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. # Bestow pirps on a list of PC's
  2. #
  3. # Usage:
  4. # .pirp (points-optional) Person1 Person2 Person3 ...
  5. # default is 1
  6. #
  7. # By Hanryu
  8. # Please report any bugs to #Hanryu0052 (discord) or [email protected]
  9. # This script may be reused in whole or in part as long as credit is given
  10. #
  11.  
  12. var points 1
  13. if matchre("%1", (\d+)) then {
  14. var points $1
  15. shift
  16. }
  17.  
  18. pirp:
  19. matchre pirp \.\.\.wait|^Sorry,
  20. matchre next I could not find who you were referring to\.|You really should save those points to bestow on someone else\.|You just bestowed|You have already given
  21. put rpa bestow %1 %points
  22. matchwait 3
  23.  
  24. next:
  25. shift
  26. if_1 then goto pirp
  27.  
  28. end:
  29. done:
  30. put #parse ** PIRP DONE **
  31. exit
  32.  
Advertisement
Add Comment
Please, Sign In to add comment