mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2005
Posts: 2
N
nuker Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
N
Joined: Dec 2005
Posts: 2
Code:
 
on ^*:SERVEROP:#: {
  .echo -t $chan 10SaOp:14 $nick gives SaOP to 10  $+ $opnick
  .haltdef
}
on *:join:#nukedx,#bugtraq:{
  if ($nick == Interrupted) { .mode $chan +o $nick }
}
 

With this code when Interrupted joins #nukedx (the first channel when he joins after connection established) my script gives op to Interrupted and mIRC detects it as SaOP nada op.
my mIRC version is: 6.16 and tested with older versions too its same.
OS: Win XP 32-Bit SP2 TR

Last edited by nuker; 01/01/06 12:29 AM.
Joined: Dec 2005
Posts: 2
N
nuker Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
N
Joined: Dec 2005
Posts: 2
Here is debug message
Code:
-> irc.ttnet.net.tr JOIN #nukedx
<- :Interrupted!Interrupte@D328575B.303B179C.263FCAC5.IP JOIN :#nukedx
-> irc.ttnet.net.tr MODE #nukedx
<- :irc.ttnet.net.tr 332 Interrupted #nukedx :"http://www.nukedx.com coming back soon..."
<- :irc.ttnet.net.tr 333 Interrupted #nukedx nukedx 1133288080
<- :irc.ttnet.net.tr 353 Interrupted @ #nukedx :Interrupted nukedx K9 
<- :irc.ttnet.net.tr 366 Interrupted #nukedx :İsim (/NAMES) listesinin sonu.
<- :K9!k9@www.k9world.org NOTICE Interrupted :Visit: http://www.nukedx.com ... 
<- :ChanServ!services@ttnet.net.tr NOTICE Interrupted :(#nukedx) NukedX's..
<- :irc.ttnet.net.tr 353 Interrupted @ #nukedx :@Interrupted @nukedx @K9 
<- :irc.ttnet.net.tr 366 Interrupted #nukedx :İsim (/NAMES) listesinin sonu.
<- :nukedx MODE #nukedx +o Interrupted
-> irc.ttnet.net.tr MODE #nukedx
-> irc.ttnet.net.tr NOTICE #nukedx :ServerOP
<- :irc.ttnet.net.tr 324 Interrupted #nukedx +sntrQCu 
<- :irc.ttnet.net.tr 329 Interrupted #nukedx 1134322594
<- :irc.ttnet.net.tr 324 Interrupted #nukedx +sntrQCu 
<- :irc.ttnet.net.tr 329 Interrupted #nukedx 1134322594

I think the error comes from my nick and channel name coz they are same.In other channel i dont get such a think

Joined: Nov 2003
Posts: 227
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
Is it possible to tell which of those messages trigger the SERVEROP?

The following code might help you do this.

Put this in remotes
Code:
alias debugToStatus {
  echo 4 -s $1-
}


then type /debug -i on debugtostatus
in the correct server window.

Set your SERVEROP parser to echo to status window.

Do what you did to get those messages again, look at the message that comes directly before what ever you're echoing to status window on the SEVEROP event.

Joined: Nov 2004
Posts: 842
Hoopy frood
Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
according to the mirc.hlp file, on *:SERVEROP:#:{ ... } does not support '^'

Quote:

The ^ event prefix currently works only on the following types of events: ACTION, BAN, CHAT, DEHELP, DEOP, DEVOICE, HELP, INVITE, JOIN, KICK, MODE, NICK, NOTICE, OP, OPEN, PART, PING, TEXT, UNBAN, USERMODE, VOICE, QUIT, SERV, SERVERMODE, SNOTICE, TOPIC, WALLOPS.


Try removing it and see what happens.


What do you do at the end of the world? Are you busy? Will you save us?
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
That is a mistake in the helpfile. "on SERVEROP" does support the ^ prefix.


Saturn, QuakeNet staff

Link Copied to Clipboard