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?

Old posts that have not been replied to for several years.
Locked
B
Barron

Login?

Post by Barron »

how do you get someone to login against the userfile??
Then after that, how can you make commands only work for logged in users?
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

In DCC with your Bot, add users in this manner:

.+user <name> <address .... like *!zero@dialup-*.accdico.com.au>
.chattr <name> <flags ... like +o , +f , or +of-p> <channel>
.chpass <name> <password>

The bot will recongise them by their address

Your script will see their flags and execute the commands in the proc

read, follow, and sleep with your
tcl commands file and the information in your conf file.

I hope this helps :D
I once was an intelligent young man, now i am old and i can not remember who i was.
b
bobjuh
Master
Posts: 268
Joined: Wed Oct 03, 2001 8:00 pm
Location: Netherlands
Contact:

Re: Login?

Post by bobjuh »

Barron wrote:how do you get someone to login against the userfile??
Then after that, how can you make commands only work for logged in users?
What for commands do you mean ?
Dcc ? pub ? msg ?
B
Barron

Post by Barron »

pub, msg, etc.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

use cmd_auth.tcl with cmd_chan.tcl

basicaly you add a user with a pass and correct flags. the cmd_auth lets the user authenticate then it gives the user +Q flag to be able to use the commands of cmd_chan.tcl, when the user quits or parts the channel, the bot will deauthenticate him, sets him back to -Q.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

By default the eggdrop dosen't have an set of public commands, just some basic msg ones like: op, ban, voice etc. wich require a password and some acces to it. In order to have some channel commands or some extra msg ones you will need to get an special tcl scipt that will do the things you need. Check the TCL Archive and pickup an script that suits your needs.
Once the game is over, the king and the pawn go back in the same box.
Locked