User Control Panel
Advertisements

HELP US, HELP YOU!

Responding

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
Vorx
Senior Member
Senior Member


Joined: 21 Dec 2003
Posts: 152

Reputation: 32Reputation: 32Reputation: 32

PostPosted: Mon Dec 29, 2003 12:02 am    Post subject: Reply with quote

Hi, this is going to be quite hard to explain so forgive me if I make a mistake.

Basically, i'm using the Wiredbots template and it's set to automatically reply to a message using the magicalcheese database.

What i'd like help with is to make the bot silent, a bit like Scott's HelplessBot so it only responds to commands because when there's more than 1 person in a conversation with the bot it gets annoying because it says something everytime someone says something.

I've looked through the on_im, commands.pl and log_im and I have # a few lines and I can make it stop saying words but it replies with a blank line like so:

Code:
<br />I say:<br />blah blah<br />Bot says:<br /><br />


You see what I mean? It just outputs a blank reply to the screen and I want it to ignore all messages unless they start with the command prefix :

Anyway, I appreciate any help and just say if you need any more information.

Thanks
Nick
Back to top
Myzterio
Not Yet a God
Not Yet a God


Joined: 13 Dec 2003
Posts: 429

Reputation: 38.1Reputation: 38.1Reputation: 38.1Reputation: 38.1

PostPosted: Mon Dec 29, 2003 3:33 am    Post subject: Reply with quote

Add Replies To It.. Just Open up the Main.cfg With Crimson Editor or Notepad (id pefer Crimson editor) Then Just Add Replies : Here's An Example :
cheers|thankyou][no problem|not a problem|don't mention it|Lols No problem =)

Also To Locate Your Main.cfg, Just Goto *lazy* Bin>Responces>010 main.cfg!
I Hope that helps you Laughing
Back to top
Keenie
Almost An Agent
Almost An Agent


Joined: 31 Oct 2003
Posts: 1071

Reputation: 52.4

PostPosted: Mon Dec 29, 2003 4:38 am    Post subject: Reply with quote

some where in on_im (near the bottom) will say something like
$self->sendmsg($reply);
change it to something like
$self->sendmsg($reply) unless ($reply eq "");
Back to top
Myzterio
Not Yet a God
Not Yet a God


Joined: 13 Dec 2003
Posts: 429

Reputation: 38.1Reputation: 38.1Reputation: 38.1Reputation: 38.1

PostPosted: Mon Dec 29, 2003 6:27 am    Post subject: Reply with quote

Sorry, I Helped *lazy* wrong then Vorx
Back to top
Vorx
Senior Member
Senior Member


Joined: 21 Dec 2003
Posts: 152

Reputation: 32Reputation: 32Reputation: 32

PostPosted: Mon Dec 29, 2003 11:23 am    Post subject: Reply with quote

Hi,

Thanks Keenie, that works fine. Very Happy

And thanks Myzterio, even if you did post the wrong answer Wink
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group