mIRC Home    About    Download    Register    News    Help

Print Thread
#77416 31/03/04 11:09 PM
Joined: Mar 2004
Posts: 175
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2004
Posts: 175
As you may know, some servers have a "super-op" rank as known as "protect". This Super-op thank you scriptt won't work. Any help?
Code:
On *:MODE:#: {
  If ($2 == +a) && ($3 == $Me) { msg $chan 12Thanks for the & $nick $+ ! (SquishyScript) }
}
 


- Relinsquish
#77417 31/03/04 11:35 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
should be
Code:
On *:MODE:#: {  If ( [color:red]$1[/color] == +a) && ( [color:red]$2[/color] == $me) { msg $chan 12Thanks for the & $nick $+ ! (SquishyScript) }}  

the channel isnt $1 its $chan i beleive, havent tested but the help file..
Format: on <level>:MODE:<#[,#]>:<commands>
Example: on 1:MODE:#mIRC:/notice $me $nick changed $chan mode to $1-


billythekid
#77418 01/04/04 12:00 AM
Joined: Mar 2004
Posts: 175
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2004
Posts: 175
never mind, sorry to waste your time. I read this at the bottom of the help file:
Note: These events only trigger on channel mode changes not user mode changes such as ops, bans, etc.


- Relinsquish
#77419 01/04/04 12:08 AM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
ok well in that case ignore everything i said! lol


billythekid
#77420 01/04/04 12:13 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
On !*:owner:#: if $opnick == $me { msg # 12Thanks for the & $nick $+ ! (SquishyScript) }

Try this too.

#77421 01/04/04 03:22 AM
Joined: Mar 2004
Posts: 175
Vogon poet
OP Offline
Vogon poet
Joined: Mar 2004
Posts: 175
thx all but i figured it out smile heres my end result. tested it over and over and IT WORKS!
Code:
on *:rawmode:*: {
  if ($me isin $2) &amp;&amp; (+ isin $1) &amp;&amp; (q isin $1) {
    /inc %Founder
    /msg $chan 12Thanks for the ~ $nick $+ ! I've been Foundered %Founder times $+ ! (SquishyScript)
  }
  if ($me isin $2) &amp;&amp; (+ isin $1) &amp;&amp; (a isin $1) {
    /inc %Sop
    /msg $chan 12Thanks for the &amp; $nick $+ ! I've been Super-Opped %Sop times $+ ! (SquishyScript)
  }
}
 


- Relinsquish

Link Copied to Clipboard