Mushclient Questions

by Esano

Back to Mechanic's Corner.

Unknown2011-04-21 14:10:35
Someone mentioned that they thought that certain wildcards would make a system laggier as opposed to others. Can someone explain, if this is true? I'm not understanding the entire concept, and when to use which.
Unknown2011-04-21 14:17:59
If your wildcards are too open-ended, you end up matching on more lines more frequently than you have to. If your wildcards are too complicated, you may end up slowing down the regex matching itself. However, you're unlikely to notice a truly significant slowness from wildcards alone in MUSHclient.
Dynami2011-05-10 00:31:36
How would I go about sending something to a script (aka pausing Eth's system) and then sending something to the world (aka fling soulless)?
Sylphas2011-05-10 01:41:57
QUOTE (Dynami @ May 9 2011, 08:31 PM) <{POST_SNAPBACK}>
How would I go about sending something to a script (aka pausing Eth's system) and then sending something to the world (aka fling soulless)?


Send it all to script. Scripts can then send to the world with Send().
Faymar2011-05-10 08:19:56
QUOTE (Dynami @ May 10 2011, 03:31 AM) <{POST_SNAPBACK}>
How would I go about sending something to a script (aka pausing Eth's system) and then sending something to the world (aka fling soulless)?

I suppose there is an alias to pause the system. You can send the alias like this:
CODE
Execute ("system off") --system off is the alias that will pause the system, replace it with your own
Send ("fling soulless "..GetVariable ("target"))--by GetVariable ("target") I am assuming you are storing your current target in a global variable. Replace it with whatever AG uses

Don't forget to set the alias to send to script.

EDIT: don't forget to resume your curing (something like Execute ("system on")) when you get this message: The ominous silence lifts as your concentration is broken.
Liok2011-07-18 03:25:40
if "Tonumber("%1")" >= "12" then
Send("psi id heartburst @script_target")
elseif "Tonumber("%1")" < "12" then
Send("psi id throatlock @script_target")
end



AARRRGHHHHHHHHHH.

It's heartbursting regardless of the vessel count. Any help?
Unknown2011-07-18 08:14:13
CODE
if %1 < 12 then
  Send("psi id throatlock @script_target")
else
  Send("psi id heartburst @script_target")
end