mIRC Home    About    Download    Register    News    Help

Print Thread
#158304 03/09/06 10:46 AM
Joined: May 2006
Posts: 15
L
liftman Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: May 2006
Posts: 15
hi to all!

is possible to intercept the MODE +q ( and MODE -q) like this?:

on 1:OP:#: {
if ( $opnick !== $me ) { halt }
msg $chan wow! for me a @ smile
}

if possible, how?
tnx

#158305 03/09/06 10:53 AM
Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
Code:
on *:owner:#:{
  if ($opnick == $me) { msg $chan Wow! For me a ~ :) }
}
on *:deowner:#:{
  if ($opnick == $me) { msg $chan *cries* }
}

#158306 03/09/06 10:57 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
Code:
 on *:rawmode:$chan:{
if $1 == +q && $me isin $2- {
.msg $chan Thanks for the Q $nick
}
elseif $1 == -q && $me isin $2- {
.msg $chan :( $nick Why'd you remove my Q?
}
}
 

#158307 03/09/06 01:38 PM
Joined: May 2006
Posts: 15
L
liftman Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: May 2006
Posts: 15
great! it works! smile
tnx a lot

#158308 03/09/06 01:39 PM
Joined: May 2006
Posts: 15
L
liftman Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: May 2006
Posts: 15
tnx you too! your code works fine.
best regards


Link Copied to Clipboard