mIRC Homepage
Posted By: piertiong Hop when channel is empty - 04/01/03 10:56 AM
How do I make a script that executes the /hop command when a channel is empty and I'm the only person there?

Thanks alot.
Posted By: Deep3D Re: Hop when channel is empty - 04/01/03 10:58 AM
Code:
  
on *:part:#: {
  if ($nick(#,0) = 2) && ($nick != $me) && ($me !isop $chan) {
    set %rejoin.topic $chan($chan).topic
    hop -cn #
    mode # +nt
    topic $chan %rejoin.topic
    unset %rejoin.topic
  }
}
Posted By: piertiong Re: Hop when channel is empty - 04/01/03 11:04 AM
thanks for the prompt reply man, appreciate that. shocked
Posted By: Deep3D Re: Hop when channel is empty - 04/01/03 11:15 AM
smirk np..
© mIRC Discussion Forums