Hello, I'm currently learning how to script by myself and i'm running into difficulties. My problem is that I cannot put a table into a condition. I would like my variable to be equal to one of my table's datas.
Here is what I've done :
table = {1,2,3,4,5}
variable = guiCreateEdit(50, 50, 50, 21, "", false)
if variable == table then
outputChatBox("test",125,0,0)
else outputChatBox("problem",125,0,0) end
ChatBox shows : problem