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 

MegaHAL howto ignore Users

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Tue Mar 08, 2011 9:21 am    Post subject: MegaHAL howto ignore Users Reply with quote

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
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Tue Mar 08, 2011 9:47 am    Post subject: Re: MegaHAL howto ignore Users Reply with quote

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
View user's profile Send private message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Tue Mar 08, 2011 10:02 am    Post subject: Reply with quote

Good idea, but i thought that there is any script that can do it Wink
Back to top
View user's profile Send private message
stormshadow
Voice


Joined: 11 Mar 2011
Posts: 7

PostPosted: Thu May 05, 2011 10:04 pm    Post subject: Re: MegaHAL howto ignore Users Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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