User Control Panel
Advertisements

HELP US, HELP YOU!

Need some help

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


Joined: 14 Feb 2004
Posts: 1138

Reputation: 50.7

PostPosted: Mon Mar 08, 2004 10:50 pm    Post subject: Reply with quote

Code:
if ($msg =~ /^read log (.*)$/) {<br />if (isAdmins($1) || isSmods($1) || isMods($1) || isFirsts($1)) {<br />open (FILE, "./Logs/Admins/$1.txt")if (isAdmins($1));<br />open (FILE, "./Logs/Smods/$1.txt")if (isSmods($1));<br />open (FILE, "./Logs/Mods/$1.txt")if (isMods($1));<br />open (FILE, "./Logs/Firsts/$1.txt")if (isFirsts($1));<br />}else{<br />open (FILE, "./Logs/Users/$1.txt");<br />}<br />@log = <FILE>;<br />close FILE;<br />&send($self, "$1's Log: \n\n@log");<br />}



I cant read the mods+ logs... here is what i got...dunno if its an error (tested on a smod)

Quote:
readline() on closed filehandle FILE at (eval 198) line 12.


Can you correct the bug so i can read the mods smod and admins logs thanks Very Happy
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