ID:266656
 
This is the code I have it will compile but not work in-game and if it works how will I remove the /obj/ in the list thing?

Create()
set category = "GM Of GMs"
switch(input("Create What!?", "Select Something:") in list(typesof (/obj/)))
if(/obj/)
new /obj/(usr.loc)
view() << "[usr] creates a [/obj/]"

[EDIT]
Ok I've got it to work now how do I remove the wretched /obj/ before everything?

Create(O as anything in typesof(/obj,/mob))
set category = "Thief Verbs"
new O(usr.loc)
usr << "You create a [O]."
view() << "[usr] creates a [O]!"
Try typesof(/obj)-/obj.