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.
- 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