ID:145441
 
Code:Create Head of House
        Create_Head_Of_House(mob/M in world)
set category = "Commands"
if(usr.key=="VolksBlade")
switch(input("Grant What House?","Head of House")in list("Rboy","Gboy","Sboy","Hboy"))
if("Rboy")
world<<"<font size=4><font color=blue>[M] has been granted Head of Raven Claw"
M.icon='MHR.dmi'
if("Gboy")
world<<"<font size=4><font color=red>[M] has been granted Head of Gryffindor"
M.icon='MHG.dmi'
if("Sboy")
world<<"<font size=4><font color=green>[M] has been granted Head of Slytherin"
M.icon='MHS.dmi'
if("Hboy")
world<<"<font size=4><font color=green>[M] has been granted Head of Slytherin"
M.icon='MHH.dmi'


Problem description:System\Admin.dm:313:error: proc definition not allowed inside another proc. it points to
set category = "Commands"



Is it a verb, proc, ...?
Anyhow, it defaults to "Commands", so you can just leave that out anyway.