Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > Harm's scripts

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread
Old 09-01-2005, 11:23 AM   #1
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 221
Default iobV2 + rules

The rules
The $rules(sections) variable is a space separated list of all sections that have specific rules. The $rules(path) variable defines the path to the rules.cfg file (it contains the rules) and the $rules(msg) variable defines the path to the rules.msg file (that will be shown on SITE RULES).

set rules(sections) "0DAYS APPS DVDR MP3 SVCD TV"
set rules(path) "C:/ioFTPD/scripts/rules.cfg"
set rules(msg) "C:/ioFTPD/scripts/rules.msg"


I see this in the documentation
Where are those files? Do they get generated?
How should they look like?

thx
ChipMunk666 is offline   Reply With Quote
Old 09-01-2005, 05:35 PM   #2
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,462
Default

This is a very good question. It isn't very clear in the docs because I've intentionally skipped that part. I will give details soon.. I'm still quite busy atm.

What you should know is:
- the rules.msg file is displayed on SITE RULES. It is a plain old text file.
- the rules.cfg file has a particular syntax (that I'll explain later). If it's not there, it won't change anything. But if it exists and is wrongly formatted, it'll crash the scripts.
Harm is offline   Reply With Quote
Old 09-01-2005, 05:38 PM   #3
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 221
Default

Better to leave it alone than hehe
Thx for the info
ChipMunk666 is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 10:33 PM.