|
slash_2_2000 Beginner
Joined: 27 Jul 2005 Posts: 20
|
Posted: 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? |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: 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} |
|
|
|
OmegaDeus Apprentice
Joined: 14 Sep 2005 Posts: 121
|
Posted: 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.
|
|
|
|
Slaem Apprentice
Joined: 20 Sep 2005 Posts: 135
|
Posted: 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**}} |
|
|
|
|
|