ID:171462
 
Okay, can someone tell me how I can type something more than once without this error showing up? I'm new to coding. (Just started last night, in fact.)

Also, I make a line of code and it says "This value is not allowed here", yet it Nadrew's Levelling Tutorial, it is written the same way.
First, this should be in Newbie Central.

Second, no, you can't define something more than once. You can override previous definitions, though.

Third, the lines may be the same, but where they are makes a difference.
In response to Garthor
Wait, no, I mean... Blah.

I'm not trying to define it again, only to use the value again.

I don't really know how to explain it. I'll get back to this when I can spell it out better. =/
In response to JoshDB
Why not just, you know, show some code?
You redefine vars like this:

mob
var/HP=10 // Default of 10 health for most mobs

player
HP = 50 // Players get 50 HP

monster
bigbadmonster
HP = 1000


You omit the "var/" bit when you're redefining it.

The same principle applies to procs and verbs; you omit the "proc/" and "verb/" bits respectively to redefine them.

Also, I make a line of code and it says "This value is not allowed here", yet it Nadrew's Levelling Tutorial, it is written the same way.

You need to show the code you're trying to enter.