mIRC Home    About    Download    Register    News    Help

Print Thread
#4830 04/01/03 10:56 AM
Joined: Jan 2003
Posts: 6
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jan 2003
Posts: 6
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.

#4831 04/01/03 10:58 AM
Joined: Dec 2002
Posts: 483
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
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
  }
}

#4832 04/01/03 11:04 AM
Joined: Jan 2003
Posts: 6
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jan 2003
Posts: 6
thanks for the prompt reply man, appreciate that. shocked

#4833 04/01/03 11:15 AM
Joined: Dec 2002
Posts: 483
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
smirk np..


Link Copied to Clipboard