-
-
Notifications
You must be signed in to change notification settings - Fork 16
Real Names
Most people like to be referred to by their real names on IRC - at least some of the time. Other people have improbable nicks, or nicknames they prefer to be called by. bMotion can do that too.
The two requirements for you the bMotion Owner are:
- Configure the userinfo.tcl script
- Add users to eggdrop's userfile.
- Edit userinfo.tcl
Note: This is part of the Installing documentation so you may have done it already.
userinfo.tcl is a script that comes with eggdrop and is loaded by the default configuration file. You'll need to have it loaded for bMotion's IRL/GENDER stuff to work.
Fire up your favourite editor, open the script, and find the set userinfo-fields line. It's about line 65, probably. Add to the list GENDER IRL
(with a space between) so the line looks something like this:
set userinfo-fields "URL BF GF IRL EMAIL DOB GENDER IRL" OK, so my copy has them the other way round :P
Save the file and you're done.
Users must be defined in the eggdrop userfile in the normal fashion, else the bot can't store IRL/GENDER info for them.
userinfo.tcl provides several commands for updating people's info.
They can /msg it to the bot using /msg BOTNICK IRL <list of names>
(or GENDER
instead of IRL
).
If they have partyline access, they can use .irl <list of names>
and `.gender``.
Or you can set it for them on the partyline using .chirl <handle> <list of names>
or .chgender
Let's get the easy one out of the way first. GENDER must be "male" or "female". Other values will result in unpredictable behaviour (both on the bot's part, and the user's).
bMotion expects the list of names to be space-separated. If a user wants to use spaces in one or more of their IRL names, they must enclose that name in quotes (").
You can use Output Macro formatting in IRL names - if you tell your users or not is up to you ;)
Here's some examples:
james jms
"James Seward" james jms
jame%REPEAT{1:5:s}
Just ask the bot:
BOTNICK say my name
The bot will respond with your IRL names, and /notice you a reminder of how to change them.