This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
l
loze
Post
by loze » Sun Jun 20, 2004 3:34 pm
i want my script to check if $nick is a user on my bot. with flag +g and then voice. anyone know how? i dont understand the [matchattr $nick +g]
doesent work.. anyone with a clue
spock
Master
Posts: 319 Joined: Thu Dec 12, 2002 8:40 pm
Post
by spock » Sun Jun 20, 2004 5:58 pm
Code: Select all
if { [validuser [nick2hand $nick]] && [matchattr [nick2hand $nick] g] } { yep } { nope }
photon?
KrzychuG
Master
Posts: 306 Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:
Post
by KrzychuG » Sun Jun 20, 2004 6:11 pm
It return 1 if $nick have +g flag, and 0 if not, and yes nick2hand is needed here
l
loze
Post
by loze » Mon Jun 21, 2004 11:11 am
thanks alot