User Control Panel
Advertisements

HELP US, HELP YOU!

Mayabot: Add Reply Command

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands
View unanswered posts
Author Message
fishyghost
Newbie
Newbie


Joined: 04 Jul 2005
Posts: 32
Location: Earth
Reputation: 10.9

PostPosted: Thu Jul 07, 2005 4:37 pm    Post subject: Mayabot: Add Reply Command Reply with quote

Code for mayabot "add reply command"

Code:
#Addreply Command v0.1 - Mayabot
#Author: Fishyghost

my ($listen,$answer) = split(/ 0/, $1, 2);

 

 $file = "./Replies/1 High.txt";

 

 open(FILE, ">>$file") || die("n$file: $!nn");

 

 print FILE "

$listen";

 close(FILE);
&CheckSystems;
&LoadReplies;
&send($self,"[$bot_name] Reply Added Successfully", "$username");
&send($self,"[$bot_name] Settings Reloaded.", "$username");



PS: obviously people are going to say "you posted in two forums" well actually if your a n00b to the site and you are looking for a command similar to this your going to look in commands not chat. Makes life easier
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands 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