View Single Post
09-17-09, 08:15 PM   #9
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
This is the line i think that does it in leafLFG im trying to understand how it works....

Code:
local function GetLFGStatus()
 	local _, _, _, _, _, _, _, _, _, _, lfg, lfm = GetLookingForGroup()
	return lfg or lfm, lfg, lfm
end
I have no idea though how that line there works haha i know it later goes into play with this line...

Code:
if GetLFGStatus() then
			playerDisable = GetGroupStatus()
			Leave()
Leave() is defined with the ClearLookingForGroup() ClearLookingForMore() tags.

Attempting to write something similar as we speak....
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote