SphereCommunity
VARLIST in a Log File...? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: VARLIST in a Log File...? (/Thread-VARLIST-in-a-Log-File)



VARLIST in a Log File...? - pinku - 03-07-2014 08:09 AM

Hey everyone!

Is it possible to save the VARLIST in a log file?

I tried in two ways using a function, but I couldn't succeed.

Thanks a lot. Smile


RE: VARLIST in a Log File...? - Alaric - 03-07-2014 08:26 AM

Code:
serv.varlist log



RE: VARLIST in a Log File...? - pinku - 03-07-2014 08:28 AM

(03-07-2014 08:26 AM)Alaric Wrote:  
Code:
serv.varlist log

Thanks Alaric, but this will only write results on the console.

Code:
- Added #038: CTAGLIST and SERV.VARLIST. TAGLIST/CTAGLIST/SERV.VARLIST LOG writes results to the console.

I would like to have them saved in a log file, if it's possible.

Thanks again!


RE: VARLIST in a Log File...? - Alaric - 03-07-2014 05:27 PM

Ah. I see... I thought anything writen in console sqves in log file Smile I guess you will have to use write-file function. Or persuade devs do the same feature tags have. That you can call specific index and get number of varsSmile Then it easy.


RE: VARLIST in a Log File...? - XuN - 03-07-2014 06:58 PM

SphereData.scp

Code:
[GLOBALS]
onevar=01
twovars=02
yourthirdvar=05



RE: VARLIST in a Log File...? - Alaric - 03-07-2014 07:20 PM

(03-07-2014 06:58 PM)XuN Wrote:  SphereData.scp

Code:
[GLOBALS]
onevar=01
twovars=02
yourthirdvar=05
It isn't log! Tongue
You cheat.