What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » wired bots

wired bots
Author: Message:
x2zen
Senior Member
****


Posts: 882
Reputation: 20
35 / Male / Flag
Joined: Jul 2003
RE: wired bots
quote:
Originally posted by John Anderton
I still wasnt able to make a bot .. .can someone help me with the procedure from start to end ... how do i tell the bot what to do ??
You don't tell it what to do, you program it.
Like:
code:
if ($msg =~/^!John/i){
$self->sendmsg("Hi John");
}
This will make the bot respond "Hi John" when you write "!john"
$self->sendmsg is defined in the msn.pm

This post was edited on 06-29-2005 at 07:08 PM by x2zen.
06-29-2005 07:08 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
wired bots - by super-schaf on 06-29-2005 at 11:59 AM
RE: wired bots - by x2zen on 06-29-2005 at 12:13 PM
RE: wired bots - by super-schaf on 06-29-2005 at 12:21 PM
RE: wired bots - by x2zen on 06-29-2005 at 12:26 PM
RE: wired bots - by super-schaf on 06-29-2005 at 05:31 PM
RE: wired bots - by John Anderton on 06-29-2005 at 06:58 PM
RE: wired bots - by x2zen on 06-29-2005 at 07:08 PM
RE: wired bots - by super-schaf on 07-11-2005 at 07:17 AM
RE: wired bots - by Sypher on 07-11-2005 at 12:20 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On