User Control Panel
Advertisements

HELP US, HELP YOU!

MayaBot v4.0
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates
View unanswered posts
Author Message
clcool
Senior Member
Senior Member


Joined: 02 Nov 2003
Posts: 171

Reputation: 37.1Reputation: 37.1Reputation: 37.1Reputation: 37.1

PostPosted: Tue Jan 04, 2005 6:25 pm    Post subject: Reply with quote

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.

Smile

_________________
http://www.polylogical.co.uk
Back to top
dan0211
Not Yet a God
Not Yet a God


Joined: 23 Dec 2003
Posts: 395

Reputation: 37.8Reputation: 37.8Reputation: 37.8Reputation: 37.8

PostPosted: Tue Jan 04, 2005 6:30 pm    Post subject: Reply with quote

Lucky I'm already here Razz
Back to top
farkie
God Like
God Like


Joined: 15 Nov 2003
Posts: 673

Reputation: 3.4Reputation: 3.4Reputation: 3.4

PostPosted: Tue Jan 04, 2005 6:30 pm    Post subject: Reply with quote

woot! long awating Very Happy its a cool bot template! thanks Chris!
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Tue Jan 04, 2005 7:37 pm    Post subject: Reply with quote

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
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Tue Jan 04, 2005 7:44 pm    Post subject: Reply with quote

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. Razz
_________________
Current Site (2008) http://www.cuvou.com/
Back to top
clcool
Senior Member
Senior Member


Joined: 02 Nov 2003
Posts: 171

Reputation: 37.1Reputation: 37.1Reputation: 37.1Reputation: 37.1

PostPosted: Tue Jan 04, 2005 8:08 pm    Post subject: Reply with quote

It's called Shalom (Link), it's freeware and it doesn't seem to add any adverts. Smile
_________________
http://www.polylogical.co.uk
Back to top
darkmonkey
The Merovingian
The Merovingian


Joined: 18 Apr 2004
Posts: 2557
Location: London, England
Reputation: 39.3Reputation: 39.3Reputation: 39.3Reputation: 39.3
votes: 7

PostPosted: Tue Jan 04, 2005 8:12 pm    Post subject: Reply with quote

I love Maya! *Dances*
_________________
~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Back to top
pfingy
Newbie
Newbie


Joined: 28 Dec 2004
Posts: 35

Reputation: 17.3Reputation: 17.3

PostPosted: Wed Jan 05, 2005 1:06 am    Post subject: Reply with quote

NICE. Reputaion upped
Back to top
aus
Newbie
Newbie


Joined: 01 Jun 2004
Posts: 9

Reputation: 23.7Reputation: 23.7

PostPosted: Wed Jan 05, 2005 12:12 pm    Post subject: Reply with quote

looks good! Very Happy
Back to top
watson3
Newbie
Newbie


Joined: 04 Jan 2005
Posts: 7

Reputation: 16.4Reputation: 16.4

PostPosted: Wed Jan 05, 2005 3:39 pm    Post subject: Reply with quote

nice, can anyone give me some add-ons for it like the !say command please?
Back to top
farkie
God Like
God Like


Joined: 15 Nov 2003
Posts: 673

Reputation: 3.4Reputation: 3.4Reputation: 3.4

PostPosted: Wed Jan 05, 2005 5:28 pm    Post subject: Reply with quote

try your topic Wink
Back to top
clcool
Senior Member
Senior Member


Joined: 02 Nov 2003
Posts: 171

Reputation: 37.1Reputation: 37.1Reputation: 37.1Reputation: 37.1

PostPosted: Wed Jan 05, 2005 8:16 pm    Post subject: Reply with quote

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. Wink

_________________
http://www.polylogical.co.uk
Back to top
farkie
God Like
God Like


Joined: 15 Nov 2003
Posts: 673

Reputation: 3.4Reputation: 3.4Reputation: 3.4

PostPosted: Wed Jan 05, 2005 8:53 pm    Post subject: Reply with quote

Smile Nice one chris!
Back to top
Gavin
God Like
God Like


Joined: 15 Mar 2004
Posts: 661
Location: Manchester, UK
Reputation: 36.2Reputation: 36.2Reputation: 36.2Reputation: 36.2

PostPosted: Thu Jan 06, 2005 5:03 pm    Post subject: Reply with quote

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
Senior Member


Joined: 02 Nov 2003
Posts: 171

Reputation: 37.1Reputation: 37.1Reputation: 37.1Reputation: 37.1

PostPosted: Fri Jan 07, 2005 3:22 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 



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