egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Autoidentify users flags

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Sat Jun 06, 2015 8:21 pm    Post subject: Autoidentify users flags Reply with quote

I need the bot self identification flags to certain users.
I have a TCL that greets users when they join a channel depending the user flag.
When I create user (listener VIP) of my radio, the bot gives the flags +cf.
I wish that when you create these users the bot assigned a different password for each, and then identify them when entering any of the channels where the bot is located, without having to manually identification.

I do not want the flag +cf users who have to type::
Quote:
/msg bot IDENT passw

or
Quote:
/msg bot PASS passw

The bot greets depending the user flag, but the bot not greets if the user not identify.
Many do not understand commands....
_________________
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks Smile
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sat Jun 06, 2015 8:36 pm    Post subject: Reply with quote

Examine one user's entry in your bot, with:
.whois <handle>

and note the HOSTS line(s).

If you remove them, and add one back in this format:
nick!*@*

then that is what the bot will use to identify that user - just the nick.

This is very insecure, as any user can probably spoof another user's nick.
However, that is basically what (I think) you are asking for.
...something that happens automatically, with no password required from the user.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Sat Jun 06, 2015 9:19 pm    Post subject: Reply with quote

willyw wrote:
Examine one user's entry in your bot, with:
.whois <handle>

and note the HOSTS line(s).

If you remove them, and add one back in this format:
nick!*@*

then that is what the bot will use to identify that user - just the nick.

This is very insecure, as any user can probably spoof another user's nick.
However, that is basically what (I think) you are asking for.
...something that happens automatically, with no password required from the user.

The users are already created, and have the +c flag, but to greet them must be identified with /msg bot IDENT passw or /msg bot PASS pasw.

Code:
bind join c * join:fiel
proc join:fiel {nick host hand chan} {
   global botradio nombreradio sloganradio
   set fiel [encoding convertfrom utf-8 "$nombreradio $sloganradio  It gives you a warm welcome to its True Listener \0034 $nick \0031 in \0032 $chan."]
   putmsg $chan "$fiel"
}

_________________
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber