Welcome to PenUltima Online. Click to login or register.

Functions:

SetScriptController( who )
Parameters:
Name Type
who Character Reference
Explanation
Set the "controller" of the current script to "who".
Notes: This is used to know, for instance, who the fire field walk-on script belongs to so that the reputation/criminal system knows who to punish.
pass 0 to clear the script controller.
Return values
Character Reference of the "old" controller of the script.
Errors
none (instead returns 0 on failure)
Related
Character