Other great resources: Official JS API docs, Scripting Forum
The constants are generally used with chat features (chat() and eventChat()) or game object enumeration (enumRange() or enumArea()).
Note: The functions listed also allow chatting or filtering to a specific player via their player ID.
Requires:
Chat-related features:
Enumeration-related features: