A : script's local storage variables ( %6 , %7 , %8 ) are not used by raidenftpd itself but reserved for use with each script , that means you can do the following thing
* use these variables in event trigger calls
where are the variables stored for each script ?
for the servername [servername] and username [username] , the script's local storage can be found at
[raidenftpd_dir]\VirtualFS\[servername]\users\[username].sls
for example c:\program files\raidenftpd\VirtualFS\raidenftpd32\users\root.sls where the raidenftpd32 is the servername and the root is the username
what is the format of the [username].sls ?
it is simple ini file format , the section name is the script executable name , for example if your script is placed at c:\test\login.exe , then the section name is [login.exe] , there are only 3 keys allowed in this .sls file at this moment , they are
VAR1 , VAR2 , VAR3 and you can retrieve them from raidenftpd by the variables %6 %7 %8
note : the maximum length for each key is 256 bytes
example
[login.exe]
VAR1=User's variable 1
VAR2=User's variable 2
VAR3=User's variable 3 |
note : for eggdrop scripts , the section name is always [eggdrop]
example
[eggdrop]
VAR1=User's variable 1
VAR2=User's variable 2
VAR3=User's variable 3 |
WARNING : these variables can not be used in message files (*.msg) , they are only used for script calls
|