| View previous topic :: View next topic |
| Author |
Message |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Tue Mar 08, 2011 9:21 am Post subject: MegaHAL howto ignore Users |
|
|
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 |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Tue Mar 08, 2011 9:47 am Post subject: Re: MegaHAL howto ignore Users |
|
|
| 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 |
|
| Back to top |
|
 |
Fraud Op
Joined: 19 May 2008 Posts: 101
|
Posted: Tue Mar 08, 2011 10:02 am Post subject: |
|
|
Good idea, but i thought that there is any script that can do it  |
|
| Back to top |
|
 |
stormshadow Voice
Joined: 11 Mar 2011 Posts: 7
|
Posted: Thu May 05, 2011 10:04 pm Post subject: Re: MegaHAL howto ignore Users |
|
|
| 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: | 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_archive.tcl?mode=download&id=957
| Code: | 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. |
|
|
| Back to top |
|
 |
|