OsAvatarType
From OpenSimulator
integer osAvatarType(key avatarKey) Returns:
< 0 in case of error 0 if avatar not found 1 if it is a normal avatar 2 if it is a NPC
Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Delay 0 seconds