Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-01-2005, 11:23 AM   #1
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
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
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
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
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
Default

Better to leave it alone than hehe
Thx for the info
ChipMunk666 is offline   Reply With Quote
Reply

Tags
defines, file, rules, set, variable

Thread Tools
Display Modes 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

Forum Jump


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

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)