Update glua snippets

Add a "if then" snippet