Difference between revisions of "HasScript"
From UODemo Wiki
(Created page with 'integer '''hasscript'''(object ''AnyObject'', string ''ScriptName'');<br> integer '''hasScript'''(object ''AnyObject'', string ''ScriptName''); The hasscript/hasScript function ...') |
(No difference)
|
Latest revision as of 10:46, 25 January 2010
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.