Difference between revisions of "FindRep"

From Wiki
Jump to: navigation, search
(Example)
Line 23: Line 23:
 
== Example ==
 
== Example ==
 
<pre>
 
<pre>
 +
finditem HS_IS G_10
 +
 +
if #findrep = 1
 +
  display ok The item found is (blue) Innocent
 +
 +
halt
  
 
</pre>
 
</pre>

Revision as of 10:13, 20 November 2006

The #findRep system variable contains the reputation of the object returned by findItem.
Value Description
1 Innocent (Blue)
2 Friend (Green)
3 Grey (Grey - Animal)
4 Criminal (Grey)
5 Enemy (Orange)
6 Murderer (Red)
7 Invulnerable (Yellow)


Example

finditem HS_IS G_10

if #findrep = 1
   display ok The item found is (blue) Innocent

halt