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.

searching XTRA info

Old posts that have not been replied to for several years.
Locked
s
simonbell
Halfop
Posts: 68
Joined: Mon Aug 05, 2002 8:07 pm
Location: Washington, England
Contact:

searching XTRA info

Post by simonbell »

Hi

Is it possible to search through the extra info in the userfile.

I want to make it so that when someone registers there handle on my bot using the command

/msg bot register handle pass email

a check is made to make sure that that email hasnt already been used.

When someone registers there handle, an extra field is added to there info called XTRA REGMAIL which permanently stores there email for security reasons. If i could somehow check the REGMAIL field of all users in the userfile i would be able to stop people registering more than 1 handle, which is what i want to do.

Is this possible? and if so, how?

thanks
Simon
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You would have to use a foreach on the list returned by "userlist".

Then using the getuser command, you can obtain the XTRA info.
Locked