In response to Steem
|
|
It'd be helpful if you showed us the whole thing.
|
In response to Roara
|
|
i have a couple of times this is it's current state
mob icon = 'person.dmi' Login() icon_state = gender ..() verb world << "[usr]: [msg]" |
In response to Steem
|
|
SHUT UP. THIS IS A FORUM. YOU CAN SPARE A FRACTION OF A SECOND TO TYPE PROPERLY. DAMNIT.
And your problem is that you keep on just copying and pasting things, all of which have different indentation. Write it YOURSELF, and indent it YOURSELF. |
In response to Garthor
|
|
Hey!! He started complaining about my spelling..
|
In response to Steem
|
|
mob See those last two lines? There's the problem. Try this instead: verb say(var/msg as text) world << "[usr]: [msg]" |
In response to Steem
|
|
No, he started complaining about the fact that you're a lazy, inconsiderate, ungrateful... I don't even know a word or phrase to put here that wouldn't get this post edited. If you expect people to go through the effort of helping you, you could at least exert the miniscule effort of writing a coherant post.
|
In response to Garthor
|
|
thats the first time i spelt wrong through this whole topic
|
In response to Steem
|
|
Steem wrote:
thats the first time i spelt wrong through this whole topic Then that'd be the second time. Spelled, young one, not spelt. :) |
In response to Steem
|
|
Would "spelt" be considered a spelling error, or grammar error? Spelt so happens to not mean the same thing as "spelled". ;)
|
In response to Roara
|
|
tutorials shouldnt have these problems..
Test world.dm:34:error:say :duplicate definition Test world.dm:6:error:say :previous definition thats whats coming up now :/ |
In response to Steem
|
|
Correct me if I'm wrong, but this is the fourth time I'm telling you this: YOU HAVE SAY DEFINED TWICE! GET RID OF ONE!
|
In response to JohnReaper
|
|
the other helper guy suggested putting it in lol
|
In response to JohnReaper
|
|
Please ignore John Reaper.
He doesn't see the whole problem. Neither do you, sadly. Please show us every bit of the code. Everything from the first line to the very last. |
In response to Steem
|
|
Test world.dm:33:error:<< :invalid proc definition
got 1 error still without the "say" mob icon = 'person.dmi' Login() icon_state = gender ..() verb world << "[usr]: [msg]" since i deleted the say would that msg thing at the end have to be altered? |
In response to Roara
|
|
whole code
//This is a test world created by mike on friday. mob icon = 'person.dmi' verb say(msg as text) world << "[usr]: [msg]" //what the usr says is passed into "msg" as text //the world sees chatroom-like output //make it so all mobs will be created with the person icon turf grass icon = 'grass.dmi' //defines a "grass" prototype, which is a kind of turf... //and has an icon named 'grass.dmi'. In single quotes! world turf = /turf/grass //we set one of our world's characteristics: //its default turf is the grass turf. mob icon = 'person.dmi' Login() icon_state = gender ..() verb world << "[usr]: [msg]" //makes it so all mobs will be created with the person icon //when a player logs in, make their icon's state //the gender of their key. Then call the parent! //The world sees chatroom-like output |
In response to Steem
|
|
Now your problem is that you have a verb with no name! Take out "verb" and the line after it.
|
In response to Steem
|
|
Without the say there, the whole
world << "[usr]: [msg]" Is completely useless. Please put the say thing back. And then show us the WHOLE code. From the first to last line. |
In response to Roara
|
|
Actually, it was a clear error. You're ignorant to think I didn't know the problem to duplicate definitions.
|
In response to Steem
|
|
Steem wrote:
mob Please delete that part at the top of the code. And put the say(msg as text) back at the bottom, between verb and world << "[usr]: [text]". Oh, and remember to reindent that part properly. |
world << "[usr]: [msg]"
(got 3 tabs)