mIRC Home    About    Download    Register    News    Help

Print Thread
somthing like isowner and isadmin #104541 05/12/04 03:52 AM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
is there anyway i can make mIRC return a value if the nick is +q or +a if i do $owner($nick,$chan) for example, or $admin(bob,IRC)
and if bob is +a on the channel IRC it would return $true

Re: somthing like isowner and isadmin #104542 05/12/04 03:56 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Code:
alias owner { return $iif($nick($$2,$1,.),$true,$false) }
alias admin { return $iif($nick($$2,$1,!),$true,$false) }


New username: hixxy
Re: somthing like isowner and isadmin #104543 05/12/04 04:03 AM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
hm.. it seems to keep returning $false the owner is a ~ symbol and a admin/protect is a &
edit: i got it to work

Last edited by IR_n00b; 05/12/04 04:03 AM.