--
Ver 1.0 stores name and time stamp.
Ver 1.1 also stores Wp file and lvl.
--
It adds a new line to the end each time it's used.
function name is
Code: Select all
storecharname()
Code: Select all
sendMacro("}LoginNextToon=true;a={")
sendMacro("Logout();"); yrest(3*60*1000)
player = CPlayer.new();
settings.load();
storecharname()
if nothing is between () then it creates file aalastcharWP.xml
if say XX between () then it creates file aalastcharWPXX.xml
I deliberately named it with aa so as to keep it at top of folder for easy finding.
Add the file to your rom/userfunctions folder.
Also added a gold tracker
----------
V 1.1
----------
Prints on MM window
Code: Select all
Current gold: 15062
Profit: 0
Elapsed time: 63.035 minutes.
Profit per hour: 0
Call the function in your WP onload to set start time, and then call the function again from your WP just after repairing/selling.
Code: Select all
goldtracker()