GetUIChannelCount()
Description
Section titled “Description”The GetUIChannelCount Lua function returns a number indicating the total amount of UI channels.
Arguments
Section titled “Arguments”This function does not accept any arguments.
Return
Section titled “Return”- Integer:
The function returns an integer number depicting the total amount of UI channels.
Example
Section titled “Example”This example prints the number of UI channels to the Command Line History:
| Copy CodeLua |
| ``` |
| return function() |
Printf("The number of UI channels is " .. GetUIChannelCount())end