this is a good one..
#action {%1 can't seem to get back into the air} {#showme {<----|=TARGET IS GROUNDED THIS ROUND=|---->}}
or...to show hp gained and loss every round..
#variable {changehp} {0}
#variable {curhp} {0}
#variable {oldhp} {0}
#variable {oldhp $curhp} {curhp %1}
#action {<%1/%2hp } {#var oldhp $curhp; #var curhp %1; #math {changehp}{$oldhp - $curhp};#if {$changehp > 0} {hploss};#if {$changehp < 0} {hpgain}} {5}
#alias {hpgain} {#showme <<<-YOU GAINED $changehp HITPOINTS->>>}
#alias {hploss} {#showme <<<-YOU LOST $changehp HITPOINTS->>>}
This snags your hp from your prompt everytime it echoes and uses $oldhp as a temp location for the hp from the last echo. It then compares the two for a difference, and displays said diff, calling the right display alias depending on the results. In game it looks like so...
Sepahoona: [===|===|=--|---]
[Exits: --- ]> crit
Sepahoona: [===|===|=--|---]
[Exits: --- ]> >>
Your faith holding fast, you stop the blow with The Boneseer's power.
Someone's bladed onslaught devastates you!
Someone's cleave devastates you!
Someone's bladed onslaught decimates you!
Your steel shards graze someone.
Someone's slash misses you.
Someone's bash collides with your protective shield.
Someone's bash misses you.
Someone dodges your attack.
Someone dual parries a light sword's slice.
Sepahoona: [===|===|---|---]
[Exits: --- ]> >>
You feel a lot better!
Sepahoona: [===|===|=--|---]
[Exits: --- ]> crit
>>
Something's fury misses you.
Someone's cleave devastates you!
Someone's bladed onslaught decimates you!
Your faith holding fast, you stop the blow with The Boneseer's power.
Your faith holding fast, you stop the blow with The Boneseer's power.
You are burned by the corrosive acid on something.
Someone's acidic bite scratches you.
Your steel shards hit someone.
Someone's slash misses you.
Someone parries your attack.
Your light sword's slice mauls someone.
Sepahoona: [===|===|---|---]
[Exits: --- ]> #TICK+10
>>
You feel a lot better!
Sepahoona: [===|===|=--|---]
[Exits: --- ]>
Hp changes appear to be displayed before the round happens, but you have to understand what order your client performs functions. The hp displays 1st since the mud does all the programatic calculations before it displays the incoming data as txt for you to see.
Also the hp gained displayes with a - in front of it, this is a result of the math used to calc the diff. I could convert it back to a positive number..but I am lazy. That fix would just be to display the alias as something like this...
#alias {hpgain} {#showme <<<-YOU GAINED {$changehp*-1} HITPOINTS->>>}
A chasing script would be defined as a targeted script that will hunt people down automatically. I wouldnt want to encourage discovery of how to do such a thing on the mud though. I am sure any novice could write one, but there are pitfalls that must be overcome that a newer player might not know about (and I wont tell em haah)