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 to true.
Also, if set to true, the current security level will be considered as lower than the account's security level if the two levels are equal.

Returns

bool lower
See method description.

Generated on
©2016 - Eluna Lua Engine