User:CALLEK/Scripts/EXPGATHER: Difference between revisions
Jump to navigation
Jump to search
(New page: Intended for future use with circle-checking scripts... Requires Stormfront, and will have paramaters you can pass in to make it do special things. <pre> #debug OFF setvariable EXPGATHER...) |
No edit summary |
||
Line 1: | Line 1: | ||
{{User:Callek/Navigation}} |
|||
Intended for future use with circle-checking scripts... |
Intended for future use with circle-checking scripts... |
||
Revision as of 13:32, 1 January 2009
Error: Image is invalid or non-existent. |
Error: Image is invalid or non-existent. |
Error: Image is invalid or non-existent. |
Error: Image is invalid or non-existent. |
Intended for future use with circle-checking scripts...
Requires Stormfront, and will have paramaters you can pass in to make it do special things.
#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 STARTSLING /^\s*?Slings:\s*(?=\d)/ MATCHRE STARTSTAFFSLING /^.*?Staff Sling:\s*(?=\d)/ MATCHRE STARTSHORTBOW /^\s*?Short Bow:\s*(?=\d)/ MATCHRE STARTLONGBOW /^.*?Long Bow:\s*(?=\d)/ MATCHRE STARTCOMPBOW /^\s*?Composite Bow:\s*(?=\d)/ MATCHRE STARTLX /^.*?Light Crossbow:\s*(?=\d)/ MATCHRE STARTHX /^\s*?Heavy Crossbow:\s*(?=\d)/ MATCHRE STARTSHORTSTAFF /^.*?Short Staff:\s*(?=\d)/ MATCHRE STARTQSTAFF /^\s*?Quarter Staff:\s*(?=\d)/ MATCHRE STARTPIKES /^.*?Pikes:\s*(?=\d)/ MATCHRE STARTHALBERDS /^\s*?Halberds:\s*(?=\d)/ MATCHRE STARTLT /^.*?Light Thrown:\s*(?=\d)/ MATCHRE STARTHT /^\s*?Heavy Thrown:\s*(?=\d)/ MATCHRE STARTBRAWL /^.*?Brawling:\s*(?=\d)/ MATCHRE STARTOFFHAND /^\s*?Offhand Weapon:\s*(?=\d)/ MATCHRE STARTPRIMARY /^.*?Primary Magic:\s*(?=\d)/ MATCHRE STARTHARNESS /^\s*?Harness Ability:\s*(?=\d)/ MATCHRE STARTPOWER /^.*?Power Perceive:\s*(?=\d)/ MATCHRE STARTDEVICES /^\s*?Magical Devices:\s*(?=\d)/ MATCHRE STARTTARGET /^.*?Targeted Magic:\s*(?=\d)/ MATCHRE STARTEVASION /^\s*?Evasion:\s*(?=\d)/ MATCHRE STARTCLIMB /^.*?Climbing:\s*(?=\d)/ MATCHRE REALLYDONE /^EXP HELP/ goto EXPGATHER_STARTING_%EXPGATHER_STARTING% EXPGATHER_STARTING_0: MATCHWAIT EXPGATHER_STARTING_1: setvariable EXPGATHER_STARTING 0 put exp 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 STARTSLING: setvariable EXPGATHER_STORE SLING setvariable EXPGATHER_VAR_SLING 0 goto NUMGATHER_LOOP STARTSTAFFSLING: setvariable EXPGATHER_STORE STAFFSLING setvariable EXPGATHER_VAR_STAFFSLING 0 goto NUMGATHER_LOOP STARTSHORTBOW: setvariable EXPGATHER_STORE SHORTBOW setvariable EXPGATHER_VAR_SHORTBOW 0 goto NUMGATHER_LOOP STARTLONGBOW: setvariable EXPGATHER_STORE LONGBOW setvariable EXPGATHER_VAR_LONGBOW 0 goto NUMGATHER_LOOP STARTCOMPBOW: setvariable EXPGATHER_STORE COMPBOW setvariable EXPGATHER_VAR_COMPBOW 0 goto NUMGATHER_LOOP STARTLX: setvariable EXPGATHER_STORE LX setvariable EXPGATHER_VAR_LX 0 goto NUMGATHER_LOOP STARTHX: setvariable EXPGATHER_STORE HX setvariable EXPGATHER_VAR_HX 0 goto NUMGATHER_LOOP STARTSHORTSTAFF: setvariable EXPGATHER_STORE SHORTSTAFF setvariable EXPGATHER_VAR_SHORTSTAFF 0 goto NUMGATHER_LOOP STARTQSTAFF: setvariable EXPGATHER_STORE QSTAFF setvariable EXPGATHER_VAR_QSTAFF 0 goto NUMGATHER_LOOP STARTPIKES: setvariable EXPGATHER_STORE PIKES setvariable EXPGATHER_VAR_PIKES 0 goto NUMGATHER_LOOP STARTHALBERDS: setvariable EXPGATHER_STORE HALBERDS setvariable EXPGATHER_VAR_HALBERDS 0 goto NUMGATHER_LOOP STARTLT: setvariable EXPGATHER_STORE LT setvariable EXPGATHER_VAR_LT 0 goto NUMGATHER_LOOP STARTHT: setvariable EXPGATHER_STORE HT setvariable EXPGATHER_VAR_HT 0 goto NUMGATHER_LOOP STARTBRAWL: setvariable EXPGATHER_STORE BRAWL setvariable EXPGATHER_VAR_BRAWL 0 goto NUMGATHER_LOOP STARTOFFHAND: setvariable EXPGATHER_STORE OFFHAND setvariable EXPGATHER_VAR_OFFHAND 0 goto NUMGATHER_LOOP STARTPRIMARY: setvariable EXPGATHER_STORE PRIMARY setvariable EXPGATHER_VAR_PRIMARY 0 goto NUMGATHER_LOOP STARTHARNESS: setvariable EXPGATHER_STORE HARNESS setvariable EXPGATHER_VAR_HARNESS 0 goto NUMGATHER_LOOP STARTPOWER: setvariable EXPGATHER_STORE POWER setvariable EXPGATHER_VAR_POWER 0 goto NUMGATHER_LOOP STARTDEVICES: setvariable EXPGATHER_STORE DEVICES setvariable EXPGATHER_VAR_DEVICES 0 goto NUMGATHER_LOOP STARTTARGET: setvariable EXPGATHER_STORE TARGET setvariable EXPGATHER_VAR_TARGET 0 goto NUMGATHER_LOOP STARTEVASION: setvariable EXPGATHER_STORE EVASION setvariable EXPGATHER_VAR_EVASION 0 goto NUMGATHER_LOOP STARTCLIMB: setvariable EXPGATHER_STORE CLIMB setvariable EXPGATHER_VAR_CLIMB 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: GATHER_SLING_DONE: GATHER_STAFFSLING_DONE: GATHER_SHORTBOW_DONE: GATHER_LONGBOW_DONE: GATHER_COMPBOW_DONE: GATHER_LX_DONE: GATHER_HX_DONE: GATHER_SHORTSTAFF_DONE: GATHER_QSTAFF_DONE: GATHER_PIKES_DONE: GATHER_HALBERDS_DONE: GATHER_LT_DONE: GATHER_HT_DONE: GATHER_BRAWL_DONE: GATHER_OFFHAND_DONE: GATHER_PRIMARY_DONE: GATHER_HARNESS_DONE: GATHER_POWER_DONE: GATHER_DEVICES_DONE: GATHER_TARGET_DONE: GATHER_EVASION_DONE: GATHER_CLIMB_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_HB% put echocolumn /0 Twohanded Blunt: %EXPGATHER_VAR_THB% put echocolumn /0 Slings: %EXPGATHER_VAR_SLING% put echocolumn /0 Staff Sling: %EXPGATHER_VAR_STAFFSLING% put echocolumn /0 Short Bow: %EXPGATHER_VAR_SHORTBOW% put echocolumn /0 Long Bow: %EXPGATHER_VAR_LONGBOW% put echocolumn /0 Comp Bow: %EXPGATHER_VAR_COMPBOW% put echocolumn /0 Light Crossbow: %EXPGATHER_VAR_LX% put echocolumn /0 Heavy Crossbow: %EXPGATHER_VAR_HX% put echocolumn /0 Short Staff: %EXPGATHER_VAR_SHORTSTAFF% put echocolumn /0 Quarter Staff: %EXPGATHER_VAR_QSTAFF% put echocolumn /0 Pikes: %EXPGATHER_VAR_PIKES% put echocolumn /0 Halberds: %EXPGATHER_VAR_HALBERDS% put echocolumn /0 Light Thrown: %EXPGATHER_VAR_LT% put echocolumn /0 Heavy: %EXPGATHER_VAR_HT% put echocolumn /0 Brawling: %EXPGATHER_VAR_BRAWL% put echocolumn /0 Offhand Weapon: %EXPGATHER_VAR_OFFHAND% put echocolumn /0 Primary Magic: %EXPGATHER_VAR_PRIMARY% put echocolumn /0 Harness Ability: %EXPGATHER_VAR_HARNESS% put echocolumn /0 Power Perceive: %EXPGATHER_VAR_POWER% put echocolumn /0 Magical Devices: %EXPGATHER_VAR_DEVICES% put echocolumn /0 Targeted Magic: %EXPGATHER_VAR_TARGET% put echocolumn /0 Evasion: %EXPGATHER_VAR_EVASION% put echocolumn /0 Climbing: %EXPGATHER_VAR_CLIMB% 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 deletevariable EXPGATHER_VAR_SLING deletevariable EXPGATHER_VAR_STAFFSLING deletevariable EXPGATHER_VAR_SHORTBOW deletevariable EXPGATHER_VAR_LONGBOW deletevariable EXPGATHER_VAR_COMPBOW deletevariable EXPGATHER_VAR_LX deletevariable EXPGATHER_VAR_HX deletevariable EXPGATHER_VAR_SHORTSTAFF deletevariable EXPGATHER_VAR_QSTAFF deletevariable EXPGATHER_VAR_PIKES deletevariable EXPGATHER_VAR_HALBERDS deletevariable EXPGATHER_VAR_LT deletevariable EXPGATHER_VAR_HT deletevariable EXPGATHER_VAR_BRAWL deletevariable EXPGATHER_VAR_OFFHAND deletevariable EXPGATHER_VAR_PRIMARY deletevariable EXPGATHER_VAR_HARNESS deletevariable EXPGATHER_VAR_POWER deletevariable EXPGATHER_VAR_DEVICES deletevariable EXPGATHER_VAR_TARGET deletevariable EXPGATHER_VAR_EVASION deletevariable EXPGATHER_VAR_CLIMB exit