View Single Post
03-27-09, 05:30 AM   #11
Eggi
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 10
Originally Posted by Torhal View Post
Slight problem:

Code:
	if( not buff_name ) then
		break;
	end
This will cause the loop to exit whenever a buff name is not found, so if for example the first buff doesn't exist it will never check for the others.
As soon as there is a buff without a name he can stop it because then there are no more buffs left (I don't think that there is a buff that has no name).
  Reply With Quote