ID:271043
 
Well, I'm have trouble with macros. So I guess this doesn't cut it?:

macro
z return "Attack"
q return "World Say"


And yes, I have
client
command_text = ".alt "
You need to set client/script either to a text string holding your first block code, or to a .dms file holding it.

client/command_text = ".alt " Just makes 'macro mode' on by default, as if the player pressed the ALT button next to DS' command line.
In response to Kaioken (#1)
Kaioken wrote:
You need to set client/script either to a text string holding your first block code, or to a .dms file holding it.

Could you give me a example of the first one?
In response to Masuko Shintaro (#2)
First approach: (all of these produce the same effect)
//probably most convienent way ("text document" (look up 'text' in the reference) way):
client/script={"\
macro
z return "Attack"
q return "World Say"\
"}

// (the backslashes are for escaping the newlines. in a "text document", you can put newlines, and unescaped double quotes)


//OR
client/script="macro\n z return \"Attack\"\n q return "World Say\""


Second approach:
client/script='myfile.dms'

inside myfile.dms:
macro
z return "Attack"
q return "World Say"
In response to Kaioken (#3)
But I already have script = "<STYLE>BODY {background: black; color: #999999;font-size: -2;font-weight: bold;font-family:Tahoma}</STYLE>"
In response to Masuko Shintaro (#4)
Just put both that and the macro block in the text string (or dms file) together.