User:CALLEK/Script/EXPGather: Difference between revisions
Jump to navigation
Jump to search
(New page: 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 utili...) |
No edit summary |
||
Line 29: | Line 29: | ||
MATCHRE STARTLB /^\s*?Light Blunt:\s*(?=\d)/ |
MATCHRE STARTLB /^\s*?Light Blunt:\s*(?=\d)/ |
||
MATCHRE STARTMB /^.*?Medium 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/ |
MATCHRE REALLYDONE /^EXP HELP/ |
||
goto EXPGATHER_STARTING_%EXPGATHER_STARTING% |
goto EXPGATHER_STARTING_%EXPGATHER_STARTING% |
||
Line 44: | Line 46: | ||
setvariable EXPGATHER_VAR_CIRCLE 0 |
setvariable EXPGATHER_VAR_CIRCLE 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTSHIELD: |
STARTSHIELD: |
||
Line 52: | Line 51: | ||
setvariable EXPGATHER_VAR_SHIELD 0 |
setvariable EXPGATHER_VAR_SHIELD 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTLEATHER: |
STARTLEATHER: |
||
Line 60: | Line 56: | ||
setvariable EXPGATHER_VAR_LEATHER 0 |
setvariable EXPGATHER_VAR_LEATHER 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTLC: |
STARTLC: |
||
Line 68: | Line 61: | ||
setvariable EXPGATHER_VAR_LC 0 |
setvariable EXPGATHER_VAR_LC 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTHC: |
STARTHC: |
||
Line 76: | Line 66: | ||
setvariable EXPGATHER_VAR_HC 0 |
setvariable EXPGATHER_VAR_HC 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTLP: |
STARTLP: |
||
Line 84: | Line 71: | ||
setvariable EXPGATHER_VAR_LP 0 |
setvariable EXPGATHER_VAR_LP 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTHP: |
STARTHP: |
||
Line 92: | Line 76: | ||
setvariable EXPGATHER_VAR_HP 0 |
setvariable EXPGATHER_VAR_HP 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTCLOTH: |
STARTCLOTH: |
||
Line 100: | Line 81: | ||
setvariable EXPGATHER_VAR_CLOTH 0 |
setvariable EXPGATHER_VAR_CLOTH 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTBONE: |
STARTBONE: |
||
Line 108: | Line 86: | ||
setvariable EXPGATHER_VAR_BONE 0 |
setvariable EXPGATHER_VAR_BONE 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTPARRY: |
STARTPARRY: |
||
Line 116: | Line 91: | ||
setvariable EXPGATHER_VAR_PARRY 0 |
setvariable EXPGATHER_VAR_PARRY 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTMULTI: |
STARTMULTI: |
||
Line 124: | Line 96: | ||
setvariable EXPGATHER_VAR_MULTI 0 |
setvariable EXPGATHER_VAR_MULTI 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTLE: |
STARTLE: |
||
Line 132: | Line 101: | ||
setvariable EXPGATHER_VAR_LE 0 |
setvariable EXPGATHER_VAR_LE 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTME: |
STARTME: |
||
Line 140: | Line 106: | ||
setvariable EXPGATHER_VAR_ME 0 |
setvariable EXPGATHER_VAR_ME 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTHE: |
STARTHE: |
||
Line 148: | Line 111: | ||
setvariable EXPGATHER_VAR_HE 0 |
setvariable EXPGATHER_VAR_HE 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTTHE: |
STARTTHE: |
||
Line 156: | Line 116: | ||
setvariable EXPGATHER_VAR_THE 0 |
setvariable EXPGATHER_VAR_THE 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTLB: |
STARTLB: |
||
Line 164: | Line 121: | ||
setvariable EXPGATHER_VAR_LB 0 |
setvariable EXPGATHER_VAR_LB 0 |
||
goto NUMGATHER_LOOP |
goto NUMGATHER_LOOP |
||
⚫ | |||
goto MAINLOOP |
|||
STARTMB: |
STARTMB: |
||
Line 173: | Line 127: | ||
goto NUMGATHER_LOOP |
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_MB_DONE: |
GATHER_MB_DONE: |
||
GATHER_HB_DONE: |
|||
GATHER_THB_DONE: |
|||
goto MAINLOOP |
goto MAINLOOP |
||
NUMGATHER_LOOP: |
NUMGATHER_LOOP: |
||
Line 300: | Line 281: | ||
put echocolumn /0 Light Blunt: %EXPGATHER_VAR_LB% |
put echocolumn /0 Light Blunt: %EXPGATHER_VAR_LB% |
||
put echocolumn /0 Medium Blunt: %EXPGATHER_VAR_MB% |
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 |
goto DELETEVARS |
||
Line 324: | Line 307: | ||
deletevariable EXPGATHER_VAR_LB |
deletevariable EXPGATHER_VAR_LB |
||
deletevariable EXPGATHER_VAR_MB |
deletevariable EXPGATHER_VAR_MB |
||
deletevariable EXPGATHER_VAR_HB |
|||
deletevariable EXPGATHER_VAR_THB |
|||
exit |
exit |
Revision as of 13:46, 15 April 2007
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