Jump to content

Nicklist Problem


morph3us

Recommended Posts

hey i got a problem with my nicklist im trying to determine the diffrence between staff and owners but staff keep comming up with gold hammers.

 

here is the code

alias nicklisticon {
 if (%away. [ $+ [ $1 ] ] == $1) return 4
 elseif (level($1) == ignore) return 6
 elseif (' isin $1) return 1
 elseif ($1 isowner $active) && (%admin. [ $+ [ $1 ] ] == $1) return 1
 elseif ($1 isowner $active) && (%admin. [ $+ [ $1 ] ] != $1) return 2
 elseif ($1 isop $active) return 3
 elseif (m isin $active($active(1)).mode) && ($1 isvoice $active(1)) return $+
 elseif (m isin $active($active(1)).mode) && ($1 !isvoice $active(1)) return 5  
 else return $+
}

 

the %admin var is set right cause i have

 

%admin.Admin_Jon

%admin.CUSA_Bot

%admin.Freedom_Bot

 

any ideas anyone ???

Edited by morph3us
Link to comment
Share on other sites

alias nicklisticon {

if (%away. [ $+ [ $1 ] ] == $1) return 4

elseif (level($1) == ignore) return 6

elseif (' isin $1) return 1

elseif ($1 isowner $active) return 2

elseif ($1 isop $active) return 3

elseif (m isin $active($active(1)).mode) && ($1 isvoice $active(1)) return $+

elseif (m isin $active($active(1)).mode) && ($1 !isvoice $active(1)) return 5

else return $+

}

 

 

maybe blink.gif

Link to comment
Share on other sites

ok i got another problem

im in a room and mode +m is on and i teh nicknames still have their profile icons

 

here is my code

 

alias nicklisticon {
 if (@CUSA.Server.1x isin $ial($1).addr) return 1
 elseif ($1 isowner $active) return 2
 elseif ($1 isop $active) return 3
 elseif ($level($1) == male) return 7
 elseif ($level($1) == female) return 8
 elseif ($level($1) == java) return 10
 elseif ($level($1) == undisclosed) return $+
 elseif (m isin $chan($chan(1)).mode) && ($1 isvoice $chan(1)) return $+
 elseif (m isin $chan($chan(1)).mode) && ($1 !isvoice $chan(1)) return 5
}

Link to comment
Share on other sites

I allready told you one bit wont work

 

ircxpro has +M and +m so isin wont work

it needs to be isincs <-- case sensitive

 

or it will show wrong when room is +M

 

but i guess i am wrong cause you said i am

 

and you need to look at these 2 lines

 

elseif (m isin $chan($chan(1)).mode) && ($1 isvoice $chan(1)) return $+
elseif (m isin $chan($chan(1)).mode) && ($1 !isvoice $chan(1)) return 5

Link to comment
Share on other sites

I allready told you one bit wont work

 

ircxpro has +M and +m so isin wont work

it needs to be isincs <-- case sensitive

 

or it will show wrong when room is +M

 

but i guess i am wrong cause you said i am

 

and you need to look at these 2 lines

 

elseif (m isin $chan($chan(1)).mode) && ($1 isvoice $chan(1)) return $+
elseif (m isin $chan($chan(1)).mode) && ($1 !isvoice $chan(1)) return 5

that post was before i sne tya message and thanks for the tip i will look into it smile.gif thanks for ya help smile.gif even though u can be grumpy sometimes. cheers..

But im watching bigbrother atm tongue.gif

Edited by morph3us
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...