Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-01-2007, 06:59 PM   #1
Mave
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2005
Posts: 43
Default Setting up rules.cfg

Okie here it is. After a long time the final explanation of setting up the rules.cfg

First make a empty tekst file called : rules.cfg
Configure the path in ioCONFIG.itcl
DONT forget to put the rules.cfg file there!!!


Now lets start with some basic information .... Its simple if you know how :P

Put in the empty rules.cfg as a example!


set rules(DVDR,1) "ALLOWED: PUT HERE YOUR RULES ABOUT DVDR"
set rules(DVDR,2) "IF ABOVE DONT FIT ON ONE LINE GO AHEAD ON THE SECOND LINE "
set rules(DVDR,3) "NOT ALLOWED: HE HE THIS EXPLAINS ENOUGH!"
set rules(DVDR,0) 4

set rules(DIVX,1) "ALLOWED: PUT HERE YOUR RULES ABOUT DIVX "
set rules(DIVX,2) "NOT ALLOWED: HE HE THIS EXPLAINS ENOUGH! "
set rules(DIVX,0) 3

set rules(DIVX_PRE,1) "ALLOWED: ONLY AFFILS "
set rules(DIVX_PRE,2) "NOT ALLOWED: UPLOADING"
set rules(DIVX_PRE,0) 3

set rules(MP3_PRE,1) "ALLOWED: ONLY AFFILS"
set rules(MP3_PRE,2) "NOT ALLOWED: UPLOADING"
set rules(MP3_PRE,0) 3

set rules(PDA,1) "ALLOWED: PUT HERE YOUR RULES ABOUT PDA."
set rules(PDA,2) "NOT ALLOWED : DONT KNOW LOL."
set rules(PDA,0) 3

set rules(PDA_PRE,1) "ALLOWED: ONLY AFFILS."
set rules(PDA_PRE,2) "NOT ALLOWED: UPLOADING."
set rules(PDA_PRE,0) 3

set rules(AUDIOBOOKS_PRE,1) "ALLOWED: ONLY AFFILS."
set rules(AUDIOBOOKS_PRE,2) "NOT ALLOWED: UPLOADING."
set rules(AUDIOBOOKS_PRE,0) 3

set rules(EBOOKS,1) "ALLOWED:."
set rules(EBOOKS,2) "NOT ALLOWED: xxx, comics, pron,."
set rules(EBOOKS,0) 3

Well i think its selfexplaining ....

Hint:

The last line like : set rules(DVDR,0) 4
Tells you the total amount of lines used for the rules section DVDR in this case!


Have fun and good luck Greets Mave alias O*Se

Last edited by Mave; 05-19-2007 at 03:40 PM.
Mave is offline   Reply With Quote
Old 02-02-2007, 05:35 AM   #2
LordM
Senior Member
ioFTPD Foundation User
 
LordM's Avatar
 
Join Date: Jul 2005
Location: Germany
Posts: 138
Default

Thx a lot for info!

NOTE: If you want to use brackets "[ ]" then you need to put \ in front.

Example: set rules(apps,1) "ALLOWED: ONLY COOL APPS.........\[INFO\]"

will give you ALLOWED: ONLY COOL APPS.........[INFO]
__________________
I'm using:

ioFTPD 7.7.2
ioNiNJA BETA Stable v0.8.9.6
LordM is offline   Reply With Quote
Reply

Tags
allowed, put, rules.cfg, set, uploading

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 09:43 AM.

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