egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Modifying the default hostmask

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Wed Jan 09, 2008 4:33 am    Post subject: Modifying the default hostmask Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Jan 09, 2008 7:47 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Wed Jan 09, 2008 9:55 am    Post subject: Reply with quote

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

_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Thu Jan 10, 2008 12:07 am    Post subject: Reply with quote

If its any help, user did a post about this http://forum.egghelp.org/viewtopic.php?t=8741 Smile
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber