|
| Author |
Message |
clcool Senior Member

Joined: 02 Nov 2003 Posts: 171
    
|
Posted: Tue Jan 04, 2005 6:25 pm Post subject: |
|
|
MayaBot v4.0
Instructions -=> Download the zip file from here. -=> Unzip all files to a directory. (eg. c:\MayaBot). -=> Read Readme.hlp for further instructions.
 _________________ http://www.polylogical.co.uk |
|
| Back to top |
|
 |
dan0211 Not Yet a God

Joined: 23 Dec 2003 Posts: 395
    
|
Posted: Tue Jan 04, 2005 6:30 pm Post subject: |
|
|
Lucky I'm already here  |
|
| Back to top |
|
 |
farkie God Like

Joined: 15 Nov 2003 Posts: 673
   
|
Posted: Tue Jan 04, 2005 6:30 pm Post subject: |
|
|
woot! long awating its a cool bot template! thanks Chris! |
|
| Back to top |
|
 |
purcelly God Like

Joined: 10 Jun 2004 Posts: 560 Location: North West, England
    
|
Posted: Tue Jan 04, 2005 7:37 pm Post subject: |
|
|
nice
like it loads
and you added alot since v3 i tihnk
i never saw the end bits after display pic or admin before! |
|
| Back to top |
|
 |
Cer Upgraded Agent

Joined: 03 Feb 2004 Posts: 3776 Location: Michigan
  votes: 4
|
Posted: Tue Jan 04, 2005 7:44 pm Post subject: |
|
|
What did you use to make the WinHelp file with? I always used to use HelpScribble - it's alright but it adds a tiny notice to each page when using the free version.  _________________ Current Site (2008) http://www.cuvou.com/ |
|
| Back to top |
|
 |
clcool Senior Member

Joined: 02 Nov 2003 Posts: 171
    
|
Posted: Tue Jan 04, 2005 8:08 pm Post subject: |
|
|
It's called Shalom (Link), it's freeware and it doesn't seem to add any adverts.  _________________ http://www.polylogical.co.uk |
|
| Back to top |
|
 |
darkmonkey The Merovingian

Joined: 18 Apr 2004 Posts: 2557 Location: London, England
     votes: 7
|
Posted: Tue Jan 04, 2005 8:12 pm Post subject: |
|
|
I love Maya! *Dances* _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ] |
|
| Back to top |
|
 |
pfingy Newbie

Joined: 28 Dec 2004 Posts: 35
  
|
Posted: Wed Jan 05, 2005 1:06 am Post subject: |
|
|
| NICE. Reputaion upped |
|
| Back to top |
|
 |
aus Newbie

Joined: 01 Jun 2004 Posts: 9
  
|
Posted: Wed Jan 05, 2005 12:12 pm Post subject: |
|
|
looks good!  |
|
| Back to top |
|
 |
watson3 Newbie

Joined: 04 Jan 2005 Posts: 7
  
|
Posted: Wed Jan 05, 2005 3:39 pm Post subject: |
|
|
| nice, can anyone give me some add-ons for it like the !say command please? |
|
| Back to top |
|
 |
farkie God Like

Joined: 15 Nov 2003 Posts: 673
   
|
Posted: Wed Jan 05, 2005 5:28 pm Post subject: |
|
|
try your topic  |
|
| Back to top |
|
 |
clcool Senior Member

Joined: 02 Nov 2003 Posts: 171
    
|
Posted: Wed Jan 05, 2005 8:16 pm Post subject: |
|
|
Have you read the help file? It says how to make a say command there as an example.
Open notepad.
Copy and paste:
| Code: | | my $tosay = $1;<br />$tosay = ucfirst($tosay);<br />&send($self, $tosay, $username); |
File, Save As...
Save it as say.maya (in the public directory).
And there you go.
The variable $1 contains any parameters the user specified after the command name... eg !say hello. $1 would contain hello.
As $1 is read only, and we want the first letter to be capital so it looks nicer, we let $tosay equal $1. The 'my' keeps it in this command (so the variable is only available where it's needed to conserve memory).
$tosay = ucfirst($tosay) makes the first letter of $tosay capital. eg. changing hello to Hello.
The last line sends the message. The first parameter is the socket (the chat window), (leave that alone unless you know what your doing), the second one it the message to be sent (in this case their message with a capital letter first..).. the last one is their username. (so we can log the message).
There are no speech marks because we just have variables, you could have done any of the following though:
| Code: | | &send($self, $tosay, $username) |
| Code: | | &send($self, "$tosay", $username) |
| Code: | | &send($self, $tosay, "$username") |
| Code: | | &send($self, "You told me to say $tosay", $username) |
| Code: | | &send($self, "You told me to say \"$tosay\"", $username) |
etc...
Other ways of doing a say command:
| Code: | | &send($self, $1, $username); |
| Code: | | my $tosay = $1;<br />&send($self, ucfirst($tosay), $username); |
Hope that helps people a bit... try and learn rather than just download commands. It will pay off in the long run.  _________________ http://www.polylogical.co.uk |
|
| Back to top |
|
 |
farkie God Like

Joined: 15 Nov 2003 Posts: 673
   
|
Posted: Wed Jan 05, 2005 8:53 pm Post subject: |
|
|
Nice one chris! |
|
| Back to top |
|
 |
Gavin God Like

Joined: 15 Mar 2004 Posts: 661 Location: Manchester, UK
    
|
Posted: Thu Jan 06, 2005 5:03 pm Post subject: |
|
|
A very nice template! Easy for people to use with a very well explain hlp file! +1
An idea for what someone could do (but hasnt yet) is make a template using sorona interface, I might do that myself... _________________ MSN: gavin [at] gavinbrittain [dot] co [dot] uk
E-Portfolio: www.gavinbrittain.co.uk (New version comming soon) |
|
| Back to top |
|
 |
clcool Senior Member

Joined: 02 Nov 2003 Posts: 171
    
|
Posted: Fri Jan 07, 2005 3:22 pm Post subject: |
|
|
Imagine your bot is just like another contact. You will need to add it to your list and talk to it that way.
eg. you are bob@hotmail.com, you sign in as bob@hotmail.com - Your bot is bot@hotmail.com and your bot signs in as bot@hotmail.com - You add bot@hotmail.com to your contact list.
To see the menu, when talking to your bot type help.
When you set up MayaBot it asks you for the admin's addresses. The bot will know when it's talking to an admin because it will recognise the username, and the admin commands will be available.
Hope that explains it for you. _________________ http://www.polylogical.co.uk |
|
| Back to top |
|
 |
|