join counter
Posted by TyGuy
Monday, July 03, 2006
Description: Counts the joins.

On *:Join:#cs.killer: {
  .inc %x 1
  .msg $chan [^K]0,1 You Are The %x Person to Join since 03/06/2006!!!
}
i guess thats 1 way
Posted by Technique
Wednesday, July 19, 2006 08:43pm PDT
Here is the way I have mine.


on *:LOAD:{
  set %status 0
  echo -a Ghetto Join Counter script created by Technique
  halt
}

on *:TEXT:*:?:{
  if ($nick isop #) {
    if ($1 == .activate) {
      if (%status == 0) {
        set %status 1
        msg $nick Success: Join Counter has been activated
      }
      else {
        msg $nick Error: The join counter is already active.
        halt
      }
    }
    if ($1 == .deactivate) {
      if (%status == 1) {
        set %status 0
        msg $nick Success: Join Counter has been deactivated
        halt
      }
      else {
        msg $nick Error: The join counter is not active.
        halt
      }
    }
  }
}

on *:JOIN:#:{
  if (%status == 1) {
    inc %counter 1
    notice $nick You are the %counter to join $chan $+ .
  }
  else {
    halt
  }
}
Subject line
Posted by Tony
Tuesday, May 29, 2007 03:07pm PDT
i think  Technique won!
Subject line
Posted by Tony
Tuesday, May 29, 2007 03:07pm PDT
i think  Technique won!
re:
Posted by alasmilKy
Monday, July 25, 2011 07:03pm PDT
really?
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world