HasScript

From UODemo Wiki
Jump to: navigation, search

integer hasscript(object AnyObject, string ScriptName);
integer hasScript(object AnyObject, string ScriptName);

The hasscript/hasScript function will return 1 if the specified object is valid and if it has the script with ScriptName attached. Otherwise 0 is returned.


Return to the Command List.