FlashFXP Forums

FlashFXP Forums (https://oss.azurewebsites.net/forum/)
-   Harm's scripts (https://oss.azurewebsites.net/forum/ioftpd/ioftpd/scripting/harm-s-scripts/)
-   -   Setting up rules.cfg (https://oss.azurewebsites.net/forum/ioftpd/ioftpd/scripting/harm-s-scripts/12296-setting-up-rules-cfg.html)

Mave 02-01-2007 06:59 PM

Setting up rules.cfg
 
:D 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

LordM 02-02-2007 05:35 AM

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]


All times are GMT -5. The time now is 07:12 AM.

Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)