Difference between revisions of "ScriptAnswerYes"

From Second Life Wiki
Jump to navigation Jump to search
Line 19: Line 19:
</pre>
</pre>
==Usage and Notes==
==Usage and Notes==
Used by client to grant script run-time permissions, in reply to [[ScriptQuestion]].
Used by client to grant script [[Run_time_permissions]], in reply to [[ScriptQuestion]].


TaskID = The prim containing the script
TaskID = The prim containing the script

Revision as of 06:03, 9 June 2008

Message Layout

{
	ScriptAnswerYes Low NotTrusted Unencoded
	{
		AgentData		Single
		{	AgentID		LLUUID	}
		{	SessionID	LLUUID	}
	}			   
	{
		Data	Single
		{	TaskID			LLUUID	}
		{	ItemID			LLUUID	}
		{	Questions		S32	}
	}
}

Usage and Notes

Used by client to grant script Run_time_permissions, in reply to ScriptQuestion.

TaskID = The prim containing the script

ItemID = The script's inventory ID

Questions = The permissions mask to set