tglogo.png
0 LIKES

Snippet


Is Mode

In Category General IRC Posted by Jess On 02/10/11
Tags: Mode Themes Nicklist 

This little alias is great for getting the right prefix of a user mode depending on the server. I use it for my theme, nicklist menu, and aop.
;Prams  Channel Nick Mode ie( $ismode(#,$nick,q) )
alias ismode return $iif($nick($1,$2,$mid($prefix,$poscs($nickmode,$3),1)),$true,$false)


Comments 11

Fanfare - Monday, 28 February, 2011
xYes, I already know that. I was just showing that as an alternative for some networks.
Jess - Saturday, 19 February, 2011
On certian servers that works great Fanfare how ever on others it will not work and you will need to use either Travis's routine that he has shared or something like what I posted... its ment for multi server use
Fanfare - Friday, 18 February, 2011
Usually you can use the isowner operator for q
Jess - Sunday, 13 February, 2011
as it gets the info from the raw so if server A owner is . and server B is ~ then the same for the other prefix symbols. tho your way would work that just adds line after line and if you join a server that has anew prefix you have to add it as well
Pablo - Saturday, 12 February, 2011
a is actually a feature built into mIRC."a = all nicks" .. not a bug

Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand