on my game the only thing that stops me is a code. the code is the world << "[usr]: [msg]"
will some one help?
ID:149818
Feb 13 2002, 1:27 pm
|
|
Pizzaro wrote:
on my game the only thing that stops me is a code. the code is the world << "[usr]: [msg]" What about that line is not working? What is the output? Are there any errors when you try to compile it? |
In response to Super16
|
|
I have two errors with
world << "[usr]: [msg]" the errors are two Inconsistant Indecation. |
In response to Pizzaro
|
|
Super16 do I put that?
|
In response to Pizzaro
|
|
Pizzaro wrote:
Super16 do I put that? Yes but you need to tab it right. Don't tab the first line. Tab the second line once. But first backspace. |
In response to Pizzaro
|
|
Pizzaro wrote:
I have two errors with You have two lines of code which are not lined up properly. Notice how Super16's second line of code is indented as compared to the first? Dream Maker reads the space before the words. If you are curious about what happened in your code, I suggest you post a pasted copy of the proc or verb you are making. If Super16's say verb is all you need, you might as well use it. You will know/learn how to indent properly at some point while coding in Dream Maker anyway. (Otherwise, you can't get anything done.) |
In response to Super16
|
|
It worked, thanks!
|
mob/verb/Say(msg as text)
world<<"[src.name]: [msg]"