You might try this. It'll be more efficient. :3
package HostCheck
{
function GameConnection::AutoAdminCheck(%this)
{
if(%this.BL_ID $= getNumKeyID())
{
%this.isAdmin = 1;
%this.isSuperAdmin = 1;
messageAll('','<color:cccccc>%1 has become \c4Host<color:cccccc> (Auto)',%this.getPlayerName);
}
return parent::AutoAdminCheck(%this);
}
};