# brainAI DOCUMENTATION

Version 5, codename "Krang", by Austin Heilman.

## npcError.inc

npcError.inc Functions
NPC_ErrorSysLog
Parameters
(mobile, errmsg)
Name | Type
mobile | The NPC that had an error.
errmsg | String - Error message to log and report.
Explanation
Logs an error message that looks like: NPC Template: <template name> NPC Name: <name> <Error Message> ------------
Return Values
Returns 1