Ichea (script)
Jump to navigation
Jump to search
| Ichea (script) | |
|---|---|
| Category | utility |
| Front-end | Genie |
| Author | Morvetan |
Script for customizing the Hollow Eve 439 gift received from Ichea
- Attendee Gift: general worn 'hold anything' bag with item slot widget
##Decription: HE Ichea Gift Customization Tool
##Updated: 11/04/2021
##Usage: Type # response in command line, If you already know your selections type out all arugments when calling script ex: .heichea 2 2 5 9 1 31
##Notes: Run in [Saidakyp of Andreshlew, Lobby]
## Must have already received gift, and holding in right hand to have Ichea customize from selections.
DECLARATIONS:
var styles null
var fabrics null
var containers null
var modifications null
var materials null
var depictions null
var arrayStyles null|blank|banded|beaded|beribboned|drab|dirty|discolored|elaborate|faded|feathered|filthy|flowery|frayed|glittered|heavy|ink-stained|light|modest|muddy|padded|rugged|simple|soot-covered|stained|striking|striped|sturdy|threadbare
var arrayFabrics null|blank|arzumodine|bluefire velvet|brocade|burlap|cire|dragonar|dragonfire brocade|duchess satin|eolienne|firesilk|Gemfire velvet|icesilk|jaalmin|jute|kelp linen|lava samite|leather|linen|madun|mistsilk|moonsilk|oceanmist satin|petalette|plaid|rosecloth|sackcloth|sailcloth|seasilk|shadesatin|silverweave|silveress|spikdersilk|spun glitter|starlight velvet|thornweave|velvet|zerarin wool
var arrayContainers null|apron|backpack|bag|basket|bindle|bundle|carryall|case|handbag|hamper|haversack|kit|knapsack|pack|poke|pouch|rucksack|sack|satchel|tote
var arrayModifications null|accented with|adorned with|bedecked with|bedraggled with|covered with|dangling|embellished with|fastened with|studded with|with a pair of|with a trio of|with some
var arrayMaterials null|aladmin|alerce|alshabi stone|amethyst|amber|anjisis|asarenjan|asini|atulave|audrualm|cloud ruby|cloudstone|coral|coralite|covellite|darkstone|emerald|erythraean|flame spinel| Gemfire ruby|gemstone|glitvire|gloamstone|gloomglass|gloomwood|haralun|haze sapphire|ice sapphire|icesteel|iroko|ke'nag|kelpzyte|khor'vela|lightning amethyst|loimic|mistglass|niello|night diamond|orichalcum| rainbow sapphire|riftstone|rivertear|sapphire|seaglass|shadow emerald|shrike's eye sapphire|spectrolite|starshell|star-stone|stone|stura atulave|tamboti|tempest sapphire|wooden
var arrayDepictions null|adders|albatrosses|ampules|arrows|barrels|black widow spiders|blossoms|bottles|candles|cauldrons|censers|centaurs|charms|cigars|claws|cobras|coiled ropes|coins|cows|coyotes|crossbow charms|crossed lance charms|crowns|cups|dagger charms|dice charms|dolphins|donkeys|doves|dragonflies|feather charms|fish charms|flowers|forger's tongs|four-leafed clovers|galleons|goshawks|hammer charms|herb charms|herons|honey bees|horned owls|jackals|kegs|king snakes|knitting needles|kraken charms|leaves|lions|lockpicks|magpies|mongooses|nightingales|octopus charms|orlogs|oxen|panthers|phoenixes|pickaxe charms|quills|raccoons|rams|ravens|roses|runestone charms|scorpions|seashells|seven-pointed stars|sharks|shield charms|shrews|shrikes|skulls|spiderwebs|stars|tabby cats|talons|tricorns|unicorns|vipers|vultures|wand charms|weasels|welkins|wild boars|wolverines|wolves|wraiths|wrens|wyverns
if_6 then goto SKIP
if_1 then
{
echo Too few arguments (Requires 6) try again
exit
}
goto STYLES
STYLES:
echo
echo CHOOSE A STYLE:
echo 1) (blank) 2) banded 3) beaded 4) beribboned
echo 5) drab 6) dirty 7) discolored 8) elaborate
echo 9) faded 10) feathered 11) filthy 12) flowery
echo 13) frayed 14) glittered 15) heavy 16) ink-stained
echo 17) light 18) modest 19) muddy 20) padded
echo 21) rugged 22) simple 23) soot-covered 24) stained
echo 25) striking 26) striped 27) sturdy 28) threadbare
echo
waitforre ^(\d+)
var styles $1
if ((%styles < 1) || (%styles > 28)) then
{
put #echo
put #echo Red *** Select a valid # ***
put #echo
goto STYLES
}
goto FABRICS
FABRICS:
echo
echo CHOOSE A FABRIC
echo 1) (blank) 2) arzumodine 3) bluefire velvet 4) brocade
echo 5) burlap 6) cire 7) dragonar 8) dragonfire brocade
echo 9) duchess satin 10) eolienne 11) firesilk 12) Gemfire velvet
echo 13) icesilk 14) jaalmin 15) jute 16) kelp linen
echo 17) lava samite 18) leather 19) linen 20) madun
echo 21) mistsilk 22) moonsilk 23) oceanmist satin 24) petalette
echo 25) plaid 26) rosecloth 27) sackcloth 28) sailcloth
echo 29) seasilk 30) shadesatin 31) silverweave 32) silveress
echo 33) spidersilk 34) spun glitter 35) starlight velvet 36) thornweave
echo 37) velvet 38) zerarin wool
echo
waitforre ^(\d+)
var fabrics $1
if ((%fabrics < 1) || (%fabrics > 38)) then
{
put #echo
put #echo Red *** Select a valid # ***
put #echo
goto FABRICS
}
goto CONTAINERS
CONTAINERS:
echo
echo CHOOSE A CONTAINER
echo 1) apron 2) backpack 3) bag 4) basket
echo 5) bindle 6) bundle 7) carryall 8) case
echo 9) handbag 10) hamper 11) haversack 12) kit
echo 13) knapsack 14) pack 15) poke 16) pouch
echo 17) rucksack 18) sack 19) satchel 20) tote
echo
waitforre ^(\d+)
var containers $1
if ((%containers < 1) || (%containers > 20)) then
{
put #echo
put #echo Red *** Select a valid # ***
put #echo
goto CONTAINERS
}
goto MODIFICATIONS
MODIFICATIONS:
echo
echo CHOOSE A MODIFICATION
echo 1) accented with 2) adorned with 3) bedecked with 4) bedraggled with
echo 5) covered with 6) dangling 7) embellished with 8) fastened with
echo 9) studded with 10) with a pair of 11) with a trio of 12) with some
echo
waitforre ^(\d+)
var modifications $1
if ((%modifications < 1) || (%modifications > 12)) then
{
put #echo
put #echo Red *** Select a valid # ***
put #echo
goto MODIFICATIONS
}
goto MATERIALS
MATERIALS:
echo
echo CHOOSE A MATERIAL
echo 1) aldamdin 2) alerce 3) alshabi stone 4) amethyst
echo 5) amber 6) anjisis 7) asarenjan 8) asini
echo 9) atulave 10) audrualm 11) cloud ruby 12) cloudstone
echo 13) coral 14) coralite 15) covellite 16) darkstone
echo 17) emerald 18) erythraean 19) flame spinel 20) Gemfire ruby
echo 21) gemstone 22) glitvire 23) gloamstone 24) gloomglass
echo 25) gloomwood 26) haralun 27) haze sapphire 28) ice sapphire
echo 29) icesteel 30) iroko 31) ke'nag 32) kelpzyte
echo 33) khor'vela 34) lightning amethyst 35) loimic 36) mistglass
echo 37) niello 38) night diamond 39) orichalcum 40) rainbow sapphire
echo 41) riftstone 42) rivertear 43) sapphire 44) seaglass
echo 45) shadow emerald 46) shrike's eye sapphire 47) spectrolite 48) starshell
echo 49) star-stone 50) stone 51) stura atulave 52) tamboti
echo 53) tempest sapphire 54) wooden
echo
waitforre ^(\d+)
var materials $1
if ((%materials < 1) || (%materials > 54)) then
{
put #echo
put #echo Red *** Select a valid # ***
put #echo
goto MATERIALS
}
goto DEPICTIONS
DEPICTIONS:
echo
echo CHOOSE A DEPICTION
echo 1) adders 2) albatrosses 3) ampules 4) arrows
echo 5) barrels 6) black widow spiders 7) blossoms 8) bottles
echo 9) candles 10) cauldrons 11) censers 12) centaurs
echo 13) charms 14) cigars 15) claws 16) cobras
echo 17) coiled ropes 18) coins 19) cows 20) coyotes
echo 21) crossbow charms 22) crossed lance charms 23) crowns 24) cups
echo 25) dagger charms 26) dice charms 27) dolphins 28) donkeys
echo 29) doves 30) dragonflies 31) feather charms 32) fish charms
echo 33) flowers 34) forger's tongs 35) four-leafed clovers 36) galleons
echo 37) goshawks 38) hammer charms 39) herb charms 40) herons
echo 41) honey bees 42) horned owls 43) jackals 44) kegs
echo 45) king snakes 46) knitting needles 47) kraken charms 48) leaves
echo 49) lions 50) lockpicks 51) magpies 52) mongooses
echo 53) nightingales 54) octopus charms 55) orlogs 56) oxen
echo 57) panthers 58) phoenixes 59) pickaxe charms 60) quills
echo 61) raccoons 62) rams 63) ravens 64) roses
echo 65) runestone charms 66) scorpions 67) seashells 68) seven-pointed stars
echo 69) sharks 70) shield charms 71) shrews 72) shrikes
echo 73) skulls 74) spiderwebs 75) stars 76) tabby cats
echo 77) talons 78) tricorns 79) unicorns 80) vipers
echo 81) vultures 82) wand charms 83) weasels 84) welkins
echo 85) wild boars 86) wolverines 87) wolves 88) wraiths
echo 89) wrens 90) wyverns
echo
waitforre ^(\d+)
var depictions $1
if ((%depictions < 1) || (%depictions > 90)) then
{
put #echo
put #echo Red *** Select a valid # ***
put #echo
goto DEPICTIONS
}
goto FINISH
FINISH:
echo
if (%styles = 1) && (%fabrics = 1) then echo Selected Gift: %arrayContainers(%containers) %arrayModifications(%modifications) %arrayMaterials(%materials) %arrayDepictions(%depictions)
if (%styles = 1) && (%fabrics > 1) then echo Selected Gift: %arrayFabrics(%fabrics) %arrayContainers(%containers) %arrayModifications(%modifications) %arrayMaterials(%materials) %arrayDepictions(%depictions)
if (%styles > 1) && (%fabrics = 1) then echo Selected Gift: %arrayStyles(%styles) %arrayContainers(%containers) %arrayModifications(%modifications) %arrayMaterials(%materials) %arrayDepictions(%depictions)
if (%styles > 1) && (%fabrics > 1) then echo Selected Gift: %arrayStyles(%styles) %arrayFabrics(%fabrics) %arrayContainers(%containers) %arrayModifications(%modifications) %arrayMaterials(%materials) %arrayDepictions(%depictions)
echo
FINISH_CONFIRM:
echo
echo Confirm and have Ichea create 1) Yes 2) No
echo
waitforre ^(\d+)
if ($1 < 1) or ($1 > 2) then
{
echo
put #echo Red *** Select a valid # ***
echo
goto FINISH_CONFIRM
}
if ($1 = 2) then goto DECLARATIONS
goto ICHEA
SKIP:
var styles %1
var fabrics %2
var containers %3
var modifications %4
var materials %5
var depictions %6
goto ICHEA
ICHEA:
gosub ASK Ichea for choose styles %styles
gosub ASK Ichea for choose styles %styles
gosub ASK Ichea for choose fabrics %fabrics
gosub ASK Ichea for choose fabrics %fabrics
gosub ask Ichea for choose containers %containers
gosub ask Ichea for choose containers %containers
gosub ASK Ichea for choose modifications %modifications
gosub ASK Ichea for choose modifications %modifications
gosub ASK Ichea for choose materials %materials
gosub ASK Ichea for choose materials %materials
gosub ASK Ichea for choose depictions %depictions
gosub ASK Ichea for choose depictions %depictions
gosub ASK Ichea for finish
gosub ASK Ichea for finish
goto exit
EXIT:
exit
ASK:
matchre RETURN ^(.+)?\.\.\.wait .+|^Sorry
matchre RETURN ^You are still stunned\.
matchre RETURN ^You should stand up first\.
matchre RETURN ^You can't do that while entangled in a web\.
send ask $0
matchwait 0.5
return
RETURN:
var return $0
if matchre("%return", "^(.+)?\.\.\.wait .+|^Sorry") then
{
pause
gosub $lastcommand
}
if matchre("%return", "^You are still stunned\.") then
{
pause 0.5
if ($stunned = ) then
{
waiteval ($stunned = 0)
gosub $lastcommand
return
}
gosub $lastcommand
}
if matchre("%return", "^You can't do that while entangled in a web") then
{
if ($webbed = ) then waiteval $webbed = 0
gosub $lastcommand
}
if matchre("%return", "^You don't seem to be able to move to do that") then
{
if contains("$prompt" , "I") then pause 20
gosub $lastcommand
}
if matchre("%return", "^You should stand up first\.|^You can't do that from your position\.|^You can't quite manage to kick while kneeling\.|^You really should be standing to play\.|^You are .+ cannot manage to stand\.|^The weight of all your possessions prevents you from standing\.|^As you stand,") then
{
var lastCommand $lastcommand
send stand
gosub %lastCommand
}
return