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


Joined: 27 Jul 2005
Posts: 20

PostPosted: Thu Oct 06, 2005 7:53 am   

Gagging after the first time
 
I have an alias that issues three commands at once: Kick, punch, punch. Now, when I am on the ground in my MUD, for whatever reason, I get the message:

You must be standing first.

Three times over whenever I try to use this alias while on the ground. I then have a trigger to automatically stand up. Anyhow, I don't need to see this three times, and as a matter of fact the spam can be quite irritating.

I am wondering, is there a way to show this message the first time, but then gag the next two?
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Thu Oct 06, 2005 1:35 pm   
 
well, if you set a trigger for sleep that sets a var then have the alias check that var and do what needs to be done.

#trigger {You go to sleep.} {#var sleep 1}
#trigger {You stand up.} {#var sleep 0}

#alias kpp {#if (@sleep=0) {kick;punch;punch} {stand;kick;punch;punch}
_________________
http://www.Aardwolf.com
Reply with quote
OmegaDeus
Apprentice


Joined: 14 Sep 2005
Posts: 121

PostPosted: Sun Oct 09, 2005 6:49 am   
 
I'm thinking maybe he's more referring to if say you got tripped maybe? I know that I've got that problem a little bit on the mud I play.
Reply with quote
Slaem
Apprentice


Joined: 20 Sep 2005
Posts: 135

PostPosted: Sun Oct 09, 2005 8:45 am   
 
Off top of my head at 4 in the morning...i.e. double check it.

#VAR Standing 1 1
#TR {^{You fall.|You trip.|You lie down and go to sleep.|etc}} {Standing=0}
#TR {^{You stand up.|You are already standing.}} {Standing=1; #SH %ansi(high,green)**STANDING**}
#ALIAS attack alias {#IF (@Standing) {kick;punch;punch} {#SH %ansi(high,red)**NOT STANDING**}}
_________________
Show your love.
Support Zugg Software!
Donate to zugg@zuggsoft.com with PayPal Send Money.
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