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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
walrusguy
Newbie


Joined: 11 Jul 2021
Posts: 1

PostPosted: Sun Jul 11, 2021 3:21 pm   

Looking for a prompt example
 
How do I create a prompt that sets my variable @magetarget = <whatever my prompt is> and then #EXEC mageopener (alias)
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Wed Jul 14, 2021 2:40 am   
 
At the bottom of the trigger is an options panel (should be a button with a plus or the word more to open it).

For a prompt trigger to need to:
Uncheck trigger on new Line
Check trigger on prompt

Then you need to make a pattern that will match your trigger.
For that you will need to make use of wildcards for the variable bits.

#HELP #TRIGGER
Will pull up the help file inside the client, here is a link in that document to the pattern matching symbols.

Best I can offer without seeing what your prompt looks like.
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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