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.

Hostmask Formatting

General support and discussion of Eggdrop bots.
Post Reply
e
eXcel
Voice
Posts: 13
Joined: Mon Apr 28, 2008 8:03 pm

Hostmask Formatting

Post by eXcel »

I tried searching the forums but couldn't find exactly what I was looking for, I also tried searching around some of the source files and couldn't find it either.

My question is this:

How can I change the default format of hostmasks from:

Code: Select all

*!*name@*.host.com 
to something like

Code: Select all

*!*@name.host.com
As of now I'm using the bot on the Quakenet IRC and each user is given a hostmask if they are registered and the correct flags are set. I only want to ban using those flags as something like the first code could cause a bit of errors with people using scripts (IE. Nnscript's *!*nnscript@*.quakenet.org).

I'm not sure if this can be changed globally or not (for bans and such) or if there is something else I can do to change it. At the moment I'm only concerned with the "Hello" command, however, I would like to be able to do it with any command that exists with hostmask and future scripts.
Post Reply