Hullo,
Looking to write a script that will capture the name/number on 6 logs, then add up each number and tell me the total for each name in said logs. It appears as :
--Activity Summary--
Name 1: 50
Name 2: 65
Name 3: 12
and so on. So, hypothetically, I'd set an alias to go through all six logs, then my script would add up all these numbers from the 6 logs and tell me the totals. The names will be dynamic. I'm tired, so the explanation of what I want may be vague - please post if you need some clarification.
Thank you!
Script Help
Re: Script Help
Code: Select all
^logtotal ([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6})(?: ([A-Z]:\\[^/:\*\?<>\|]+\.\w{2,6})|(\\{2}[^/:\*\?<>\|]+\.\w{2,6}))+$
logtotal path1 path2 ... pathn
Each has to be a full, valid path, e.g. C:\Users\User\Documents\mudlet\log.txt