mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 33
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 33
there are a lot of servers with [voice] [halfop] and [op]
bot some have 1 more [admin]

how do i put that in an trigger like:
if ( $me isop $chan) { ....}
if ( $me isa $chan) { ....} ??
--> * /if: 'isa' unknown operator (line 150, alias5.ini)
if ( $me isadmin $chan) { ....} ??
-->* /if: 'isadmin' unknown operator (line 150, alias5.ini)
so what is then the operator?????


lemme know thx


Joined: Jan 2003
Posts: 108
H
Vogon poet
Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
hrmm are you looking for the aop operator, or the hop, or neither i dont understand what you want?

Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
i dont believe mirc supports these new protocals ... i dont think there is even an $isadmin variable preset or $isa variable for that matter ..... thats why ur seeing this error message ....... ive heard of ppl attempting to code the variable uir looking for into thier mircs but i myself dont knwo how that would be done


D3m0nnet.com
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Code:

if $left($nick(#,$me).pnick,1) == . { do stuff }


(assuming admin nicks are preceded by a single dot)

Joined: Jan 2003
Posts: 237
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Jan 2003
Posts: 237
that be a nice thing to add into the new version of mirc



;Check for Life

if (%life == $null) {
goto getlife
}
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Or
Code:
if $nick(#,$me,.) { do stuff }
smile


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
The shorter, the better grin hi btw smile


Link Copied to Clipboard