Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alias channelcheck {
  2. if ($1 == $null) { /echo -at *** Invalid Command. Format: /channelcheck on|off. | halt }
  3. if ($1 == on) { /enable #channelcheck | /echo -at *** Channel Check now set to ON. | halt }
  4. if ($1 == off) { /disable #channelcheck | /echo -at *** Channel Check now set to OFF. | halt }
  5. }
  6.  
  7. #channelcheck on
  8. on !*:JOIN:#channel: {
  9. if ($nick != SomeNickname) {
  10. %channelcheck = on
  11. %channelcheckchan = $chan
  12. whois $nick
  13. }
  14. }
  15. raw 319:*:if (%channelcheck) { .echo -t %channelcheckchan 4* $2 is on 4 * * *8 $3- 4* * * | unset %channelcheck | halt }
  16. raw 311:*:if (%channelcheck) { halt }
  17. raw 312:*:if (%channelcheck) { halt }
  18. raw 313:*:if (%channelcheck) { halt }
  19. raw 317:*:if (%channelcheck) { halt }
  20. raw 318:*:if (%channelcheck) { halt }
  21. raw 310:*:if (%channelcheck) { halt }
  22. raw 301:*:if (%channelcheck) { halt }
  23. #channelcheck end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement