mIRC Homepage
Posted By: lostone on kick help - 03/05/03 04:24 PM
I have the following script.

on *:KICK:#: if $knick == $me /msg p kick $chan $nick Naughty Naughty | if $knick == $me /msg p invite $chan } { if ($nick == p) { halt } }

P is a channel service bot.

I have P access so all works fine except if they use P to kick me I try and kick P. I don't want that. If they use P I want to halt the script. Ideally it would halt after I was reinvted to the channl. Can anyone help a n00b?
Posted By: Nimue Re: on kick help - 03/05/03 04:34 PM
Code:
on *:KICK:#:{
  if $knick == $me {
    if $nick != p { msg p kick $chan $nick Naughty Naughty } 
    msg p invite $chan
  } 
}
Posted By: lostone Re: on kick help - 03/05/03 04:38 PM
Thx I'll try that.
Posted By: pheonix Re: on kick help - 06/05/03 09:28 PM
on *:KICK:#:{
var %p p
if ($knick == $me) && ($nick != %p) {
privmsg %p kick $chan $nick Naughty Naughty
}
invite %p
}
Posted By: _D3m0n_ Re: on kick help - 07/05/03 12:21 AM
why would u waste time setting p to a variable? its a constant unchanging thing? your wasting time in your code
Posted By: pheonix Re: on kick help - 07/05/03 12:04 PM
i know but thats the way ive always done things so im not going to change to please you.
Posted By: _D3m0n_ Re: on kick help - 07/05/03 05:49 PM
ok then ill say this ..... your an idiot who hasnt read the helpfile ... there now uve been judged
Posted By: pheonix Re: on kick help - 07/05/03 06:15 PM
i have read the help file and i dont understand it so obviously your going to do things the way youve learnt and also what does it matter to you if im wasting my time when i like doing it that way and also it does still work
Posted By: The_Game Re: on kick help - 07/05/03 10:23 PM
One more question: How can you not understand the help file when it is written in simple english?
Posted By: pheonix Re: on kick help - 08/05/03 11:53 AM
for example
iswm wildcard string v1 matches string v2

i dont think that is very well explained: e.g for newbies they wont even know what a wildcard is
Posted By: _D3m0n_ Re: on kick help - 08/05/03 12:08 PM
v = variable so v1 = variable1 ...... pretty simple to understand if u use common sense ......but then again we all arnt super intelligent like urself
Posted By: pheonix Re: on kick help - 08/05/03 12:18 PM
you say that im the ignorant 1 but i have said im willing to let all this drop and just post irc if u ask me politely instead of bein a nob about it
Posted By: MonoSex Re: on kick help - 08/05/03 12:34 PM
This board IS about IRC, you are supposed to post IRC things.
He doesn't have to ask you for anything.

Go post your MSN crap on MSN-related boards.
Posted By: pheonix Re: on kick help - 08/05/03 12:36 PM
this board is actually mIRC not IRC so its irc and msn if mirc works with both;\
© mIRC Discussion Forums