chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Sun Apr 06, 2008 7:48 am
This works! I just want to see what you think. |
I know you guys can find a million things wrong with it, but it works. Feel free to tear apart or whatever, I'm seeking to learn.
Code: |
#VAR Quest off off {General Variables}
#VAR Earplugs off off {General Variables}
#VAR Place " " " " {General Variables}
#TRIGGER Quest_On {^The ancient elven questmaster says 'Thank you, brave Yasan!'$} {Quest=on
#say Quest: @Quest} {General Triggers}
#REGEX Quest_Off {^You hand .* to the ancient elven questmaster.$} {Quest="off"
#say Quest: @Quest
Place=" "
#say Place: @Place
Earplugs="off"
#say Earplugs: @Earplugs} {General Triggers}
#REGEX Quest_Cap1 {^The ancient elven questmaster says 'Vile pilferers have stolen .* from the royal treasury!'$} {#IF (@Quest="on")
{#CAP Tells} } {General Triggers}
#REGEX Quest_Cap2 {^The ancient elven questmaster says 'Look in the general area of (.*) for .*!'$} {#IF (@Quest="on")
{#CAP Tells
Place=%1
#say Place: @Place} {General Triggers}
#TRIGGER EarplugsOFF {@Earplugs="on" AND @Quest="off"} {rem bees
put bees satch
wear hel
Earplugs="off"} {General Triggers} {exp}
#TRIGGER Earplugs {@Place="Gahboom Hill"} {get bees satch
wear bees
Earplugs="on"} {General Triggers} {exp}
|
|
|