ID:144497
 
Code: inventory()
usr << "You are carrying:"
for (var/obj/O in usr.contents) usr << O



The errors were: "testworld3.dm:54:error: inventory: missing comma ',' or right-paren ')'
testworld3.dm:54:error: inventory: expected end of statement", but i can't find the problem.


</<>
it is on a line before this code
In response to Magicsofa
what are you talking about?
In response to Armiris
There is a typo in the code above what you posted. Post more code that comes before this and maybe I can find it
In response to Armiris
Argh, place the code WITHIN the tags next time please.

Some errors (like the missing quote I believe) usually gives the line after the actual location of the problem. Try checking a few lines before/the DMC file before the current one, as I see nothing wrong with the one you posted.

- GhostAnime
In response to GhostAnime
lmao me first
In response to Magicsofa
Yes I saw... now you must die *slits your wrist*

Hah, no more typing for you :]

Anyways, we are digressing.

- GhostAnime
In response to GhostAnime
GhostAnime wrote:
Some errors (like the missing quote I believe) usually gives the line after the actual location of the problem. Try checking a few lines before/the DMC file before the current one, as I see nothing wrong with the one you posted.

- GhostAnime

I found the problem. It was in the 'get' verb. Thanks for the tip.