Debug

chat

function chat(values)

Translate any parameters into a string, and send a message to the defined chat window. If a chatwindow control does not exist yet, then the message will be sent to the Fantasy Grounds console.

Parameters

values   (...)   
A list of constants and variables to output to the chat window.

console

function console(values)

Translate any parameters into a string, and send a message to the Fantasy Grounds console.

Parameters

values   (...)   
A list of constants and variables to output to the console.

print

function print(s)

Translate any parameters into a string, and send a message to the Fantasy Grounds console.

Parameters

s   (string)   
A string to output to the console.

printstack

Outputs the current Lua call stack to the console.