SRL Archive - Help and Support

Srl Stat help


king vash

2008-02-11 01:03:32

I would like to know how to reset only the user variables of my script and how to properly report them

currently i report the variables ever time it a proggy is generated (6-10 times a hour) and that would send the things like number of airs crafted so far. but this seems to keep adding them on top of each other (if you had 100 the first run then 200 ofter the second and reported both times srl would say 300).
I don't want to send them all at the end because some time i quit out before it ends and i won't get my stats sent. so do i create a new set of variables that just monitors the difference between last report and what the new value is and report that or what?

Sir R. M8gic1an

2008-02-11 06:55:54

exactly. have a variable that keeps how much total you had last report.

then SRLReportVars := ThisTotal - PreviousTotal;

or everytime you craft them you can send SRLRandomsReport, with
SRLReportVars:= AmountDTM('inv', Runes); //not 100% sure on how exact this is.
~RM

king vash

2008-02-12 00:02:59

Okay, I justed used a last sent total thanks!