mob
icon = 'person.dmi'
Login()
icon_state = gender
..()
verb
say(msg as text)
world << "[usr]: [msg]"
it says
Test world.dm:30: Inconsistent indentation.
Test world.dm:31: Inconsistent indentation.
Test world.dm:33: Inconsistent indentation.
Test world.dmb - 5 errors, 0 warnings (double-click on an error to jump to it)
ID:171869
Jul 30 2004, 9:02 am
|
|
Jul 30 2004, 9:03 am
|
|
that means ure indentation isnt rite, like u mite of used tabs and spaces, if u have both tabs and spaces than make sure u only use 1.
|
In response to Artekia
|
|
mob
icon = 'person.dmi' Login() icon_state = gender ..() verb say(msg as text) world << "[usr]: [msg]" my new code now it says this instead. Test world.dm:33:error:say :duplicate definition Test world.dm:6:error:say :previous definition Test world.dm:29:error::empty type name (indentation error?) |
In response to Steem
|
|
You have used "say" in a procedure/verb twice, you can only use it once.
|
In response to JohnReaper
|
|
dam now i got this lol
Test world.dm:32:error: proc definition not allowed inside another proc |
In response to Steem
|
|
Where is the line that's cursed?
|
In response to JohnReaper
|
|
one of these.
mob icon = 'person.dmi' Login() icon_state = gender ..() verb world << "[usr]: [msg]" |
In response to Steem
|
|
*shakes his head* You have it indented all wrong!
mob That's how you'd fix it. |
In response to JohnReaper
|
|
lol all my other codes are using tabes not spaces btw and this is what happend when i put that in
Test world.dm:30: Inconsistent indentation. Test world.dm:32:error: verb: expected end of statement Test world.dm:33: Inconsistent indentation. lol... |
In response to Steem
|
|
Did you indent it properly?
|
In response to JohnReaper
|
|
i coppied and pasted in wot u put
|
In response to Steem
|
|
this is what it told me to put in
mob icon = 'person.dmi' Login() icon_state = gender ..() verb say(msg as text) world << "[usr]: [msg]" |
In response to Steem
|
|
I refuse to help until you rephrase that last post, rephrase it so everything is spelled correctly (at least).
|
In response to Steem
|
|
That should work.
|
In response to JohnReaper
|
|
with the spelling if ur reffering to the "wot" thats quick type for what..
|
In response to JohnReaper
|
|
thats what i thought but its still giving me all this duplicate definition lark..
Test world.dm:34:error:say :duplicate definition Test world.dm:6:error:say :previous definition (this was using what zilals tutorial told me to use) |
In response to Steem
|
|
That means you have say defined twice! Get rid of one.
|
In response to JohnReaper
|
|
ok cool that got rid of 1 of those errors now i still got this 1
Test world.dm:34: Inconsistent indentation |
In response to Steem
|
|
That error means you're indenting something incorrectly! Double click the error to find out where the error is.
|