Difference between revisions of "ChooseSkill"
From Wiki
| Line 1: | Line 1: | ||
| − | + | {{command header|client}} | |
| − | + | {{body|chooseSkill {skill name} ["real"]|The chooseSkill command reads the skill value for the specified skill and places the value into the #skill system variable. The current lock status is placed in the #skillLock system variable and the current skill cap is placed in the #skillCap system variable. | |
| − | + | ||
| − | + | ||
| − | chooseSkill {skill name} ["real"] | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | The chooseSkill command reads the skill value for the specified skill and places the value into the #skill system variable. The current lock status is placed in the #skillLock system variable and the current skill cap is placed in the #skillCap system variable. | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| + | The skill name is the first four characters of the actual skill name, with the exception of animal lore (ANIL) and stealth (STLT).}} | ||
==== Example ==== | ==== Example ==== | ||
| Line 24: | Line 15: | ||
</pre> | </pre> | ||
| − | + | {{footer}} | |
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
| − | + | ||
Revision as of 10:16, 27 August 2005
Synopsis
chooseSkill {skill name} ["real"]
Description
The chooseSkill command reads the skill value for the specified skill and places the value into the #skill system variable. The current lock status is placed in the #skillLock system variable and the current skill cap is placed in the #skillCap system variable.
The skill name is the first four characters of the actual skill name, with the exception of animal lore (ANIL) and stealth (STLT).
Example
chooseSkill mage
if #skill < 700
{
msg You don't have enough magery $
halt
}
...
See also
| Main Page | Documentation |