User Control Panel
Advertisements

HELP US, HELP YOU!

reload responces

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Code Help
View unanswered posts
Author Message
Dazzy
Agent
Agent


Joined: 09 Jan 2004
Posts: 1731

Reputation: 72.3

PostPosted: Sun Mar 07, 2004 9:36 pm    Post subject: Reply with quote

im lookin for a command to reload the responces on the trigger brain....im not sure..

i found this is trigger.pm so it might help
Code:
sub loadResponses<br />{<br />   my $this = shift;<br /><br />   open( FILE, $this->{'filename'} ) || return;<br />   my @lines = <FILE>;<br />   close( FILE );<br /><br />   chomp @lines;<br /><br />   # remove the data version line, do nothing with it at the moment<br />   my $data_version = shift;<br /><br />   $this->{'direct_responses'} = \@lines;<br />}
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Code Help 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