User:Hazado: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
put #trigger {(In the backpack you see|You rummage through a sturdy backpack and see) (.+)\.} {#var backpack \$2} |
put #trigger {(In the backpack you see|You rummage through a sturdy backpack and see) (.+)\.} {#var backpack \$2} |
||
put rummage in my gem pouch |
put rummage in my gem pouch |
||
var gems \bbar\b|\bbead\b|\bgem |
var gems \bbar\b|\bbead\b|\bgem|agate|alexandrite|amber|amethyst|andalusite|aquamarine|beryl|bloodgem|bloodstone|carnelian|chalcedony|chrysoberyl|chrysopase|citrine|coral|crystal|diamond|diopside|egg\b|eggcase|emerald|garnet|goldstone|granite|hematite|iolite|ivory|jade|jasper|kunzite|lapis lazuli|lazuli|malachite|minerals|moonstone|morganite|nugget|onyx|opal|pearl|pebble|peridot|platinum|quartz|ruby|sapphire|spinel|star-stone|sunstone|talon|tanzanite|tooth\b|topaz|tourmaline|tsavorite|turquoise|zircon |
||
var gempouch KLKLKLKLK $gempouch KLKLKLKLKL |
var gempouch KLKLKLKLK $gempouch KLKLKLKLKL |
||
var gemcount 0 |
var gemcount 0 |
Latest revision as of 11:29, 13 January 2009
This is Script for Genie3
This script will have the appraiser at the gem shop appraise all your gems, then will echo all the gems and the prices. Just cut and paste to excel or notepad and head over to the gems page and input what you got.
Appgems.cmd put #trigger {(In the gem pouch you see|You rummage through a black gem pouch and see) (.+)\.} {#var gempouch \$2} put #trigger {(In the backpack you see|You rummage through a sturdy backpack and see) (.+)\.} {#var backpack \$2} put rummage in my gem pouch var gems \bbar\b|\bbead\b|\bgem|agate|alexandrite|amber|amethyst|andalusite|aquamarine|beryl|bloodgem|bloodstone|carnelian|chalcedony|chrysoberyl|chrysopase|citrine|coral|crystal|diamond|diopside|egg\b|eggcase|emerald|garnet|goldstone|granite|hematite|iolite|ivory|jade|jasper|kunzite|lapis lazuli|lazuli|malachite|minerals|moonstone|morganite|nugget|onyx|opal|pearl|pebble|peridot|platinum|quartz|ruby|sapphire|spinel|star-stone|sunstone|talon|tanzanite|tooth\b|topaz|tourmaline|tsavorite|turquoise|zircon var gempouch KLKLKLKLK $gempouch KLKLKLKLKL var gemcount 0 var gemdesc 0 start: if matchre("%gempouch", "(.+)(%gems)(.+)") then { var gempouch $1$3 save $2 } else goto exit goto appgem appgem: put get %s in my gem pouch matchre appgem1 You get (a|an|some) (.+) from inside your gem pouch. match start What were you referring to? matchwait appgem1: math gemdesc add 1 var desc%gemdesc $2 put ask appraiser to appr my %s matchre savegem I'll pay (.+) Kronars for it matchre savegem and says, "(.+) Kronars, take it or leave it matchwait savegem: math gemcount add 1 var gem%gemcount %desc%gemdesc $1 put put %s in my backpack waitfor You put goto start exit: put remove my backpack wait put remove my gem pouch wait put fill my gem pouch with my backpack wait put wear my backpack wait put wear my gem pouch if 1 <= %gemcount then echo %gem1 if 2 <= %gemcount then echo %gem2 if 3 <= %gemcount then echo %gem3 if 4 <= %gemcount then echo %gem4 if 5 <= %gemcount then echo %gem5 if 6 <= %gemcount then echo %gem6 if 7 <= %gemcount then echo %gem7 if 8 <= %gemcount then echo %gem8 if 9 <= %gemcount then echo %gem9 if 10 <= %gemcount then echo %gem10 if 11 <= %gemcount then echo %gem11 if 12 <= %gemcount then echo %gem12 if 13 <= %gemcount then echo %gem13 if 14 <= %gemcount then echo %gem14 if 15 <= %gemcount then echo %gem15 if 16 <= %gemcount then echo %gem16 if 17 <= %gemcount then echo %gem17 if 18 <= %gemcount then echo %gem18 if 19 <= %gemcount then echo %gem19 if 20 <= %gemcount then echo %gem20 if 21 <= %gemcount then echo %gem21 if 22 <= %gemcount then echo %gem22 if 23 <= %gemcount then echo %gem23 if 24 <= %gemcount then echo %gem24 if 25 <= %gemcount then echo %gem25 if 26 <= %gemcount then echo %gem26 if 27 <= %gemcount then echo %gem27 if 28 <= %gemcount then echo %gem28 if 29 <= %gemcount then echo %gem29 if 30 <= %gemcount then echo %gem30 if 31 <= %gemcount then echo %gem31 if 32 <= %gemcount then echo %gem32 if 33 <= %gemcount then echo %gem33 if 34 <= %gemcount then echo %gem34 if 35 <= %gemcount then echo %gem35 if 36 <= %gemcount then echo %gem36 if 37 <= %gemcount then echo %gem37 if 38 <= %gemcount then echo %gem38 if 39 <= %gemcount then echo %gem39 if 40 <= %gemcount then echo %gem40 if 41 <= %gemcount then echo %gem41 if 42 <= %gemcount then echo %gem42 if 43 <= %gemcount then echo %gem43 if 44 <= %gemcount then echo %gem44 if 45 <= %gemcount then echo %gem45 if 46 <= %gemcount then echo %gem46 if 47 <= %gemcount then echo %gem47 if 48 <= %gemcount then echo %gem48 if 49 <= %gemcount then echo %gem49 if 50 <= %gemcount then echo %gem50 if 51 <= %gemcount then echo %gem51 if 52 <= %gemcount then echo %gem52 if 53 <= %gemcount then echo %gem53 if 54 <= %gemcount then echo %gem54 if 55 <= %gemcount then echo %gem55 if 56 <= %gemcount then echo %gem56 if 57 <= %gemcount then echo %gem57 if 58 <= %gemcount then echo %gem58 if 59 <= %gemcount then echo %gem59 if 60 <= %gemcount then echo %gem60 if 61 <= %gemcount then echo %gem61 if 62 <= %gemcount then echo %gem62 if 63 <= %gemcount then echo %gem63 if 64 <= %gemcount then echo %gem64 if 65 <= %gemcount then echo %gem65 if 66 <= %gemcount then echo %gem66 if 67 <= %gemcount then echo %gem67 if 68 <= %gemcount then echo %gem68 if 69 <= %gemcount then echo %gem69 if 70 <= %gemcount then echo %gem70 exit