ID:179568
 
Well, by default the default chat command is "say" What if I want to set it, let's say to "Talk" instead?
This cannot be done as far as I know.
Alpro wrote:
Well, by default the default chat command is "say" What if I want to set it, let's say to "Talk" instead?

that's pretty simple, this is the code:
mob
verb
say(msg as text)
world << "[usr]: [msg]"
In response to Vinterbiff
That's not what he meant, I do believe he wanted to set the default command which can only be done with "say " and ".alt"
In response to Cinnom
You can only set command_text = .alt and say , he wanted to set it to set it to "Talk" which won't work.
In response to Nadrew
It worked when I set it to "test" just now.
In response to Cinnom
This must have been put in after 304, last time I tried it gave me a run-time error.
In response to Nadrew
The reference says 'such as "say " ' meaning that say was an example. Here's how you would do it (assuming Talk is your verb):

client
command_text = "Talk "

I'm pretty sure that command_text can be used to set any verb you want the user to use by default, but is best for verbs requiring the user to type text into.
In response to Evilkevkev
Yes, it works the last time I tried it I got an error. (Which is why I think this was just added)
In response to Nadrew
Aaaah....I see! Thanx folks! :)