11.05.2013, 11:48
Sure, add a bool and never set its value - clever (because the names don't match - the declaration says pexists but you are using 'pexist' instead of the other one)
Loop through all the players and check if someone has the dialed number (and send an error message or a tone if no one has it)
Loop through all the players and check if someone has the dialed number (and send an error message or a tone if no one has it)

