Admin_Delete()
set name = "Admin_Delete"
set category = "Admin"
Admin_Delete(var/obj/o in view())
del o
//And I have this one, the one for regular people.
mob
verb
Delete(var/obj/o in view())
if(usr.key == o.owner)
del o
else
usr << "You didn't build this."
return
Problem description:
If I dont put "set category" and "set name" then EVERYONE wiill have Admin Delete.I need the admins to be able to delete anything, normal people only their stuff. But Admin Delete says "proc defenition not allowed inside another proc"
Because Admin_Delete seems to be a verb (which a verb is a little similar to a proc) and you named a proc after the verb (Admin_Delete), so change the name(s).