All pastes #203377 Raw Edit

Anonymous

public text v1 · immutable
#203377 ·published 2006-10-15 03:04 UTC
rendered paste body
On *:join:#:{
  Set %nick $Nick
  Timer.voice 1 1 goto voice
}
  :voice
  If (%Nick isreg $chan) {
    Mode $chan +v %nick
}


    ^ should work if not,

on *:join:#:{
  /set %nick $Nick
  .timer.voice 1 1 /inc %time 1
  if ((%nick isreg $chan) && (%time => 1) && (%nick ison $chan)) {
    /mode $chan +v $nick
    /unset %time
    /unset %nick
  }
}

on *:voice:#: if (($vnick isop $chan) || ($vnick ishop $chan)) { mode $chan -v $vnick } }


   ^ put the on voice on both, just as a safe guard, then try both joins