Method ChatHandler:HasLowerSecurityAccount [-] [+]
Checks if the current security level is lower than the specified account
's level
Synopsis
lower = ChatHandler:HasLowerSecurityAccount( account )
lower = ChatHandler:HasLowerSecurityAccount( account, strong )
Arguments
uint32 account
The target account ID to compare security levels with.
bool strong (false)
Forces non-player accounts (security level greater than
0
) to go through the regular check if set totrue
.
Also, if set totrue
, the current security level will be considered as lower than theaccount
's security level if the two levels are equal.
Returns
bool lower
- See method description.