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 (Windrop) - Extended reply scripts

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Zeyra
Voice


Joined: 27 Dec 2009
Posts: 11

PostPosted: Tue Jan 19, 2010 11:43 am    Post subject: MegaHAL (Windrop) - Extended reply scripts Reply with quote

As of now, Eggdrop (Windrop) replies whenever its name is mentioned, prefixing its reply with the one mentioning the name if the name of the bot is first in the sentence.

Additionally, it replies to EVERYTHING if freespeak is on.

I am wondering if there is a middle thing, or a simple way to do something in between?


The essence of my question would be this:


Quote:
* The bot will reply to sentences containing its name.

* The bot will reply to sentences starting with its name with a prefix.

* The bot will reply to anything said, as long as it is not already processing something. (!)

Imagine that the bots name is never mentioned, and it is in a rather busy channel.

Someone says something, the bot starts making up a reply.

Someone else says something, but the bot does not reply to this as it is already finding a reply.

The bot posts its reply.

Someone else says something.

The bot now tries to find a reply to the last thing said, disregarding any other things said EXCEPT if they contain its name.

...Would this be possible, if yes - How?
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 -> Modules & Programming 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