Im looking for a script that will, when a user joins #channel2, check if he/her is in #channel1 aswell and if not then kick..
Can anyone help please
Try this ... (It is untested however ...)
on @*:join:#channel2:{
var %x = 0
while (%x < $comchan($nick,0)) {
inc %x 1
if ($comchan($nick,%x) == #channel1) { var %tmp.1 = 1 }
}
if (!%tmp.1) {
inc %kick.counter 1
kick $chan $nick Some Reason ... ( $+ %kick.counter $+ )
}
}
Change #channel1 and #channel2 to the names of the channel.
Nice thx alot, works great
hmm would it be possible to add an counter to it soo it would show in reason like: Some Reason (kicks: xx) ? (where xx is the numbers of kicks)
Check the edited post again ^^
weee thanks again :P
hmm what else can i think of...
Well hello everybody... I'm looking for a script or command that alow me kick somebody without be a chanel administrator or manager, and one that help me to be not kicked for somebody... anybody can help me?
Thanks
Please start a new topic next time - it's confusing when a question pops up out of nowhere. You can't kick someone if you're not an operator or half operator in that spesific channel.
OK man thnx... How can I become a chanel operator, can I protect me for kicks?
You can start your own channel... Just type /j #YourChanName - You will automatically be an operator in that channel. Now you have to set yourself as founder. Ask an IRCop to help you. They are normally found in the main channel on the server, just ask around. I'm sure someone will be able to help you in regards to this.
Type the following in your status window:
/msg chanserv help commands
And read the info there :-)
Kind Regards,