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.

How to disable the /MSG HELP to prevent recognizing bot

Old posts that have not been replied to for several years.
Locked
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

How to disable the /MSG HELP to prevent recognizing bot

Post by Sloop »

Hi alltogether,

I realized when I send a /MSG to my bot with the text "help", I will get a private notice with the commands available as a reply from my bot.

When someone else send this command he gets a reply "No access."

How can I disable this, so anyone else can not recognize my bot??
I switched everything to stealth and queit messages in my config file.

Help appreciated.

Tnx in advance,
Sloop
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Are you using some kind of commands script?
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Post by Sloop »

Yes. Can u help to find out?
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

it is a built-in bind.

unbind msg - help *msg:help

edit: copy&paste the unbind into your config file and rehash
Last edited by spock on Sat Jul 16, 2005 10:59 am, edited 1 time in total.
photon?
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Post by Sloop »

I checked all my scripts which are loaded,but I could NOT FIND anything with help regarding this problem.

But I realized that ALL my bots respong to /msg botname help with a private notice of this:

[16:45:21] • [Notice-Private] entertainer (~botname@10.20.30.40) : /MSG commands for entertainer:
[16:45:23] • [Notice-Private] entertainer (~botname@10.20.30.40) : All users: ADDHOST HELP IDENT INFO PASS VOICE WHO WHOIS
[16:45:25] • [Notice-Private] entertainer (~botname@10.20.30.40) : Channel/global ops: OP INVITE GO KEY
[16:45:27] • [Notice-Private] entertainer (~botname@10.20.30.40) : Global masters: DIE JUMP MEMORY SAVE REHASH RESET
[16:45:29] • [Notice-Private] entertainer (~botname@10.20.30.40) : Channel masters: STATUS
[16:45:31] • [Notice-Private] entertainer (~botname@10.20.30.40) : For help on a command, /MSG entertainer HELP <command>. You are a master. Many many more commands are available via dcc chat. There may also be additional commands provided by other modules.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

What exactly do you want? you want this command to be unavailable or you want it to be available for everybody?
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Post by Sloop »

I want that do disable for normal public users, the should NOT GET a reply, else they could know that this is an eggdrop. I want prevent that.

Only identified users with matching hostmask in my eggdrop user list, should be able to use this /MSG commands. Although I don't really need them, because I do everything with Telnet-Connect and Partyline

But can you tell me how to do disable these /MSG commands to my bots?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Try loading this proc:

Code: Select all

proc *msg:help {nick uhost hand arg} {
 if {[matchattr $hand n]} {
  puthelp "NOTICE $nick :/MSG commands for $::botnick:"
  puthelp "NOTICE $nick :All users: ADDHOST HELP IDENT INFO PASS VOICE WHO WHOIS"
  puthelp "NOTICE $nick :Channel/global ops: OP INVITE GO KEY"
  puthelp "NOTICE $nick :Global masters: DIE JUMP MEMORY SAVE REHASH RESET"
  puthelp "NOTICE $nick :Channel masters: STATUS" 
  puthelp "NOTICE $nick :For help on a command, /MSG $::botnick HELP <command>. You are a master. Many many more commands are available via dcc chat. There may also be additional commands provided by other modules."
 }
}
Only owners should recieve the help commands.
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Post by Sloop »

Hey THANX!

Seems to work ;)

BIG TNX to you


PS: And how would it be possible to COMPLETE DISABLE this? So my bot does NOT send back messages?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

To completely remove it do what spock suggested.
S
Sloop
Halfop
Posts: 44
Joined: Tue Jul 12, 2005 7:04 pm

Post by Sloop »

it works fine! :D
Thank you again to @ll of you ;)

Greetinx,
Sloop
Locked