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]!"
ID:266656
May 10 2002, 9:34 am (Edited on May 10 2002, 9:40 am)
|
|
May 10 2002, 1:24 pm
|
|
Try typesof(/obj)-/obj.
|