This hack wins the interwebsquyxkh wrote:ugly but efficient hack: lua strings are atoms, equality testing is just pointer testing, test the help() string.
Trying that in x=1,1000 loops says it's dirt cheap.Code: Select all
if entity.help() == stored_player_help then
