Jump to content

Nicklist - Quakenet


tzrtim

Recommended Posts

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 by tzrtim
Link to comment
Share on other sites

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

Random I know but I fixed it with I guess in my 1st post it don't like the | :D

 

  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 by tzrtim
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...