so i cant work this out
edit: function bonesaw($steamId) { $id = end(explode(':', $steamId)); for ($i = 0; $i <= 1023; $i++) { if ((($id & 1023) ^ $i) == 881) return $i; } }
steam id being either STEAM_0:0:1865748 or 1865748 maybe without the word steam and possibly the 0:0: