hi
I read manual about matchattr $nick flags $chan
but it don't says how can i use it ... i mean what it will return and how i can use it in if/else thing ....
please help
returns 0 for false, and 1 for true. (as it tells you in very plain text in the manual)
matchattr <handle> <flags> [channel]
returns: "1" if the specified user has the matching flags.
ie if {[matchattr $nick o]} {do something for a global op}
if {![matchattr $nick v|v $chan]} {do something for ppl who dont have a +v for that chan or global +v}
<font size=-1>[ This Message was edited by: Petersen on 2002-04-17 20:52 ]</font>