ID:177776
 
What is wrong with this?

mob
verb
Start()
if(src.z < 13)
sleep(10)
src.z++
if(src.z >= 14)
del mob/verb/Start

Here's the errors...

verbs.dm:8:error:mob:undefined var
verbs.dm:8:error:verb:undefined var
verbs.dm:8:error:Start:undefined var

I want it to del the start verb after the 4'th z.level.

Punkrock546</13>
I think you mean you want to remove the verb from the list,

verbs.Remove(/mob/verb/Start)
Punkrock546 wrote:
What is wrong with this?

mob
verb
Start()
if(src.z < 13)
sleep(10)
src.z++
if(src.z >= 14)
del mob/verb/Start

Here's the errors...

verbs.dm:8:error:mob:undefined var
verbs.dm:8:error:verb:undefined var
verbs.dm:8:error:Start:undefined var

I want it to del the start verb after the 4'th z.level.

Your syntax for removing the verb is totally wrong. The verb isn't a datum, so you can't use it with del(), and "mob/verb/Start" isn't a valid syntax for referring to anything inside a proc (you'd have to put a / in front to have a proper type path).

To remove the verb from src, use this:
src.verbs-=/mob/verb/Start

Lummox JR
In response to Super16
Thanx that worked.

Punkrock546