# AIML Cookbook On this page, we'll start to publish common ways to achieve things using AIML. This will take the tutorial to the next level and we'll explore easy ways to accomplish what at times may appear complex. AIML is powerful and there is typically more than one way to achieve what you want to do. The cookbook will always try and give you the most efficient way to achieve it and give you the reason why its the most efficient. # Variables ## Bot variables ## Global variables ## Local Variables ## Saving Variables # Control Structures ## How do I loop ## If statement ## If then else statement ## Switch Statement ## For loop ## Do loop ## While Loop # Handling Empty Responses ```xml ASK WIKIPEDIA * YASKWIKIPEDIA * Nothing from Wikipedia ```