mob
proc
Gain(add,g,f,a,u,c)
var/Z=add
Z+=g
if(f) F_damage(src,g,"#32cd32")
if(a) view(src)<<"You gained [g] [u]!"
if(c) call(src,text2path(c))()
Garp(p,add,g,f,a,u,c)
var/stat/Y=vars[add]
if(!p) Y.val+=g
else Y.maxval+=g
if(f) F_damage(src,g,"#32cd32")
if(a) view(src)<<"You gained [g] [u]!"
if(c) call(src,"[text2path(c)]")()
Okay() src<<"DEE DEEE" // test verb
Problem description:
I can't get to use the Call() proc correctly, could anyone please help me with how I'd set up a proc such as that Okay() one?
Thanks in advance,
Rick