Thread: Group Tasks
View Single Post
  #5  
Old 04-17-2014, 10:16 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Quote:
Originally Posted by Kayen View Post
This is one method, there are other methods.

Code:
$Group_ID = $client->GetGroup()->GetID();
		
my @clientlist = $entity_list->GetClientList();
	
foreach $cur (@clientlist) 
{
	if ($cur) 
	{
               if ($Group_ID)
			{
				if ($cur->GetGroup())
				{
					$Client_GroupID = $cur->GetGroup()->GetID();
                                       {
                                        Shout("We are in the same group");
					}
				}
}}}}
Thanks abunch, I'm going to play a bit of Smite with my bud for an hour or so then play with this and see if I can get it to work. I've got some ideas for how I'll do it, and, this will definitely help.
Reply With Quote