mIRC Home    About    Download    Register    News    Help

Print Thread
on join #65720 28/12/03 03:37 PM
Joined: Dec 2002
Posts: 477
Deep3D Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Dec 2002
Posts: 477
like, if a nick joins chan and there's no op notice nick - please part channel so the bots can cycle..

on 1:join:#:{
if channel has no op .notice $nick Please part channel $chan so the bot's can cycle!
}

Re: on join #65721 28/12/03 04:05 PM
Joined: Nov 2003
Posts: 227
H
Hitchhiker Offline
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
$nick(#,0,o) will be 0 if the channel has no ops,
so
if (!$nick(#,0,o)) { commands }
or
if ($nick(#,1,o) == $null) { commands }

your choice