
While it is a necessary part of actions and control flow statements, a block can also be used standalone anywhere inside an action and can contain any code that is typically allowed within an action, including other blocks. Groups provide a way to combine actions into a single scope that they can be called from and share data with.īelow is an example definition of a group with no action: MyGroup '. Fix for setting and retrieving array values.Īction groups are similar to classes of programming languages.Added support for comments (/* comment text */) and the ! (not) operator.Added support for single line comments (// comment text).Improved support for the '!' (not) operator.Support for '-' (negative sign) for negative numbers.Added the ability to prioritize actions added to a action stream.IRC commands can now be used directly in a script by starting a line with /.Arrays are now ordered maps which means the index (key) can now be a string.Operator '-' now works to diff arrays and strings.Operator '+' now works to join two arrays.

This document provides all the information needed in order to use and understand this language. Auto Actions are constructed using a language that shares similar syntax to some of the most popular programming languages. Auto Actions are a powerful feature that Foo IRC provides to allow users to have more control over there IRC session by providing some functionality only seen in desktop IRC applications like mIRC.
