Difference between revisions of "ChooseSkill"

From Wiki
Jump to: navigation, search
Line 1: Line 1:
__NOTOC__
+
{{command header|client}}
== ChooseSkill ==
+
{{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.
'''Client'''
+
=== 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.<br>
+
 
+
The skill name is the first four characters of the actual skill name, with the exception of animal lore (ANIL) and stealth (STLT).
+
 
+
  
 +
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}}
==== See Also ====
+
{|
+
| Width=200px | [[var_skill|&#0035;Skill]] || Width=200px | [[var_skillCap|&#0035;SkillCap]] || Width=200px | [[var_skillLock|&#0035;SkillLock]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Client |Client ]]
+
|}
+

Revision as of 11: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