View Single Post
  #2  
Old 10-07-2015, 10:16 AM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default

This is what Ive got so far, however the $counts do not show in the emote...

Code:
sub EVENT_DEATH_COMPLETE{
	if(!defined($qglobals{"orcslay1"})){ $client->SetGlobal("orcslay1", "0", 7, 'F'); }
	my $CountOrcs = $qglobals{"orcslay1"};
			quest::ze(15,  "Dead orcs = " . $CountOrcs . "Dead Gnolls =" . $CountGnolls . "..."); 
			$client->SetGlobal("orcslay1", ($qglobals{"orcslay1"} + 1) , 7, 'F');}
Changed it bc it kept setting the orcslay1 global to 0...

Code:
sub EVENT_DEATH_COMPLETE{

	my $CountOrcs = $qglobals{"orcslay1"};
			$client->SetGlobal("orcslay1", ($qglobals{"orcslay1"} + 1) , 7, 'F');
			quest::ze(15,  "Dead orcs = " . $CountOrcs . "Dead Gnolls =" . $CountGnolls . "...");}
However, the count will not exceed 1, and the ze will not give the quantity...
Reply With Quote