ID:169694
 
You know in games where you have to press somethig like World Chat repeatedly to talk to people in the world?

Well how do I go about making a code that if you press it once, all you have to do is type in whatever you want (in the pink bar at the bottom of Dream Seeker) and press enter and make it so everyone in the world can see what you just typed.

If you are confused about what I just Said. say something and I'll rearrange it for you.

I know this can be done, But I don't know how to do it.

Thank in advanced!
One way you might accomplish this is to set client.command_text to "World-Chat "
mob/verb/World_Chat(T as text)
client.command_text = "World-Chat "
if(T=="off")
client.command_text = ""
return 0
world << "[name]: [T]"

The player would then send the message "off" to disable it to make things go back to normal.
In response to Loduwijk
Thanks.