QUOTE (Lenneth @ Oct 20 2009, 04:28 PM)

I'm using Acropolis right now and I see things in parentheses, box brackets and curly brackets but I don't know what it does exactly. Can someone explain and maybe add other punctuations that Zmud uses?
The most common four symbols you'll see are as follows.
Pound sign: #
Percent sign: %
Parentheses: ()
Curly brackets: {}
The pound sign is used for command. These typically start a line, or are inside another command. For example, #trigger means what follows is a trigger. A trigger looks for incoming text and responds how you want if it matches.
This brings us to curly braces. Curly braces are most commonly used to group parameters. For example, in that #trigger command above, we use it to tell it what the pattern is, and what the response will be.
A quick example is: #trigger {Lisa smiles.} {smile}
This will, if it sees Lisa smile, make you smile. Without the {} it wouldn't know what part is what.
Parentheses are used most often in if statements. It look like: #if (condition) {do this}. Now, we could only want to smile back at Lisa if we're happy. We would do that like this: #trigger {Lisa smiles.} {#if (@happy) {smile}}
See how I nested those? The whole #if statement went within the {} that is the trigger response.
Another use of parenthesis is when we use percent signs - which are functions. A very common one is %eval, which evaluates a statement. For example, %eval(5+6) will return 11. The main difference between functions are commands is a function -returns- something. It looks at something, figures it out, and gives you the result. A command -does- something. It can make a trigger, alias, timer, or even make a decision like with the #if statement.
If there's anything specific you are curious about, that I didn't answer here, or didn't answer well enough, just ask!