ID:266194
 
mob/verb/Login
switch(alert("What class are you?",,"Knight","Mage"))
if("Knight")
mob/knight
icon='knight.dmi'
Login()
loc=locate(/turf/start)



Why wont this work?It says THEREALMS.dm:27:error: proc definition not allowed inside another proc


Why won't it work? The first problem is that you don't know what you're doing. The second problem is that you left out the () that must surround the arguments any proc takes (even if it takes no arguments).

I suggest, though, that you remedy the first problem before you bother to correct the second problem.