if ($gil != num){die "Gil should be a number.";} if ($char != string){die "Your characters name should consist of letters only.";}