ID:2004029
Dec 23 2015, 10:19 am
|
|
I have a problem that look like simple, but at same time nonsense. That's the code: mob/Konan verb ExplosionPaper(mob/M in oview(usr)) set category = "Jutsus" set name = "Explosion Paper" usr.Handseals() ----------------------------------------------------------------- I get "error: : : invalid expression" on the first line (mob/Konan). I used mob/Konan many times, and that only get problem here. |
Dec 23 2015, 10:23 am
|
|
Perhaps it's an indentation error, try showing us your code within dm tags, just like this <\dm> <\/dm> without the backslashes
|
In response to Rushnut
|
|
Rushnut wrote:
try showing us your code within dm tags, just like this <\dm> <\/dm> without the backslashes You can write < for < and > for >, so you don't have to do such janky things. |
In response to Rushnut
|
|
mob/Konan Like this Rush? |
In response to SirGaspar
|
|
SirGaspar wrote:
> mob/Konan Like this Rush? For procedures try use src, no usr. Also check your previous file with code. Maybe you forgot close () or you click ' |
I get "error: : : invalid expression" on the first line (mob/Konan). This almost always means the line before has an empty spawn/proc/verb/for statement. It happened to me yesterday when i had forgotten to add the actual code to a spawn block check the line before, if this is the first line in the file, check the last line of the previous checked file in the tree, as DM combines all files internally, so syntax errors of 1 file can leak into the next. |