new string[] = "steam:2300" //just a random id new num = str_to_num( string[6] ); if( num > 2300 && num < 2400 ) //do stuff here