Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

messagedata   (table)   
A table containing information about the message.

clearChat

Code Block
languagelua
function clearChat( )

...

recipients   (string (or table))   [optional]
A string (or integer indexed table of strings) containing the user name(s) of the desired recipient(s)

deliverOOBMessage

Code Block
languagelua
function deliverOOBMessage( tabledata, [recipients] )

...

recipients   (string (or table))   [optional]
A string (or integer indexed table of strings) containing the user name(s) of the desired recipient(s)

onReceiveOOBMessage

Code Block
languagelua
handlerfunction onReceiveOOBMessage( tabledata )

...

tabledata   (table)   
A LUA table object.

registerSlashHandler

Code Block
languagelua
function registerSlashHandler( command, callback, helptext )

This function registers a handler function that will be called if the specified slash command is requested.

...

callback   (function)   
The LUA function that will be called when the specified slash command is requested.

helptext (string or table)

The string to append to the command in the default help output to indicate usage. If a table is used, it is assumed to be a numerically-indexed table of strings, and multiple entries will be added to the default help output.

setChatMood

Code Block
languagelua
function setChatMood( message )

...

message   (string)   
The text message to display as mood text.

throwDice

Code Block
languagelua
function throwDice( dragtype, dice, modifier, description, [customdata] )

...

customdata   (any)   [optional]
A custom value useful for e.g. storing special information about the roll required when the results are displayed (see dragdata.setCustomData).

throwDice

Code Block
languagelua
function throwDice( data )

...

data   (table)   
See the dragdata object for a description of the table (same as dragdata.setData)

vote

Code Block
languagelua
function vote( message )

...