Difference between revisions of "CliLogged"
From Wiki
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{header|Client Variables|ro|Returns if a character is logged into the game.}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | {{ro}} | + | |
| − | + | {| border="1" cellpadding="2" | |
| + | |+#cliLogged Values | ||
| + | |- | ||
| + | | width=40px style="background:#ffdead;" | Value || width=200px style="background:#ffdead;" | Description | ||
| + | |- | ||
| + | | 0 || Not logged in | ||
| + | |- | ||
| + | | 1 || Logged in | ||
| + | |- | ||
| + | |} | ||
==== Example ==== | ==== Example ==== | ||
<pre> | <pre> | ||
| − | if #cliLogged | + | if #cliLogged = 1 |
gosub login | gosub login | ||
</pre> | </pre> | ||
| − | + | ||
| − | { | + | =See Also= |
| − | + | {{Client Variables}} | |
| − | + | ||
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
Latest revision as of 09:19, 7 September 2007
| ⇒ | Returns if a character is logged into the game. |
| Value | Description |
| 0 | Not logged in |
| 1 | Logged in |
Example
if #cliLogged = 1 gosub login
See Also
Client Variables
- The client variables hold information about the Ultima Online client that EasyUO is attached to.
| #cliVer | ⇒ | Returns the version of the client |
| #cliCnt | ⇒ | Returns the number of clients currently running |
| #cliNr | ⇒ | Returns which client is currently active for EasyUO |
| #cliXRes | ⇔ | Returns the width of the gameplay window |
| #cliYRes | ⇔ | Returns the height of the gameplay window |
| #cliLeft | ⇔ | Returns the X coordinate of the left edge of the gameplay window |
| #cliTop | ⇔ | Returns the Y coordinate of the top edge of the gameplay window |
| #cliLogged | ⇒ | Returns if a character is logged into the game |