Difference between revisions of "RemoveScript"
Jump to navigation
Jump to search
expanded. sources: gribbleshnibit
imported>Geckbot m (Robot: Automated text replacement (-'''.*'''\r\n +)) |
imported>Odessa (expanded. sources: gribbleshnibit) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = FOSE1 | |origin = FOSE1 | ||
|summary = Removes the script of the reference or passed object. | |summary = Removes the script of the calling reference or passed object, and returns it. | ||
|name = RemoveScript | |name = RemoveScript | ||
|returnType = | |returnType = Script:form | ||
|referenceType = ref | |referenceType = ref | ||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
|Name = | |Name = ScriptableObject | ||
|Type = | |Type = form | ||
|Optional = optional | |Optional = optional | ||
}} | }} | ||
}} | }} | ||
==Example== | |||
<pre> | |||
ref OldScript | |||
set OldScript to SunnyREF.RemoveScript | |||
; or (required for non-references): | |||
set OldScript to RemoveScript SunnyREF | |||
</pre> | |||
==See Also== | |||
*[[IsScripted]] | |||
*[[GetScript]] | |||
*[[SetScript]] | |||
[[Category:Functions_(FOSE)]] | [[Category:Functions_(FOSE)]] | ||
[[Category:Script Functions]] |