Welcome to PenUltima Online. Click to login or register.

Functions:

GetObjtypeByName( name )
Parameters:
Name Type
name string
Explanation
Finds the matching Object Type number for the obejct named "name" Matches on the itemdesc.cfg property "Name".
Return values
Integer ObjType or Error
Errors
"No objtype by that name"
"Invalid parameter"
Related Configs
itemdesc.cfg