Public paste
Undefined
By: lol | Date: Feb 4 2007 18:00 | Format: None | Expires: never | Size: 682 B | Hits: 717

  1. alias takeover {
  2.   if ($1) {
  3.     set %takenick $1 | kicker
  4.   }
  5.   set %takechan $chan | moder | masskick | topic $chan taked by the taker-crew
  6. }
  7.  
  8. alias kicker {
  9.   mode $chan -o+b %takenick $address(%takenick,2)
  10.   kick $chan %takenick $chan TAKED
  11. }
  12.  
  13. alias moder {
  14.   mode $chan +ikl test 1
  15. }
  16.  
  17. alias masskick {
  18.   var %i = 1
  19.   while (%i <= $nick($chan,0)) {
  20.     if ($nick($chan,%i) == $me) || ($nick($chan,%i) == Q) || ($nick($chan,%i) == L) {
  21.       inc %i | haltdef
  22.     }
  23.     kick $chan $nick($chan,%i) taked by the taker-crew
  24.     inc %i
  25.   }
  26. }
  27.  
  28.  
  29. on *:JOIN:%takechan:{
  30.   if ($nick isin %takenick) { kick $chan %takenick taked by the taker-crew }
  31. }
Latest pastes
2 hours ago
2 days ago
2 days ago
2 days ago
2 days ago