ID:2004029
 

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.

Perhaps it's an indentation error, try showing us your code within dm tags, just like this <\dm> <\/dm> without the backslashes

Hello world!
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 &lt; for < and &gt; for >, so you don't have to do such janky things.
<dm>

Today I learned.
In response to Rushnut
mob/Konan
verb
ExplosionPaper(mob/M in oview(usr))
set category = "Jutsus"
set name = "Explosion Paper"
usr.Handseals()


Like this Rush?
In response to SirGaspar
SirGaspar wrote:
> mob/Konan
> verb
> ExplosionPaper(mob/M in oview(usr))
> set category = "Jutsus"
> set name = "Explosion Paper"
> usr.Handseals()
>

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.