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.

MegaHAL howto ignore Users

Support & discussion of released scripts, and announcements of new releases.
Post Reply
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

MegaHAL howto ignore Users

Post by Fraud »

Hello. I am running MegaHAL in my chan and would like to let the bot ignore different users and/or eggdrops in the chan.
Is there any script around or could anyone help me? thanks
w
willyw
Revered One
Posts: 1203
Joined: Thu Jan 15, 2009 12:55 am

Re: MegaHAL howto ignore Users

Post by willyw »

Fraud wrote:Hello. I am running MegaHAL in my chan and would like to let the bot ignore different users and/or eggdrops in the chan.
Is there any script around or could anyone help me? thanks
How about adding them to the bot's user list, then using the .ignore command on them?

http://www.egghelp.org/commands/core.htm#+ignore
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

Good idea, but i thought that there is any script that can do it ;)
s
stormshadow
Voice
Posts: 7
Joined: Fri Mar 11, 2011 12:15 am

Re: MegaHAL howto ignore Users

Post by stormshadow »

Fraud wrote:Hello. I am running MegaHAL in my chan and would like to let the bot ignore different users and/or eggdrops in the chan.
Is there any script around or could anyone help me? thanks
I am rather new at this, but I will try to help...

What exactly do you mean by "would like to let the bot ignore different users and/or eggdrops in the chan."

As far as .+ignore goes, it affects globally, not just in the "chan"
if you want it for a tcl command:

Code: Select all

newignore <hostmask> <creator> <comment> [lifetime]
    Description: adds an entry to the ignore list; creator is given credit for the ignore. lifetime is how many minutes until the ignore expires and is removed. If lifetime is not specified, ignore-time (usually 60) is used. Setting the lifetime to 0 makes it a permanent ignore.
    Returns: nothing
    Module: core
Now if you are looking to only give a select group of people access to the command I would suggest binding the triggers with a custom flag (instead of "o|o")
You can use say "M|M" or some other capital letter that isn't used by another tcl script
You would have to add it for each person you wished to have access to the command with .chattr though
http://www.egghelp.org/commands/core.htm#chattr

oh, also is this the MegaHal you are talking:
http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=957

Code: Select all

Name            Version   Date Last    Author
Megahal.tcl     0.1       10/03/2004   Tiniduske
  Description:
A script for the the MegaHAL module which allows you to set all options on or off using public commands.
Post Reply