| View previous topic :: View next topic |
| Author |
Message |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Wed Jan 09, 2008 4:33 am Post subject: Modifying the default hostmask |
|
|
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 _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Jan 09, 2008 7:47 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Wed Jan 09, 2008 9:55 am Post subject: |
|
|
From the eggdrop docs/tricks: | Code: | 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
|
_________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
|
| Back to top |
|
 |
|