SetWebURL: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 13: Line 13:
== Example ==
== Example ==
<syntaxhighlight lang="Lua">
<syntaxhighlight lang="Lua">
SetWebURL(webId, "https://playonset.com")
SetWebURL(webId, "https://google.com")
</syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{Template:WebFunctions}}
{{Template:WebFunctions}}

Revision as of 17:58, 23 January 2020

SetWebURL

Type: Function
Context: Client
Introduced: v1.0

Description

Set the web URL. Not all URLs are whitelisted and might not work.

Syntax

SetWebURL(web, URL)

Parameters

  • web
    The web identifier
  • URL
    The URL

Return Value

  • Returns false' on failure.

Example

SetWebURL(webId, "https://google.com")

See also