Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:HOTLINK:*RATSIGNAL*:#:{
- if ($hotlink(event) == sclick) {
- var %regexMatches $regex($hotline,/RATSIGNAL.+Case.+#(\d+).+PC[^A-Z]+([A-Z]+)[^–]+–[^C]+CMDR[^–]+–[^S]+System:[^"]+"([^"]+)"/)
- if (%regexMatches > 0) {
- ; remove this statement if you don't want to take Horizon-cases
- if ($regml(2) == HOR) {
- ; remove this call if you don't want to auto-switch modes on click
- /msg MechaSqueak[BOT] !mymode h4
- }
- ; remove this statement if you don't want to take Odyssey-cases
- if ($regml(2) == ODY) {
- ; remove this call if you don't want to auto-switch modes on click
- /msg MechaSqueak[BOT] !mymode o
- }
- else {
- //echo -ag * unknown game mode: $regml(2)!
- return
- }
- /clipboard $regml(3)
- }
- else {
- //echo -ag * not a pc case: %regexMatches
- }
- }
- return
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement