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.

Login/logout system

Help for those learning Tcl or writing their own scripts.
Post Reply
a
alfredas
Voice
Posts: 1
Joined: Thu Jan 17, 2013 7:30 am

Login/logout system

Post by alfredas »

Hi, where can I found any information about login/logout system for public users? I need something like this:
user joins channel, sends message to bot (for example: /msg BotName login UserName Password) and if username and password is correct user gets extra rights. I will use mysql.
What about logout? When user should be disconnected, when he leaves the channel? Is it safe enough?
I couldn't found any scripts like this, maybe you guys know where I can get one as an example (no matter or it's with mysql or with .txt files).
The most important part for me is when and how to logout user, and how to make it safe? Thank you!
w
willyw
Revered One
Posts: 1209
Joined: Thu Jan 15, 2009 12:55 am

Re: Login/logout system

Post by willyw »

alfredas wrote:Hi, where can I found any information about login/logout system for public users? I need something like this:
user joins channel, sends message to bot (for example: /msg BotName login UserName Password) and if username and password is correct user gets extra rights.
This is built into Eggdrop.

http://www.egghelp.org/commands/irc.htm#msg_addhost
and down the page from there.

http://www.egghelp.org/commands/index.htm
for all commands.

http://www.egghelp.org/commands/core.htm#whois
for a list of flags.
I will use mysql.
What about logout? When user should be disconnected, when he leaves the channel? Is it safe enough?
I couldn't found any scripts like this, maybe you guys know where I can get one as an example (no matter or it's with mysql or with .txt files).
The most important part for me is when and how to logout user, and how to make it safe? Thank you!
Eggdrop "knows" users by their hostmask.
Post Reply