Difference between revisions of "CursKind"
From Wiki
Panther.sn (Talk | contribs) |
|||
Line 5: | Line 5: | ||
{{ro}} | {{ro}} | ||
− | + | The [[Var cursKind|#cursKind]] system variable determines the facet where the character is. | |
− | + | ||
− | + | '''Table 34. [[Var cursKind|#cursKind]] values.''' | |
− | ==== | + | |
− | + | {| border="1" cellpadding="2" | |
− | | | + | |- |
+ | | 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> | ||
+ | === See Also === | ||
---- | ---- | ||
{| | {| | ||
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Extended|Extended System Variables]] | | Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Extended|Extended System Variables]] | ||
|} | |} |
Revision as of 21:49, 15 August 2005
#cursKind
Extended System Variables
Description
⇒
The #cursKind system variable determines the facet where the character is.
Table 34. #cursKind values.
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
Main_Page | Documentation | Extended System Variables |