MUSHclient For Dummies

by Ianthe

Back to Mechanic's Corner.

Ianthe2006-05-13 06:56:52
I hate coding. Sad, I know, since it is 85% of MUDS. But I am a very visual learning, so reading all this computer language and not having someone around to just -show- me instead is very frustrating.

I recently switch to MUSH, because, well the above. Java I just couldn't do enough with my character, because I need to use what other people can help me with. But the tiny fraction of what I know to do is for Java.

My question (and yes, I have a point):

When entering commands for an alias, (let's say the alias is jj), in order to wait and regain balance to do multiple commands for one alias, what do I put? It doesn't seem to be the same as it was for Java.

Also, was wondering what it means when it tells you that send-to-script cannot excute because scripting is not enabled? I went back to the scripting page, and then clicked in the box that said 'enable scripting'. It still doesn't work, the message still pops up?

Love you lots if you answer (and all the bs above was to convince you I'm not just being lazy and you should help me)
Unknown2006-05-14 00:54:57
You can put as many commands as you please in one alias. If you're talking about doing a command that uses balance, doing another command as soon as you recover balance, and so forth... what you probably need is a trigger or set of triggers. What are you trying to accomplish?

If you're trying to create a def-up alias, the easiest way to do it is with a series of temporary timers. It might waste a few seconds here and there, but it's dead simple. From my own:

send "spiritbond moon"
send "spiritbond sun"
send "thirdeye"
send "nightsight"
send "sip quicksilver"
send "insomnia"
DoAfter 3, "spiritbond wolf"
DoAfter 6, "spiritbond monkey"
DoAfter 10, "nature barkskin"

Of the six commands I send at once, only spiritbond moon/sun care about equilibrium, and one of those will work depending on the time. Three seconds later (enough time to recover eq), I send another command that takes eq, rinse and repeat.

If you're trying to make an auto-hitter, just make a trigger for "You have recovered equilibrium/balance." (whichever your bashing attack uses) that attacks again, and have an easy way to turn it on and off (like macros that enable/disable the trigger). I can give you more details about this if you need 'em.

If you're trying to make a queue of actions, or put up stripped defences... gets more complicated depending on the particulars.

Cheers.
Ianthe2006-05-14 04:42:45
Yes, I'm trying to do a def-up alias!! Thanks so much. But also, I still have the second part of my question?

QUOTE
Also, was wondering what it means when it tells you that send-to-script cannot excute because scripting is not enabled? I went back to the scripting page, and then clicked in the box that said 'enable scripting'. It still doesn't work, the message still pops up?


This is for a system I got on this forum, once I put it in, this would appear often for me.
Unknown2006-05-14 17:30:53
Is the script the System is coded in the same Script that you have turned on?

That would be my guess.
Unknown2006-05-15 23:45:51
There's also a defup script I just wrote out in the topic above this. "MUSHclient help desperately needed" or something like that. It does essentially the same thing, but it gives you the option to stop the script if you need to, such as being randomly attacked. It also just shows another way to do it, which is useful for learning. On the other hand, it's more complicated so you might not necessarily want to use it.

About the scripting, I'd really need to have MUSHclient in front of me, which I unfortunately don't have right now, but check the script button is enabled again. I think CTRL+Shift+6 pulls it up. Also make sure you have the right scripting language selected. Most scripts on the forum on in VBscript unless otherwise stated.

Edit: Oh! You are using Windows, right? I don't know much about Macintosh since they give me hives (or even if MUSH is available on Macs) but it's possible that you don't have the scripting language installed on your OS. If that's the case then you won't be able to use it in MUSH. Windows comes with VBscript though, so unless you somehow un-installed it that shouldn't be an issue for you.
Unknown2006-05-16 12:18:04
QUOTE
It does essentially the same thing, but it gives you the option to stop the script if you need to, such as being randomly attacked.


Oh, yes. I forgot to mention, but the defup script I posted *is* stoppable. Since it works with temporary triggers, all you have to do is make an alias that sends DeleteTemporaryTriggers to script.

That having been said, I think the case structure requiem posted is really neat! I'd been wondering how to do a queue that worked on eq/balance recovery without too much of a mess of coding.
Shric2006-05-16 13:06:21
Erm... seeing as this is MUSHClient for Dummies...

I don't know how to make a trigger; someone please help me; whether it be with MUSH or Nexus. I find it immensely confusing.
Ianthe2006-05-23 07:15:21
Triggers are easy...at least for the Nexus they are lol.

1) First enter what you see on the screen
2) Second enter what you want the Nexus to do once it reads that.

For example, if I wanted to highlight something I'd do:

1) your insomnia clears up

2)#highlight "blue on white"


Highlighting codes are always nice and neat like that. Just have to change the message and the colors. Other things aren't quite as simple, but that depends on what you want to do!

Err...did I actually help? Because that would be crazy.



Ughhh...thank you everyone who answered!! I'm going to have to do some thinking...which isn't fun.

Let's see...I do use windows, no matter how much I wish I had an apple right now...

See actually I have to get off my lazy butt and look at the posts for the healing system I got off of these boards because that is what's giving me the annoying message...

...the def up I'm doing on my own, I def like the ideas I got I'll have to try them out. smile.gif

Anyway, I have to wake up in 3 hours so I better get some sleep...was just waiting on my clothes to dry.