Difference between revisions of "GM Pages"
From SphereWiki
MrSugarCube (talk | contribs) (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 ...') |
MrSugarCube (talk | contribs) |
||
Line 10: | Line 10: | ||
|- | |- | ||
| [[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. |
Revision as of 21:36, 7 June 2009
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:
Contents
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. |