default:
{
- error(sprintf(
+ print(sprintf(
strcat(
"^1NOTIFICATION WITH IMPROPER TYPE: ",
"^7net_type = %d, net_name = %s.\n"
break;
}
- default: print("DAFUQ?\n"); notif_error = TRUE; break;
+ default:
+ {
+ print(sprintf(
+ strcat(
+ "^1NOTIFICATION WITH IMPROPER TYPE: ",
+ "^7net_type = %d, net_name = %s.\n"
+ ),
+ typeid,
+ namestring
+ ));
+ notif_error = TRUE;
+ break;
+ }
}
// now check to see if any errors happened