Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: 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}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net