Difference between revisions of "Gold"

From Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
[[Category: Status]]
 
[[Category: Status]]
 
== Description ==
 
 
{|
 
{|
 
| width=100 | {{ro}} || The #gold system variable determines the amount of gold on the character.
 
| width=100 | {{ro}} || The #gold system variable determines the amount of gold on the character.
Line 11: Line 9:
 
|}
 
|}
  
=== Example ===
+
== Example ==
 
<pre>
 
<pre>
 
...
 
...

Revision as of 19:35, 25 August 2005

The #gold system variable determines the amount of gold on the character.
This variable will not work unless the character status bar is open. You can use event Macro 8 2 to open it from your script.

Example

...
if #gold < 1000
gosub gotoBank
...

See also

Main Page Documentation