i have a couple of times this is it's current state
mob icon = 'person.dmi' Login() icon_state = gender ..() verb world << "[usr]: [msg]" |
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. |
mob See those last two lines? There's the problem. Try this instead: verb say(var/msg as text) world << "[usr]: [msg]" |
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.
|
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. :) |
Would "spelt" be considered a spelling error, or grammar error? Spelt so happens to not mean the same thing as "spelled". ;)
|
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 :/ |
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!
|
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. |
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? |
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 |
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. |
Actually, it was a clear error. You're ignorant to think I didn't know the problem to duplicate definitions.
|
world << "[usr]: [msg]"
(got 3 tabs)