Enter key
The put a newline into the text to be sent simply press Ctrl+Enter when typing in the macro or alias. You will see the linebreak in the "send" box on the screen and multiple lines will be sent.
Cursor placement
Sounds like this system is more interactive than MUSHclient's. In this case I would just use a wildcard. eg. To greet someone:
match: greet *
send: whisper %1 'Hi! Nice to meet you!
This saves the two-step process you describe. You simply type:
greet nick
and MUSHclient will send:
whisper nick 'Hi! Nice to meet you!
Prompt me
Again I would use a wildcard, but you can do the message box like this (copy and paste this into MUSHclient):
<aliases>
<alias
match="k"
enabled="y"
send_to="12"
sequence="100"
>
<send>who = InputBox ("kill who ...", "MUSHclient")
if who <> "" then
Send "Kill " & who
end if</send>
</alias>
</aliases>
What this does is use the InputBox script command to pop up a box, and then send the resulting text (with the word "kill" in this example) to the MUD.
Pauses
Do do a pause, make an alias like this:
match: at
send:
Send "attack troll"
DoAfter 3, "stance defensive"
send to: script
This sends "attack troll" now, and after 3 seconds, sends "stance defensive"
Rest mode
To do things every minute or two, you need to add a timer.
eg.
Every: 2 minutes
Send: act snores softly.
Label: rest
If you want to turn it on and off you can make an alias (eg. "rest") like this:
match: rest
send: EnableTimer "rest", 1
send to: script
And, another timer to cancel resting:
match: norest
send: EnableTimer "rest", 0
send to: script
The other things
Quote:
{magic} pops up the Magic Menu when you press that key.
I'm not sure all these are serious questions. MUSHclient doesn't have a Magic Menu, so you can't really have a key to display it.
However, all of the things that you can do from MUSHclient menus, you can also do from scripting by using DoCommand. See this page:
http://www.gammon.com.au/scripts/doc.php?function=DoCommand
For example:
DoCommand "copy"
would do the Copy menu item.
MUSHclient is different from your other program, but can do heaps of things. Rather than trying to do exactly what your other client does, in the same way, browse the help files, and read some of the earlier forum posts, to find people doing things similar to what you want.