quick syntax question

Simple syntax question I cant figure out,

i can type

if(variable) then
–code
end

so it executes on true,

whats the lua syntax for if false?
for example

if (!variable) then
–code
end

this returned an error

cheers! [import]uid: 67185 topic_id: 15132 reply_id: 315132[/import]

It’s like this:

if not variable then  
--code  
end  

-Angelo [import]uid: 12822 topic_id: 15132 reply_id: 55978[/import]

thanks :slight_smile: [import]uid: 67185 topic_id: 15132 reply_id: 55996[/import]