Page 1 of 1

buff command

Posted: Wed Feb 06, 2013 5:46 am
by Miguel
Hi

Unfortunately I have not found here in the forum so I ask here if anyone can help me.

I'd love to know the script command how can I have the magic perfume click automatically after 6 hours again

Re: buff command

Posted: Wed Feb 06, 2013 5:48 am
by lisa
in your profile onleavecombat just add this

Code: Select all

	if not player:hasBuff(503479) then -- pet perfume
		inventory:useItem(207582)
	end
It will check if you have the buff or not everytime you leave combat, if you don't have the buff it will use the potion.

Re: buff command

Posted: Wed Feb 06, 2013 3:17 pm
by Miguel
ok thanks for the help