All pastes #804688 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-03 18:04 UTC
rendered paste body
on *:text:!set *:#:{
  if ($2 == gratz) && ($3 == on) && ($address($nick,4) == $address($me,4)) {
    set %grats on 
    msg # [Grats is now Activated] 
  }
  elseif (%grats == on) {
    msg # [Grats is already Activated] 
  }
  if ($2 == gratz) && ($3 == off) && ($address($nick,4) == $address($me,4)) {
    set %grats off 
    msg # [Grats is now Desactivated] 
  }
  elseif (%grats == off) {
    msg # [Grats is already Desactivated] 
  }
}