mIRC Home    About    Download    Register    News    Help

Print Thread
#176989 17/05/07 11:05 PM
Joined: Apr 2007
Posts: 228
M
Mpot Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Apr 2007
Posts: 228
Alright. I just need a quick autovoice script for my bot. If someone joins a certain channel, and the bot is opped on that channel, I want it to auto-voice them. Anyone who joins gets voiced. Thanks

Mpot #176991 17/05/07 11:48 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
on @*:JOIN:#: {
if ($chan == #channel) { mode +v # $nick }
elseif ($chan == #channel 2) { mode +v # $nick }
elseif ($chan == #channel 3) { mode +v # $nick }
}


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
Code:
on @*:JOIN:#chan1,#chan2,#chan3: {
  mode # +v $nick
}

RoCk #177097 19/05/07 08:45 PM
Joined: Apr 2007
Posts: 228
M
Mpot Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Apr 2007
Posts: 228
Thanks much!


Link Copied to Clipboard