Method ChatHandler:HasLowerSecurity [-] [+]

Checks if the current security level is lower than the specified Player's account


lower = ChatHandler:HasLowerSecurity( player )

lower = ChatHandler:HasLowerSecurity( player, strong )


Player player
See method description.
bool strong (false)

Forces non-player accounts (security level greater than 0) to go through the regular check if set to true.
Also, if set to true, the current security level will be considered as lower than the Player's security level if the two levels are equal.


bool lower
See method description.

Generated on
©2016 - Eluna Lua Engine