User:CALLEK/Script/EXPGather
Jump to navigation
Jump to search
This is a Work In Progress! (StormFront ONLY)
Basically will gather all EXP values from your EXP ALL 0.
Currently echo's them to a new Stormfront window.
I am working on this as a utility for a Circle Skill Calc to be used as a script.
#debug OFF setvariable EXPGATHER_STARTING 1 MAINLOOP: MATCHRE STARTCIRCLE /^\s*Circle:\s*(?=\d)/ MATCHRE STARTSHIELD /^\s*Shield Usage:\s*(?=\d)/ MATCHRE STARTLEATHER /^.*?Leather Armor:\s*?(?=\d)/ MATCHRE STARTLC /^\s*Light Chain:\s*(?=\d)/ MATCHRE STARTHC /^.*?Heavy Chain:\s*(?=\d)/ MATCHRE STARTLP /^\s*Light Plate:\s*(?=\d)/ MATCHRE STARTHP /^.*?Heavy Plate:\s*(?=\d)/ MATCHRE STARTCLOTH /^\s*Cloth Armor:\s*(?=\d)/ MATCHRE STARTBONE /^.*?Bone Armor:\s*(?=\d)/ MATCHRE STARTPARRY /^\s*Parry Ability:\s*(?=\d)/ MATCHRE STARTMULTI /^.*?Multi Opponent:\s*(?=\d)/ MATCHRE STARTLE /^\s*Light Edged:\s*(?=\d)/ MATCHRE STARTME /^.*?Medium Edged:\s*(?=\d)/ MATCHRE STARTHE /^\s*Heavy Edged:\s*(?=\d)/ MATCHRE STARTTHE /^.*?Twohanded Edged:\s*(?=\d)/ MATCHRE STARTLB /^\s*?Light Blunt:\s*(?=\d)/ MATCHRE STARTMB /^.*?Medium Blunt:\s*(?=\d)/ MATCHRE STARTHB /^\s*?Heavy Blunt:\s*(?=\d)/ MATCHRE STARTTHB /^.*?Twohanded Blunt:\s*(?=\d)/ MATCHRE REALLYDONE /^EXP HELP/ goto EXPGATHER_STARTING_%EXPGATHER_STARTING% EXPGATHER_STARTING_0: MATCHWAIT EXPGATHER_STARTING_1: setvariable EXPGATHER_STARTING 0 put exp all 0 MATCHWAIT STARTCIRCLE: setvariable EXPGATHER_STORE CIRCLE setvariable EXPGATHER_VAR_CIRCLE 0 goto NUMGATHER_LOOP STARTSHIELD: setvariable EXPGATHER_STORE SHIELD setvariable EXPGATHER_VAR_SHIELD 0 goto NUMGATHER_LOOP STARTLEATHER: setvariable EXPGATHER_STORE LEATHER setvariable EXPGATHER_VAR_LEATHER 0 goto NUMGATHER_LOOP STARTLC: setvariable EXPGATHER_STORE LC setvariable EXPGATHER_VAR_LC 0 goto NUMGATHER_LOOP STARTHC: setvariable EXPGATHER_STORE HC setvariable EXPGATHER_VAR_HC 0 goto NUMGATHER_LOOP STARTLP: setvariable EXPGATHER_STORE LP setvariable EXPGATHER_VAR_LP 0 goto NUMGATHER_LOOP STARTHP: setvariable EXPGATHER_STORE HP setvariable EXPGATHER_VAR_HP 0 goto NUMGATHER_LOOP STARTCLOTH: setvariable EXPGATHER_STORE CLOTH setvariable EXPGATHER_VAR_CLOTH 0 goto NUMGATHER_LOOP STARTBONE: setvariable EXPGATHER_STORE BONE setvariable EXPGATHER_VAR_BONE 0 goto NUMGATHER_LOOP STARTPARRY: setvariable EXPGATHER_STORE PARRY setvariable EXPGATHER_VAR_PARRY 0 goto NUMGATHER_LOOP STARTMULTI: setvariable EXPGATHER_STORE MULTI setvariable EXPGATHER_VAR_MULTI 0 goto NUMGATHER_LOOP STARTLE: setvariable EXPGATHER_STORE LE setvariable EXPGATHER_VAR_LE 0 goto NUMGATHER_LOOP STARTME: setvariable EXPGATHER_STORE ME setvariable EXPGATHER_VAR_ME 0 goto NUMGATHER_LOOP STARTHE: setvariable EXPGATHER_STORE HE setvariable EXPGATHER_VAR_HE 0 goto NUMGATHER_LOOP STARTTHE: setvariable EXPGATHER_STORE THE setvariable EXPGATHER_VAR_THE 0 goto NUMGATHER_LOOP STARTLB: setvariable EXPGATHER_STORE LB setvariable EXPGATHER_VAR_LB 0 goto NUMGATHER_LOOP STARTMB: setvariable EXPGATHER_STORE MB setvariable EXPGATHER_VAR_MB 0 goto NUMGATHER_LOOP STARTHB: setvariable EXPGATHER_STORE HB setvariable EXPGATHER_VAR_HB 0 goto NUMGATHER_LOOP STARTTHB: setvariable EXPGATHER_STORE THB setvariable EXPGATHER_VAR_THB 0 goto NUMGATHER_LOOP GATHER_CIRCLE_DONE: GATHER_SHIELD_DONE: GATHER_LEATHER_DONE: GATHER_LC_DONE: GATHER_HC_DONE: GATHER_LP_DONE: GATHER_HP_DONE: GATHER_CLOTH_DONE: GATHER_BONE_DONE: GATHER_PARRY_DONE: GATHER_MULTI_DONE: GATHER_LE_DONE: GATHER_ME_DONE: GATHER_HE_DONE: GATHER_THE_DONE: GATHER_LB_DONE: GATHER_MB_DONE: GATHER_HB_DONE: GATHER_THB_DONE: goto MAINLOOP NUMGATHER_LOOP: MATCHRE NUM_0 /^0/ MATCHRE NUM_1 /^1/ MATCHRE NUM_2 /^2/ MATCHRE NUM_3 /^3/ MATCHRE NUM_4 /^4/ MATCHRE NUM_5 /^5/ MATCHRE NUM_6 /^6/ MATCHRE NUM_7 /^7/ MATCHRE NUM_8 /^8/ MATCHRE NUM_9 /^9/ MATCHRE GATHER_%EXPGATHER_STORE%_DONE /^(?=[^\d])/ MATCHWAIT NUM_0: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter MULTIPLY 10 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_1: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 1 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_2: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 2 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_3: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 3 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_4: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 4 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_5: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 5 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_6: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 6 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_7: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 7 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_8: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 8 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP NUM_9: setvariable tmp %%EXPGATHER_VAR_%EXPGATHER_STORE%%% counter set %tmp% deletevariable tmp counter multiply 10 counter add 9 setvariable EXPGATHER_VAR_%EXPGATHER_STORE% %c% goto NUMGATHER_LOOP REALLYDONE: put echocolumn /NEW0 put echocolumn /0 Cirle: %EXPGATHER_VAR_CIRCLE% put echocolumn /0 Shield: %EXPGATHER_VAR_SHIELD% put echocolumn /0 Leather Armor: %EXPGATHER_VAR_LEATHER% put echocolumn /0 Light Chain: %EXPGATHER_VAR_LC% put echocolumn /0 Heavy Chain: %EXPGATHER_VAR_HC% put echocolumn /0 Light Plate: %EXPGATHER_VAR_LP% put echocolumn /0 Heavy Plate: %EXPGATHER_VAR_HP% put echocolumn /0 Cloth Armor: %EXPGATHER_VAR_CLOTH% put echocolumn /0 Bone Armor: %EXPGATHER_VAR_BONE% put echocolumn /0 Parry Ability: %EXPGATHER_VAR_PARRY% put echocolumn /0 Multi Opponent: %EXPGATHER_VAR_MULTI% put echocolumn /0 Light Edged: %EXPGATHER_VAR_LE% put echocolumn /0 Medium Edged: %EXPGATHER_VAR_ME% put echocolumn /0 Heavy Edged: %EXPGATHER_VAR_HE% put echocolumn /0 Twohanded Edged: %EXPGATHER_VAR_THE% put echocolumn /0 Light Blunt: %EXPGATHER_VAR_LB% put echocolumn /0 Medium Blunt: %EXPGATHER_VAR_MB% put echocolumn /0 Heavy Blunt: %EXPGATHER_VAR_MB% put echocolumn /0 Twohanded Blunt: %EXPGATHER_VAR_MB% goto DELETEVARS DELETEVARS: deletevariable EXPGATHER_STARTING deletevariable EXPGATHER_STORE ####KEEP? deletevariable EXPGATHER_VAR_CIRCLE deletevariable EXPGATHER_VAR_SHIELD deletevariable EXPGATHER_VAR_LEATHER deletevariable EXPGATHER_VAR_LC deletevariable EXPGATHER_VAR_HC deletevariable EXPGATHER_VAR_LP deletevariable EXPGATHER_VAR_HP deletevariable EXPGATHER_VAR_CLOTH deletevariable EXPGATHER_VAR_BONE deletevariable EXPGATHER_VAR_PARRY deletevariable EXPGATHER_VAR_MULTI deletevariable EXPGATHER_VAR_LE deletevariable EXPGATHER_VAR_ME deletevariable EXPGATHER_VAR_HE deletevariable EXPGATHER_VAR_THE deletevariable EXPGATHER_VAR_LB deletevariable EXPGATHER_VAR_MB deletevariable EXPGATHER_VAR_HB deletevariable EXPGATHER_VAR_THB exit