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.

Modifying the default hostmask

General support and discussion of Eggdrop bots.
Post Reply
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Modifying the default hostmask

Post by CrazyCat »

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
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

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
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

If its any help, user did a post about this http://forum.egghelp.org/viewtopic.php?t=8741 :)
Post Reply