Difference between revisions of "GM Pages"

From SphereWiki
Jump to: navigation, search
(Created page with '__FORCETOC__ When a client submits a GM page, these pages can be accessed through scripts using the ''GMPAGE.n'' reference from the server object. The following table ...')
 
m (Added languagemenue)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{Languages|GM_Pages}}
 +
 
__FORCETOC__
 
__FORCETOC__
 
When a client submits a GM page, these pages can be accessed through scripts using the ''GMPAGE.n'' reference from the [[Server|server]] object. The following table details the various properties of GM pages in SphereServer:
 
When a client submits a GM page, these pages can be accessed through scripts using the ''GMPAGE.n'' reference from the [[Server|server]] object. The following table details the various properties of GM pages in SphereServer:
Line 10: Line 12:
 
|-
 
|-
 
| [[ACCOUNT]] || R || Gets the name of the account that sent the page.
 
| [[ACCOUNT]] || R || Gets the name of the account that sent the page.
 +
|-
 +
| [[HANDLED]] || R || Gets the [[UID]] of the character currently handling the page.
 
|-
 
|-
 
| [[P]] || RW || Gets or sets the location that the page was sent from.
 
| [[P]] || RW || Gets or sets the location that the page was sent from.

Latest revision as of 22:50, 26 November 2010

Help
Available languages


When a client submits a GM page, these pages can be accessed through scripts using the GMPAGE.n reference from the server object. The following table details the various properties of GM pages in SphereServer:


Properties and Functions

Here is a list of all GM page properties and functions. If a function is marked as readable then it can return a value when used as <KEY>. Click on the name for more detailed information such as usage and examples.

Name Read/Write Description
ACCOUNT R Gets the name of the account that sent the page.
HANDLED R Gets the UID of the character currently handling the page.
P RW Gets or sets the location that the page was sent from.
REASON RW Gets or sets the reason for the page.
STATUS R Gets the status of the page sender (OFFLINE, LOGIN or character name).
TIME RW Gets the time since the page was originally sent in seconds.