As I Have Been Looking Around This Fourm I Have Noticed That There Are Not Many MayaBot Commands Avalible!
As This Is The Only Bot I Can Get Working Please May You Post As Many Commands For MayaBot As Possable For Me And The Other Users Of MayaBot That Are Having Problems Finding Commands
If Possable Can Someone Please Create A Tutorial For Converting Commands For Other Bots To MayaBot Format (Or Is Possable A Piece Of Software To Do It For Me)
Usage : clear (e.g. !clear) Recommand User Level : Mod OR Admin Other Notes : Dosent Clear Just Puts A Message So Long That People Cant See What You Have Chatted About (For A Command That Does Clear The Chat Window I Recommend MSN Plus!
Send One (Ok Quite A Few) Of Those Funny Popup Things:
Usage : popup (e.g. !popup TEST MESSAGE) Recommand User Level : Admin Only Other Notes : Change "BOT NAME" To Your Bots Name
Change Bot Name :
Code:
<br />if ($msg =~ /^dn (.*)/i) {<br /> my $name = $1;<br /> $msn->set_name($name);<br /> &send($self,"Display name set to $1", "$username");<br /> goto end;<br />}<br />
Usage : dn (e.g. !dn My MSN Bot) Recommand User Level : Admin Only Other Notes : None
Reboot The Bot:
Code:
<br />if ($msg =~ /^reboot/i) {<br /> &send($self,"Rebooting. Please Exit This Chat!!!", "$username");<br /> $msn->set_name("Notice : BOT NAME Is Rebooting Please Close All Chats!");<br /> $self->set_status('HDN');<br /> $self->set_status('NLN');<br /> $self->set_status('HDN');<br /> $msn->set_name("BOT NAME");<br /> $msn->send('CHG', 'BRB');<br /> system "perl bot.pl";<br /> goto end;<br />}<br />
Usage : reboot (e.g. !reboot) Recommand User Level : Admin Only Other Notes : This Is Standed With MayaBot (So Is !shutdown) But This Now Incoporates The Popup Message. I Would Also Recomend Changing !reboot To An Admin Command As Mod May Get A Bit Silly And Over Use It.
Usage : ping (e.g. !ping) Recommand User Level : Public Other Notes : Just Replys Pong
Race Command :
Code:
<br />if ($msg =~ /^race/i) {<br /> &send($self,"The Bot Is The Dog\nPeter Is The Cat\n$username Is The Snail\n1)____(&)\n2)________(@)\n3)(sn)\nThe Cat Wins!!!!!", "$username");<br />goto end;<br />}<br />
Usage : race (e.g. !race) Recommand User Level : Public Other Notes : Not A Real Race (I Need Code For A Race Like This PLease)
Before You Add Code Use This Template : Command Name :
Code:
<br />Command Code<br />
Usage : command (e.g. !command) Recommand User Level : User Level Other Notes : NOTES
Joined: 15 Mar 2004 Posts: 661 Location: Manchester, UK
Posted: Wed Mar 24, 2004 7:25 pm Post subject:
in your reboot command instead of having it so the bot messages every1 saysing close chats *lazy* dnt *lazy* just use this command it changes the bots status to offline then puts it *lazy* on again its much easyier
if ($msg =~ /^reboot/i) { $msn->send('CHG', 'OFFLINE'); &send($self,"Cube Bot Rebooting.", "$username"); $self->sendraw("OUT\*lazy*\n"); system "perl bot.pl"; goto end; } _________________ MSN: gavin [at] gavinbrittain [dot] co [dot] uk
E-Portfolio: www.gavinbrittain.co.uk (New version comming soon)