Parameters or "arguments" are passed to functions between brackets [ ] and separated by commas. You should not use extraneous spaces between the arguments or between the function name and the brackets.
Function arguments that begin with @ represent constants, variables or expressions that evaluate to a number, and arguments beginning with $ represent constants, variables or expressions that evaluate to a text string.
If you use a numeric expression as an argument to a function, you should enclose it with parentheses (unless the expression consists of a single function itself). E.g. $str[(12+6-18*2)] is valid but $str[12+6-18*2] could cause problems. For another example, $str[@len["this is a string"]] would be valid.
Function names shown in green are actually macros. See Macros.
General purpose functions
Logical
Math
Variables
User-created variable lists
Date & Time
String Handling
File I/O
Lists
Error handling
Database
MiscellaneousActive Worlds functions
Connect/Instances
@newinstance
Nearby List
Location and distance
Survey
Terrain
AW Attributes
Zones
Objects/Building
@objectadd
@objectload
@objectchange
Behavior Table
Action Buttons
Error Handling
Bot Bone Telegrams
Database