Quote:
: = #all
I gather this is to send to all worlds?
There is a plugin that does that, see this page:
http://www.gammon.com.au/mushclient/plugins/
Look for "Multiple_Send".
Once installed you can type: #all <something> to send that to all open worlds.
If you also meant use ":" instead of #all, you can use this alias, which redirects to #all:
<aliases>
<alias
match=":*"
enabled="y"
send_to="10"
sequence="100"
>
<send>#all %1</send>
</alias>
</aliases>
See http://www.mushclient.com/pasting for how to paste that direct into the client.
(You also need to install the Multiple_Send plugin as the alias uses that to send to all worlds).
Quote:
@ = variable
Inside aliases, you can check the "expand variables" box to have @variable-name expanded out.
If you mean, on the command-line, as you type things, you could install the plugin below, and that will expand variables as you type them (in the command window).
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Wednesday, March 26, 2008, 4:13 PM -->
<!-- MuClient version 4.19 -->
<!-- Plugin "Expand_Variables" generated by Plugin Wizard -->
<muclient>
<plugin
name="Expand_Variables"
author="Nick Gammon"
id="1ead7a8396869ebbfd495f7e"
language="Lua"
purpose="Expands instances of @variable on the command line"
save_state="y"
date_written="2008-03-26 16:09:37"
requires="4.00"
version="1.0"
>
</plugin>
<!-- Script -->
<script>
<![CDATA[
function OnPluginCommandEntered (sText)
return string.gsub (sText, "@[A-Za-z0-9_]+",
function (v)
return GetPluginVariable ("", v:sub (2)) or v
end )
end -- function OnPluginCommandEntered
]]>
</script>
</muclient>
Save between the lines as Expand_Variables.xml, and install that as a plugin.
Quote:
# = commands (#save,#connect,#disconnect,#alias,#key)
First, if you make "/" (or anything you want) as the scripting prefix (in scripting configuration), you could simply do things like:
/Disconnect () -- disconnects you
/Connect () -- connects you
/Save ("") -- saves the world configuration
You have to get the capitalization right, and use the brackets, because these are script commands. If you really want to just type "#connect" then you could make an alias:
<aliases>
<alias
match="#connect"
enabled="y"
send_to="12"
sequence="100"
>
<send>Connect ()</send>
</alias>
</aliases>
That simply makes an alias "#connect" that does the script command "Connect ()" - you could do similar things for other operations.
Quote:
I like to multiplay, but I also like sharing a single prompt between windows. Every time I ctrl-tab between "worlds", the command prompt switches. Is there a way to send the same input to all command lines?
Do you mean, to update the command lines in all windows, if you type something into one of them?
Quote:
Scrolling--I actually like the zmud scrolling when set to "1".
What is that exactly? |