if(usr.Pet)
usr << "[BadMessage]You already have a pet Out"
It would give me that error message once for every Pet it found and here var/K = input("Which slot do you want to Revive?","[usr.Pet]")in list("Slot One","Slot Two","Slot Three","Slot Four","Cancel") it would give me the choice to Revive once for every pet it found.I would like to know what i should do.I Hope i explained my problem well enough so you can understand it.
if("Revive")
for(var/mob/Pets/T in usr)
if(T)
if(usr.Pet)
usr << "[BadMessage]You already have a pet Out"
else
var/K = input("Which slot do you want to Revive?","[usr.Pet]")in list("Slot One","Slot Two","Slot Three","Slot Four","Cancel")
switch(K)
if("Slot One")
if(T.PetSlot == 1)