Player says: Hello everyone!
with:
mob
verb/say (msg as text)
world << "[usr] says: [msg]"
How would I accomplish this, however:
Player says, "Hello everyone!"
I assume there is a format for including quotes in text strings.
Thanks much,
-- John
ID:179495
Dec 16 2001, 12:17 pm
|
|
It is very simple to program a verb to do this:
Player says: Hello everyone! with: mob verb/say (msg as text) world << "[usr] says: [msg]" How would I accomplish this, however: Player says, "Hello everyone!" I assume there is a format for including quotes in text strings. Thanks much, -- John |
In response to AbyssDragon
|
|
[No text]
|
In response to Felegar
|
|
And you can also use " around it, which will output
". |
world << "[usr] says, \"[msg]\""
-AbyssDragon