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.
General support and discussion of Eggdrop bots.
CrazyCat
Revered One
Posts: 1359 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Wed Jan 09, 2008 4:33 am
Hello there,
someone ask me something and I can't find an answer: is there a way to change the default user hostmask used by an eggdrop when we do .useradd?
The default is: *!username@*.end.of.host
And the user want to add automatically the exact host: nick!
username@the.complete.host
Thanks by advance
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Wed Jan 09, 2008 7:47 am
Editing the source code or (preferably) using a script to override (the default) would be a solution.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
YooHoo
Owner
Posts: 939 Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast
Post
by YooHoo » Wed Jan 09, 2008 9:55 am
From the eggdrop docs/tricks:
Code: Select all
You can add a user with a static hostmask when using '.adduser' by prefixing their nick by '!'.
i.e. with a hostmask of drummer!ident@some.host.com
'.adduser drummer'
uses *!ident@*.host.com
'.adduser !drummer'
uses *!ident@some.host.com
TCL_no_TK
Owner
Posts: 509 Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire
Post
by TCL_no_TK » Thu Jan 10, 2008 12:07 am