Home
Search
Files
User Control Panel
The time now is Fri Jan 09, 2009 3:50 am
Log in to check your private messages
View unanswered posts
Who is Online
My Profile
Log in
Advertisements
HELP US, HELP YOU!
Mayabot: Add Reply Command
Bot Depot Forum Index
->
Commands
View unanswered posts
Author
Message
fishyghost
Newbie
Joined: 04 Jul 2005
Posts: 32
Location: Earth
Posted: Thu Jul 07, 2005 4:37 pm
Post subject: Mayabot: Add Reply Command
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:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
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