Public paste
Undefined
By: biggie | Date: Jan 10 2007 15:36 | Format: None | Expires: never | Size: 580 B | Hits: 717

  1. alias comcheck {
  2.   if ($1) {
  3.     echo -a Checking missing users at #WH.CREW-
  4.     var %comcheck.chan = $1
  5.     var %comcheck = 1
  6.     while (%comcheck <= $nick(%comcheck.chan,0,o)) {
  7.       if ($nick(%comcheck.chan,%comcheck,o) !ison #wh.crew) {
  8.         echo -a $nick(%comcheck.chan,%comcheck,o) is not on our Warenhuis crew (#wh.crew) channel!
  9.         inc %comcheck
  10.       }
  11.       else {
  12.         inc %comcheck
  13.       }
  14.     }
  15.     echo -a End checking missing users at #WH.CREW-
  16.   }
  17.   else { echo -a Error, you need to type a channel what you want to check }
  18. }
  19.  
Latest pastes
14 hours ago
16 hours ago
16 hours ago
1 days ago
1 days ago