Give(var/mob/m in world)
set category="Admin"
verb
Exp(var/mob/m in world)
var/Amount = input("How much Exp. Points do you wish to give?","Give") as num
if (Amount < 0)
return()
if(m.client)
m << "<B>You are given [Amount] exp by the gods.</B>"
src << "<B>You have given [m] [Amount] exp.</B>"
m.Exp += Amount
TakeExp(var/mob/m in world)
set category="Admin"
if (Amount < 0)
return()
if(m.client)
var/Amount=input("How much EXP would you like to take?","Exp Taking") as num
m << "<B>[Amount] exp has been taken by the gods.</B>"
src << "<B>You have taken [Amount] exp from [m].</B>"
m.Exp -= Amount
Problem description:
Armor.dm:194:error: proc definition not allowed inside another proc
I originally had each verb separate and I was going to add separate verbs for other attributes. SO I decided to make one verb that allows me to pick which one I want to do but I always get the error, Armor.dm:194:error: proc definition not allowed inside another proc . And I had it earlier when I tried to put a verb under an onclick thingy as well.
Any ideas?