If you want to store messages globally, as in your code, think about using a hash instead of an array.
$msg{'cracker'} is more human-readable than
$msg[2], especially when your code is long and you don't want to look up the exact ID of a message.
Cheers,
CombatSquirrel.
Entropy is the tendency of everything going to hell.