Implementing plugins...some not working. 
		
		
		Hello folks!! 
	I posted this in the Discord as well. Figure might as well do same here. Below I will post two scripts/code. First one is a quest script "a_wood_elf_adventurer01" tied to a NPC that is spawned. Second is a plugin "wa_KillMode" that is used by the quest script. Now, as it is. The "a_wood_elf_adventurer01" script almost work wonderfully by itself. What I wish to do is to cut that script up and make plugins. The idea is to reduce script duplication, a common practice as seen many times over. So here I am, I made the "wa_KillMode" plugin. BUT, now the "a_wood_elf_adventurer01" does not even call upon the new plugin. I am having the same issue when I attempted to use Trevius's "plugin::RandomSay(chance(1-100), "message1","message2", etc..);" plugin. They are just not firing it seems. HOWEVER, "plugin::RandomWeapons(1, 11169, 50, 200, 230);" works flawlessly as many other s do as well. Perplexing to say the least. If anyone has ideas or knows what I am doing wrong, please let me know? -War  | 
		
 The first script... 
		
		
		Code: 
	#::: Usage:                        Have this script name match the NPC name in the database. | 
		
 The second script/plugin... 
		
		
		Code: 
	#Usage: plugin::wa_KillMode(); | 
		
 Bear in mind I gave up on the  
	HTML Code: 
	#plugin::RandomSay(chance(1-100)I just gave up on the plugin, although I wish I could use it.  | 
		
 Have my bugs worked out.  Will post what I made so far soon in the custom post. 
	 | 
		
 So it was just that this was missing in my sub script. All working and more now. Cheers!! 
	my $npc = plugin::val('$npc');  | 
| All times are GMT -4. The time now is 05:46 AM. | 
	Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.