skip navigation

Welcome, Guest [log in · register]
Cwn Annwn
Search
Page 1 of 1 1
Ixlone Zmud Script:

#CLASS {collectables}
#ALIAS collect_reset {
#t- collect_search
#t+ plate_add
#t+ plushie_add
#t+ stamp_add
plates_owned = ""
stamps_owned = ""
plushies_owned = ""
l in ‘a portable glassware armoire’
l in ‘a velvet-lined toybox’
l in ~"a stamp collector’s book~"
#wait 5000
#t- plate_add
#t- plushie_add
#t- stamp_add
#t+ collect_search
}
#ALIAS collect_help {
#show ""
#show %ansi( 13, 0)COLLECTABLE’S HELP
#show ""
#show %ansi( 11, 0)collect_reset%ansi( 8, 0): Scan your containers to set up check lists~.
#cr
}
#VAR stamps_owned {}
#VAR plates_owned {}
#VAR plushies_owned {}
#VAR collect_check {}
#VAR collect_add {}
#REGEX "plate_add" {a decorative plate (.+) \(\#\d+\) \(new\)} {
collect_add = a decorative plate %1
#additem plates_owned @collect_add
} "" {disable}
#REGEX "plushie_add" {(a|an) (.+) plushie\s+\(\#\w+\) \(new\)} {
collect_add = %1 %2 plushie
#additem plushies_owned @collect_add
} "" {disable}
#REGEX "stamp_add" {a stamp commemorating (.+) \(\#\d+\)} {
collect_add = a stamp commemorating %1
#additem stamps_owned @collect_add
} "" {disable}
#CLASS 0
#CLASS {collectables|collect_search}
#REGEX { (A|An) (.+) sits on the ground, waiting for a caring owner to claim it.$} {
collect_check = %1 %2
#if (%ismember( @collect_check, @plushies_owned)) {#show %ansi( 15, 0)Don~’t need} {#show %ansi( 15, 0)Need}
}
#REGEX { A decorative plate depicting (.+) has been left here.$} {
collect_check = a decorative plate depicting %1
#if (%ismember( @collect_check, @plates_owned)) {#show %ansi( 15, 0)Don~’t need} {#show %ansi( 15, 0)Need}
}
#REGEX { A stamp commemorating (.+) has been left here.$} {
collect_check = a stamp commemorating %1
#if (%ismember( @collect_check, @stamps_owned)) {#show %ansi( 15, 0)Don~’t need} {#show %ansi( 15, 0)Need}
}
#REGEX {You put (.+) in a stamp collector’s book.$} {
collect_add = %1
#additem stamps_owned @collect_add
}
#REGEX {You put (.+) in a velvet-lined toybox.$} {
collect_add = %1
#additem plushies_owned @collect_add
}
#REGEX {You put (.+) in a portable glassware armoire.$} {
collect_add = %1
#additem plates_owned @collect_add
}
#CLASS 0

================================================================================

Cmud Script:

<class name="collectables" id="1742">
<alias name="collect_reset" id="1745">
<value>#t- collect_search
#t+ plate_add
#t+ plushie_add
#t+ stamp_add
plates_owned = ""
stamps_owned = ""
plushies_owned = ""
l in ‘a portable glassware armoire’
l in ‘a velvet-lined toybox’
l in ~"a stamp collector’s book~"
#wait 5000
#t- plate_add
#t- plushie_add
#t- stamp_add
#t+ collect_search</value>
</alias>
<trigger name="plate_add" priority="25370" regex="true" enabled="false" id="2537">
<pattern>a decorative plate (.+) \(\#\d+\) \(new\)</pattern>
<value>collect_add = a decorative plate %1
#additem plates_owned @collect_add</value>
</trigger>
<var name="collect_add" id="2542"/>
<trigger name="plushie_add" priority="25560" regex="true" enabled="false" id="2556">
<pattern>(a|an) (.+) plushie\s+\(\#\w+\) \(new\)</pattern>
<value>collect_add = %1 %2 plushie
#additem plushies_owned @collect_add</value>
</trigger>
<class name="collect_search" id="2558">
<trigger priority="25620" regex="true" id="2562">
<pattern> A stamp commemorating (.+) has been left here.$</pattern>
<value>collect_check = a stamp commemorating %1
#if (%ismember( @collect_check, @stamps_owned)) {#show %ansi(15,0)Don~’t need} {#show %ansi(15,0)Need}</value>
</trigger>
<trigger priority="25700" regex="true" id="2570">
<pattern> A decorative plate depicting (.+) has been left here.$</pattern>
<value>collect_check = a decorative plate depicting %1
#if (%ismember( @collect_check, @plates_owned)) {#show %ansi(15,0)Don~’t need} {#show %ansi(15,0)Need}</value>
</trigger>
<trigger priority="25770" regex="true" id="2577">
<pattern> (A|An) (.+) sits on the ground, waiting for a caring owner to claim it.$</pattern>
<value>collect_check = %1 %2
#if (%ismember( @collect_check, @plushies_owned)) {#show %ansi(15,0)Don~’t need} {#show %ansi(15,0)Need}</value>
</trigger>
<trigger priority="26040" regex="true" id="2604">
<pattern>You put (.+) in a portable glassware armoire.$</pattern>
<value>collect_add = %1
#additem plates_owned @collect_add</value>
</trigger>
<trigger priority="26050" regex="true" id="2605">
<pattern>You put (.+) in a stamp collector’s book.$</pattern>
<value>collect_add = %1
#additem stamps_owned @collect_add</value>
</trigger>
<trigger priority="26060" regex="true" id="2606">
<pattern>You put (.+) in a velvet-lined toybox.$</pattern>
<value>collect_add = %1
#additem plushies_owned @collect_add</value>
</trigger>
</class>
<trigger name="stamp_add" priority="25600" regex="true" enabled="false" id="2560">
<pattern>a stamp commemorating (.+) \(\#\d+\)</pattern>
<value>collect_add = a stamp commemorating %1
#additem stamps_owned @collect_add</value>
</trigger>
<var name="collect_check" id="2564"/>
<alias name="collect_help" id="2607">
<value>#show ""
#show %ansi( 13, 0)COLLECTABLE’S HELP
#show ""
#show %ansi( 11, 0)collect_reset%ansi( 8, 0): Scan your containers to set up check lists~.
#cr</value>
</alias>
<var name="stamps_owned" id="2609"/>
<var name="plates_owned" id="2610"/>
<var name="plushies_owned" id="2611"/>
</class>

Usage:

Once setup, script will announce when you run across a collectable whether you have it or not already.

collect_help - show help.

collect_reset - reset your lists to check against.
Alexiel Loving this script, only problem I’ve had is the plushie part doesn’t seem to want to work..
Page 1 of 1 1