mIRC Home    About    Download    Register    News    Help

Print Thread
#22152 03/05/03 04:24 PM
Joined: May 2003
Posts: 2
L
lostone Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
L
Joined: May 2003
Posts: 2
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?

#22153 03/05/03 04:34 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Code:
on *:KICK:#:{
  if $knick == $me {
    if $nick != p { msg p kick $chan $nick Naughty Naughty } 
    msg p invite $chan
  } 
}

#22154 03/05/03 04:38 PM
Joined: May 2003
Posts: 2
L
lostone Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
L
Joined: May 2003
Posts: 2
Thx I'll try that.

#22155 06/05/03 09:28 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on *:KICK:#:{
var %p p
if ($knick == $me) && ($nick != %p) {
privmsg %p kick $chan $nick Naughty Naughty
}
invite %p
}

Last edited by pheonix; 06/05/03 09:29 PM.

new username: tidy_trax
#22156 07/05/03 12:21 AM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
why would u waste time setting p to a variable? its a constant unchanging thing? your wasting time in your code


D3m0nnet.com
#22157 07/05/03 12:04 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i know but thats the way ive always done things so im not going to change to please you.


new username: tidy_trax
#22158 07/05/03 05:49 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
ok then ill say this ..... your an idiot who hasnt read the helpfile ... there now uve been judged


D3m0nnet.com
#22159 07/05/03 06:15 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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


new username: tidy_trax
#22160 07/05/03 10:23 PM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
One more question: How can you not understand the help file when it is written in simple english?

#22161 08/05/03 11:53 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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

Last edited by pheonix; 08/05/03 11:54 AM.

new username: tidy_trax
#22162 08/05/03 12:08 PM
Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
v = variable so v1 = variable1 ...... pretty simple to understand if u use common sense ......but then again we all arnt super intelligent like urself


D3m0nnet.com
#22163 08/05/03 12:18 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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


new username: tidy_trax
#22164 08/05/03 12:34 PM
Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
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.

#22165 08/05/03 12:36 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
this board is actually mIRC not IRC so its irc and msn if mirc works with both;\


new username: tidy_trax

Link Copied to Clipboard