SHOW:
|
|
- or go back to the newest paste.
| 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 |
| 5 | + | |
| 6 | - | if ($regml(2) == HOR) {
|
| 6 | + | |
| 7 | - | ; remove this call if you don't want to auto-switch modes on click |
| 7 | + | |
| 8 | - | /msg MechaSqueak[BOT] !mymode h4 |
| 8 | + | |
| 9 | return | |
| 10 | - | ; remove this statement if you don't want to take Odyssey-cases |
| 10 | + | |
| 11 | /clipboard $regml(3) | |
| 12 | - | ; remove this call if you don't want to auto-switch modes on click |
| 12 | + | |
| 13 | - | /msg MechaSqueak[BOT] !mymode o |
| 13 | + | |
| 14 | //echo -ag * not a pc case: %regexMatches | |
| 15 | } | |
| 16 | } | |
| 17 | return | |
| 18 | } | |
| 19 |