#trigger {^A sense of heroism grows in your heart.}{#var HERO "HEROISM_IS_UP"}
#trigger {^You no longer feel like a hero!}{#var HERO "HEROISM_IS_OUT"}
#trigger {^You feel your body healing faster.} {#var REGEN "REGENERATION_IS_UP"}
#trigger {^You stop regenerating.} {#var REGEN "REGENERATION_IS_OUT"}
You could do something like this:
<triggers>
<trigger
custom_colour="2"
enabled="y"
match="A sense of heroism grows in your heart."
send_to="12"
sequence="100"
>
<send>
SetVariable ("hero", "HEROISM_IS_UP")
SetStatus (
"Target: " .. (GetVariable ("target") or "<none>") ..
" Weapon Target: " .. (GetVariable ("tarwpn") or "<none>") ..
" Group: " .. (GetVariable ("group") or "<none>") ..
" MONK: " .. (GetVariable ("regen") or "<none>") ..
" / " .. (GetVariable ("hero") or "<none>") ..
" Experience: " .. (GetVariable ("exp") or "<none>")
)
</send>
</trigger>
</triggers>
For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.
This changes the variable, and then sets the status line with all the current variable values. You would do something similar for the other trigger lines. To save redoing the SetStatus you could make a shared function in a script file - I'll leave that to you.
If you want colours, use the Info bar - see the Info function and related functions. Or, use miniwindows.
next one comes down to targeting
i have a basic alias for
#alias tar {#var target %params}
which i got to work by following the instruction for setting up a target alias/variable, but i use multiple alias that use that alias
IE: #alias bb {tar %1barbarian}
so i can type bb 2. and it will then it will set my target variable to 2.barbarian
how can i get mushclient to do this? I can't seem to get it to work.
Instead of "send to world" (the default) change the "send to" to be "Execute". Then any aliases are re-evaluated.
the triggers i use to set the variables for my Monk status are below. and my status line will display the apprioptly situation
#trigger {^A sense of heroism grows in your heart.}{#var HERO "HEROISM_IS_UP"}
#trigger {^You no longer feel like a hero!}{#var HERO "HEROISM_IS_OUT"}
#trigger {^You feel your body healing faster.} {#var REGEN "REGENERATION_IS_UP"}
#trigger {^You stop regenerating.} {#var REGEN "REGENERATION_IS_OUT"}
An Example of my status line output:
Target: Weapon Target: Group: MONK: REGENERATION_IS_UP / HEROISM_IS_UP Experience: 2698166
Hi I'm trying out mushclient i've been using zmud/cmud for years.
I'm having issues with 2 things
1) currently i use a targeting system for the full pkill mud i'm on. if i type v i get two reponses
1) if i set target: sit;spring @target
2) if i did not set target: sit;spring
also i can type v name and it will either follow cmd vs name instead of target. How can do that in mushclient? the script in cmud is
#alias v {#if (%numparam() = 0) {sit;springleap @target} {sit;springleap %params}}
next one comes down to targeting
i have a basic alias for
#alias tar {#var target %params}
which i got to work by following the instruction for setting up a target alias/variable, but i use multiple alias that use that alias
IE: #alias bb {tar %1barbarian}
so i can type bb 2. and it will then it will set my target variable to 2.barbarian
how can i get mushclient to do this? I can't seem to get it to work. i've tried just
alias bb * with send as tar %1barbarian
these are my most important issues before i move compleltly over to mushclient.
Ohh how can i clear out my target variable? On cmud tar " " works, but not on mushclient.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.