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
Rexxon
Beginner


Joined: 28 Oct 2000
Posts: 24
Location: USA

PostPosted: Mon Oct 14, 2002 12:53 am   

Need help creating some triggers.
 
What I was thinking was using the status bar for capturing tells. The process would be.

1. 'Ivar tells you 'Have any shields?'' This would be captured and displayed in my status bar.

2. When I 'reply' That text is replaced with the next tell. Or, If there aren't any tells, the default text I have that displays my hp/mana/moves.

Can anyone help me out? Thank you for your time.



When the world needs a hero...

Rexxon the Mighty.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Oct 14, 2002 1:45 am   
 
quote:

What I was thinking was using the status bar for capturing tells. The process would be.

1. 'Ivar tells you 'Have any shields?'' This would be captured and displayed in my status bar.

2. When I 'reply' That text is replaced with the next tell. Or, If there aren't any tells, the default text I have that displays my hp/mana/moves.

Can anyone help me out? Thank you for your time.



When the world needs a hero...

Rexxon the Mighty.




The status bar only shows one line--which is ok for this--but I find it highly annoying.

Anywho, try this:

#trigger {(%w tells you '%*')} {#noop adds entire tell message to the queue;Tells = %additem(@Tells,%1)}

#trigger {prompt stuff here} {#if (%numitems(@tellqueue)) {#noop there are tells to be answered} {#noop all tells have been answered;#var tells {prompt info here, just the way you like it}}}

#oninput {say to (%w) %*} {#delnitem Tells 1}

#status %item(@tellqueue,1)

li'l shmoe of Dragon's Gate MUD
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