tzrtim Posted April 17, 2010 Report Share Posted April 17, 2010 (edited) alias nickicon { if (inf|* isin $1) return 1 if ($left($nick($active,$1).pnick,1) == @) return 2 if ($left($nick($active,$1).pnick,1) == +) return 3 else return 4 } did -i $dname 1,2 1 seticon normal 0, $+ $iconsnl( $+ staff $+ ) did -i $dname 1,2 1 seticon normal 0, $+ $iconsnl( $+ owner $+ ) did -i $dname 1,2 1 seticon normal 0, $+ $iconsnl( $+ voice $+ ) did -i $dname 1,2 1 seticon normal 0, $+ $iconsnl( $+ blank $+ ) This works fine with Quakenet Server, but how could I get it so if ppl had inf| in there name they would have a different icon? Edited April 17, 2010 by tzrtim Link to comment Share on other sites More sharing options...
Warrior124 Posted April 17, 2010 Report Share Posted April 17, 2010 if (*inf $+ $chr(124) $+ * iswm $nick($active,$1)) return 5 Link to comment Share on other sites More sharing options...
tzrtim Posted April 17, 2010 Author Report Share Posted April 17, 2010 Thank you for the very fast reply! Link to comment Share on other sites More sharing options...
Warrior124 Posted April 17, 2010 Report Share Posted April 17, 2010 NP. I haven't tested it, but please let me know if it works. Link to comment Share on other sites More sharing options...
tzrtim Posted April 17, 2010 Author Report Share Posted April 17, 2010 hmm does not seem to change the icon they still have the icon for @ Link to comment Share on other sites More sharing options...
Pablo Posted April 17, 2010 Report Share Posted April 17, 2010 elseif on the remainder of your if statements... apparently one if resetting it after it sets inf. Warrior's code looks good to me. elseif ($left($nick($active,$1).pnick,1) == @) return 2 elseif ($left($nick($active,$1).pnick,1) == +) return 3 Link to comment Share on other sites More sharing options...
tzrtim Posted April 17, 2010 Author Report Share Posted April 17, 2010 maybe because the name is inf|Timmy it needs a ? but still does not show but shows the @ fine and v Link to comment Share on other sites More sharing options...
Pablo Posted April 17, 2010 Report Share Posted April 17, 2010 I just noticed Warrior has Return 5. I think it should be Return 1. 1 Should be for the INF icon. Link to comment Share on other sites More sharing options...
tzrtim Posted April 17, 2010 Author Report Share Posted April 17, 2010 Yeah, I did change it to Return 1 when i noticed that Link to comment Share on other sites More sharing options...
tzrtim Posted April 17, 2010 Author Report Share Posted April 17, 2010 (edited) Random I know but I fixed it with I guess in my 1st post it don't like the | if (Inf isin $1) return 1 Now to try make it work for more then one room, If I go into another it undocks it lol. Am sure there was another post from Haggis with the information? Edited April 17, 2010 by tzrtim Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now