View Single Post
  #1  
Old 06-19-2009, 11:45 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default Giving weapons to chanter pets

I have borrowed this code from another thread in order to arm chanter pets with actual weapons.

Code:
sub EVENT_SPAWN 
{
	quest::settimer("tmr1", 1);
}

sub EVENT_TIMER 
	{	
	if ($timer eq "tmr1") 
	{
	quest::stoptimer("tmr1");
	quest::addloot(1025,1);
	quest::addloot(2801,1);
	quest::emote(" arms itself."); 
	quest::doanim(9);

	}

}
I named the file 500.pl (the id of first level chanter pet). If I place it folder for any actual zone - it works fine in THAT zone.

But how do I make it so it works in ALl zones by default?
I have tried:

-placing it into Templates folder
-placing it into Plugins folder outside
-placing it the root of Quests folder

no effect.

could someone advise?
thanks!
Reply With Quote