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.
</<>
ID:144497
![]() Nov 13 2006, 6:44 am
|
|
![]() Nov 13 2006, 6:45 am
|
|
it is on a line before this code
|
There is a typo in the code above what you posted. Post more code that comes before this and maybe I can find it
|
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 |
Yes I saw... now you must die *slits your wrist*
Hah, no more typing for you :] Anyways, we are digressing. - 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. I found the problem. It was in the 'get' verb. Thanks for the tip. |