set category = "Owner"
switch(alert("What Do You Want To Do Create?","","Object","Turf"))
var/T = input("Type In The Objects ID") as text|null
for(var/obj/O as null|anything in typesof(/obj))
if(O.ID == "[T]")
var/obj/OB = new O(usr.loc)
view()<< "<font color=green>[usr]:Creates A [OB.ID]"
hi, its been awhile since being on here and im trying to get to know coding again, I am trying to make my Create verb more better by giving lets say objects and ID, then using the create verb to type the object ID to create it. I get an error when I use the verb and does not create anything, anyone have any ideas where im going wrong in the code. thanks: