Difference between revisions of "CursKind"
From Wiki
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{header|Extended|ro|The #cursKind system variable determines the facet where the character is.}} | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | {{ro}} | + | |
| − | |||
| − | |||
| + | {| border="1" cellpadding="2" | ||
| + | |+#cursKind Values | ||
| + | | width=60px style="background:#ffdead;" | Value || width=200px style="background:#ffdead;" | Description | ||
| + | |- | ||
| + | |0 || Felucca | ||
| + | |- | ||
| + | |1 || Trammel | ||
| + | |- | ||
| + | |2 || Ilshenar | ||
| + | |- | ||
| + | |3 || Malas | ||
| + | |- | ||
| + | |4 || Tokuno | ||
| + | |} | ||
| + | |||
| + | ==== Example ==== | ||
| + | <pre> | ||
| + | msg Hmmm I wonder where I am$ | ||
| + | if #cursKind = 0 | ||
| + | set %iamin Felucca | ||
| + | if #cursKind = 1 | ||
| + | set %iamin Trammel | ||
| + | if #cursKind = 2 | ||
| + | set %iamin Ilshenar | ||
| + | if #cursKind = 3 | ||
| + | set %iamin Malas | ||
| + | if #cursKind = 4 | ||
| + | set %iamin Tokuno | ||
| + | msg Oh Ok I am in %iamin $ | ||
| + | halt | ||
</pre> | </pre> | ||
| − | + | ||
| − | { | + | =See Also= |
| − | + | {{Extended}} | |
| − | + | ||
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
Latest revision as of 09:17, 7 September 2007
| ⇒ | The #cursKind system variable determines the facet where the character is. |
| Value | Description |
| 0 | Felucca |
| 1 | Trammel |
| 2 | Ilshenar |
| 3 | Malas |
| 4 | Tokuno |
Example
msg Hmmm I wonder where I am$
if #cursKind = 0
set %iamin Felucca
if #cursKind = 1
set %iamin Trammel
if #cursKind = 2
set %iamin Ilshenar
if #cursKind = 3
set %iamin Malas
if #cursKind = 4
set %iamin Tokuno
msg Oh Ok I am in %iamin $
halt
See Also
Extended
- Extended system variables show information about various systems in the Ultima Online client that can be gained by using certain commands.
| #skill | ⇒ | Returns the current skill level for a skill chosen with chooseSkill command |
| #skillCap | ⇒ | Returns the current skill cap for a skill chosen with chooseSkill command |
| #skillLock | ⇒ | Returns the current lock status of the skill chosen with chooseSkill command |
| #journal | ⇒ | Returns the journal line selected using the scanJournal command |
| #jIndex | ⇒ | Returns the index of the current journal entry |
| #jColor | ⇔ | Returns the color of the text in the journal |
| #sysMsg | ⇒ | Returns the current system message |
| #sysMsgCol | ⇔ | Returns the current system message color |
| #targCurs | ⇔ | Returns if cursor is a target cursor |
| #cursKind | ⇒ | Returns the facet where the character is |