| View previous topic :: View next topic |
| Author |
Message |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Sat Jun 06, 2015 8:21 pm Post subject: Autoidentify users flags |
|
|
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  |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Jun 06, 2015 8:36 pm Post subject: |
|
|
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 |
|
 |
juanamores Master
Joined: 15 Mar 2015 Posts: 317
|
Posted: Sat Jun 06, 2015 9:19 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
|
|
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
|
|