View Single Post
01-10-21, 08:12 PM   #3
Shabblahabbla
A Murloc Raider
Join Date: Jan 2021
Posts: 5
Originally Posted by Seerah View Post
Your syntax is wrong. You're assigning to a variable on the line where you want to check it.

Just use:
Lua Code:
  1. if GetPartyMember(3) then
Hey, thanks!
So the thing I want it to do is still not happening with that correction.
Btw, the code i showed is my whole code for my core of my little addon.
I guess im missing something before the IF statement.
I see most addons have:

local function ...

as their first line for alot of things.