Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias channelcheck {
- if ($1 == $null) { /echo -at *** Invalid Command. Format: /channelcheck on|off. | halt }
- if ($1 == on) { /enable #channelcheck | /echo -at *** Channel Check now set to ON. | halt }
- if ($1 == off) { /disable #channelcheck | /echo -at *** Channel Check now set to OFF. | halt }
- }
- #channelcheck on
- on !*:JOIN:#channel: {
- if ($nick != SomeNickname) {
- %channelcheck = on
- %channelcheckchan = $chan
- whois $nick
- }
- }
- raw 319:*:if (%channelcheck) { .echo -t %channelcheckchan 4* $2 is on 4 * * *8 $3- 4* * * | unset %channelcheck | halt }
- raw 311:*:if (%channelcheck) { halt }
- raw 312:*:if (%channelcheck) { halt }
- raw 313:*:if (%channelcheck) { halt }
- raw 317:*:if (%channelcheck) { halt }
- raw 318:*:if (%channelcheck) { halt }
- raw 310:*:if (%channelcheck) { halt }
- raw 301:*:if (%channelcheck) { halt }
- #channelcheck end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement