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
mastersonc
Newbie


Joined: 16 Aug 2006
Posts: 3

PostPosted: Wed Aug 16, 2006 2:38 am   

Newbie help
 
Ok I have scripted anything for about 4 years, and I am interested in looking at this zmud for my new script mainly because of the zmapper, and other things. HOWEVER I cant even get a simple hp trigger to work, this is my prompt
<1340hp#472m#405mv>5go[An Elaborately Decorated Hallway]
I have tried a hundred differetnt ways to get that to work but I cant, PLEASE help
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Aug 16, 2006 3:12 am   
 
#trigger {~<(%d)hp~#(%d)m~#(%d)mv~>(%d)go~[(*)~]} {hp = %1;other variables here} "" {nocr|prompt}
_________________
EDIT: I didn't like my old signature
Reply with quote
mastersonc
Newbie


Joined: 16 Aug 2006
Posts: 3

PostPosted: Wed Aug 16, 2006 3:33 am   
 
Ok that works perfectly, now if you dont mind can someone answer me this whats the "" at the end with {nocr|prompt}
I assume the nocr no carriage return and the prompt put it in its class but the "" has got me for a loop
Reply with quote
shalimar
GURU


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

PostPosted: Wed Aug 16, 2006 4:38 am   
 
its where the class would go, it is left blank to force it into the root class
_________________
Discord: Shalimarwildcat
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Aug 16, 2006 4:46 am   
 
if you open up the settings editor a click on the trigger, then click on the options tab, you will notice two check boxes in the Trigger on: frame. The first one says Newline, the second says Prompt. nocr means that the Newline checkbox is unchecked. prompt means that the Prompt checkbox is checked.
_________________
EDIT: I didn't like my old signature
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