ID:178416
 
here is my code:

mob
pet
dog
tan
icon = 'dog.dmi'
icon_state = "dog"
name = "Doggy"
var
love = 1
verb
Pet(mob/pet/dog/tan in oview(1))
flick('dog.dmi',src)
flick("wag",src)
sleep(2)
usr << "Good doggy"
src.love += 1

and here is my dilema:
I want to make it so that when you pet the animal he wags his tail, I have made all the neccesary icons and the verb is showing up, but it is only doing the message not the flick. I have also tried making it so that the verb only pops up when you get within one square of the animal, that don't work and finnaly I need to know if I had a var set at 0 and it had a verb that made it equal 1, how could I make it so that the var only will equal one for lets say, 2 seconds
I can answer your second question:
        verb
Pet(mob/pet/dog/tan in oview(1))
flick('dog.dmi',src)
flick("wag",src)
sleep(2)
usr << "Good doggy"
src.love = 1
sleep(20)
src.love = 0
In response to Garthor
In response to EvilGotenks
*shrug* sorry, don't know :(