Can someone please help with an script?
I need a script which counts the people in a channel. It is for a bot.
If the bot is the only one in the channel, it parts the channel.
I guess it needs to be putted in the bind part.
Can someone write something for me?
I allready found something with users:
Code: Select all
foreach user $nicklist {
if {([isop $user $channel])} {
lappend oplist $user
} elseif {([isvoice $user $channel])} {
lappend voicelist $user
} else {
lappend userlist $user
}
}