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.

the .whois command

Old posts that have not been replied to for several years.
Locked
l
loze

the .whois command

Post by loze »

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
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

Code: Select all

if { [validuser [nick2hand $nick]] && [matchattr [nick2hand $nick] g] } { yep } { nope }
photon?
User avatar
KrzychuG
Master
Posts: 306
Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:

Post by KrzychuG »

It return 1 if $nick have +g flag, and 0 if not, and yes nick2hand is needed here ;)
l
loze

Post by loze »

thanks alot
Locked