***FREE*** Updated Mushclient System

by Ethelon

Back to Mechanic's Corner.

Unknown2006-08-31 15:18:51
The HealReflex trigger colours your prompt light green when it's matching correctly. Is your prompt a light green colour? If not, what does your prompt look like?
Achius2006-08-31 17:12:42
my prompt is the same colour as it would be if you used nexus.. a dark murky green. I'm assuming by a light green that you mean one similar to the newbie channel? mine is more like colour 2 on CONFIG COLOUR

Oer, I read back a few posts, and saw that I have to CONFIG PROMPT STATS, soon as I did that the prompt turned light green xD can I make it do so for config prompt all?
Unknown2006-08-31 19:36:41
Autosipper, and all triggers that capture your prompt, does not work if you have endurance and willpower in your prompt. Just health, mana, ego and power.

I could change it for you, but I'm a bit out of practice when it gets to MUSHclient programming. If you really want I can see what I can do.
Tiran2006-08-31 20:51:07
Using the following trigegr line should do the trick:
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p\\, \\d+en\\, \\d+w (.*?)\\-


Remember not to put parenthesis around the \\d+ for endurance and willpower, since it'll mess with the values returned by the regular expressions.

EDIT: Forgot to escape the commas to keep the style consistant, even though it doesn't really need them.
Achius2006-09-01 13:03:05
That worked great, thank you.
Unknown2006-09-01 18:21:35
What about the cureoff triggers that respond to the prompt that look something like this:

\\n(.*?)h\\, (.*?)m\\, (.*?)e\\, (.*?)p (.*?)\\-$
Tiran2006-09-01 18:55:15
Same thing as the line above, just putting the \\n in front of it, and the $ afterwards.
Karrack2006-09-10 02:02:54
what would i have to do to make an aliase that switches my target? eg. target 1 to target 2
Ethelon2006-09-10 02:16:58
You mean like the "x" targetting in the free system?
Karrack2006-09-10 02:35:52
no, if i were to make additional targets, the systemhas one already but i created a few more just to save me time trying to type in long names and all that, what i'm tring to do is bind some macros to switch targets for me
Ethelon2006-09-10 02:50:53
You can open hte Config screen and find MACROS and set anything you like...Macros execute command, so like you can set F3 as "x moomoocow" and whenever you hit it, it sets that as your target.
Karrack2006-09-10 03:34:44
yes i know how macros work and how one creates them, but how would you make an aliase (later to be put into a macro) what i want is a target list of sorts (i've made the variables and aliases in order to target something) i just need to know how to make an aliase that makes the main target target 2 or target 3, make any sense?
Unknown2006-09-11 00:20:19
Along those lines, how would one make a status bar? There's a sample status bar plugin that comes prepackaged in Mush, but that assumes a prompt that has current\\max stats in it.

So given that plugin, the simple question is how do you pull the max variables (health, mana, ego) into that plugin? Thanks
Karrack2006-09-11 15:36:09
additional question; is it possible to make a new macro key? one that isnt already listed in the macro list?
Achius2006-09-13 22:13:52
whenever I regain eq or balance, I try to stand, even if I'm not prone. So I look stupid standing straight up all the time. How can I fix this?
Karrack2006-09-13 23:43:53
just do diag, for some reason thats a bug, and yay i anwsered my macro question smile.gif
Unknown2006-09-14 00:55:07
QUOTE(Achius @ Sep 13 2006, 06:13 PM) 331107

whenever I regain eq or balance, I try to stand, even if I'm not prone. So I look stupid standing straight up all the time. How can I fix this?


"You stand straight up." is the line for when you are already standing, and try to stand up. The system doesn't trigger on that, so just make a trigger for that line that sets the prone variable to 0.
Karrack2006-09-17 02:27:26
my new questions:P;

-what would i have to put into an aliase to turn eating sparkleys at 75% health off and on? (new system)

- how would i enable a variable to be changed by an aliase? (like weapon1 "hammer" in a weapon switch aliase)

yes i am aware that i ask way to many questions but meh tongue.gif
Tervic2006-09-17 10:12:06
QUOTE(karrack @ Sep 16 2006, 07:27 PM) 332089
my new questions:P;

-what would i have to put into an aliase to turn eating sparkleys at 75% health off and on? (new system)

- how would i enable a variable to be changed by an aliase? (like weapon1 "hammer" in a weapon switch aliase)

yes i am aware that i ask way to many questions but meh tongue.gif


Karr, I already explained to you on aliasing changing variables, but meh, I'll gladly post it here too.

ALIAS: changevar * *
CHECKBOXES: expand variables
SEND (To script): world.setvariable "%1", "%2"

so "changevar hammer1 1234" should set the world variable hammer1 to be 1234. You can also play with the wildcarding, so that you have setHammer1 * be aliased to world.setvariable "hammer1", %1 or something like that.

No it does not need to be a regular expression.

EDIT: regarding sparkles, I don't know about the new system since I'm playing with my heavily modded version of the old, but find the sparkleberry eating subroutine, and there should be a conditional (if currhealth < .75*maxhealth or something like that). Find that and change it to look like the following:

((original conditional stuff) AND (getvariable("eatsparks") = "1"))


Of course, it goes without saying that you should create the variable, and also the appropriate alias in a fashion similar to that stated above.


Hope that answers your questions!
Karrack2006-09-17 12:50:23
ah, thank you very much tervic, got it the seconf time tongue.gif and ooh there already is a sparkle on and off aliase tongue.gif