Advertisement
L00Cyph3r

AdiIRC FuelRats System-name copy

Nov 24th, 2024 (edited)
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | Source Code | 0 0
  1. on *:HOTLINK:*RATSIGNAL*:#:{
  2. if ($hotlink(event) == sclick) {
  3. var %regexMatches $regex($hotline,/RATSIGNAL.+Case.+#(\d+).+PC[^A-Z]+([A-Z]+)[^–]+–[^C]+CMDR[^–]+–[^S]+System:[^"]+"([^"]+)"/)
  4. if (%regexMatches > 0) {
  5. ; remove this statement if you don't want to take Horizon-cases
  6. if ($regml(2) == HOR) {
  7. ; remove this call if you don't want to auto-switch modes on click
  8. /msg MechaSqueak[BOT] !mymode h4
  9. }
  10. ; remove this statement if you don't want to take Odyssey-cases
  11. if ($regml(2) == ODY) {
  12. ; remove this call if you don't want to auto-switch modes on click
  13. /msg MechaSqueak[BOT] !mymode o
  14. }
  15. else {
  16. //echo -ag * unknown game mode: $regml(2)!
  17. return
  18. }
  19. /clipboard $regml(3)
  20. }
  21. else {
  22. //echo -ag * not a pc case: %regexMatches
  23. }
  24. }
  25. return
  26. }
  27.  
Tags: fuelrats
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement