Difference between revisions of "FindRep"

From Wiki
Jump to: navigation, search
 
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
−
__NOTOC__
+
{{header|FindItem|ro|The #findRep system variable contains the reputation of the object returned by [[findItem]].}}
−
== #findRep ==
+
−
'''FindItem System Variables'''
+
−
=== Description ===
+
−
{{ro}}
+
  
−
==== Example ====
+
{| border="1" cellpadding="2"
 +
|-
 +
| width=40px style="background:#ffdead;" | Value || width=150px style="background:#ffdead;" | Description
 +
|-
 +
| 1 || Innocent (Blue)
 +
|-
 +
| 2 || Friend (Green)
 +
|-
 +
| 3 || Grey (Grey - Animal)
 +
|-
 +
| 4 || Criminal (Grey)
 +
|-
 +
| 5 || Enemy (Orange)
 +
|-
 +
| 6 || Murderer (Red)
 +
|-
 +
| 7 || Invulnerable (Yellow)
 +
|}
 +
 
 +
 
 +
== Example ==
 
<pre>
 
<pre>
 +
finditem HS_IS G_10
  
 +
if #findrep = 1
 +
  display ok The item found is (blue) Innocent
  
 +
halt
 
</pre>
 
</pre>
−
==== See Also ====
+
 
−
{|
+
=See Also=
−
| Width=200px |
+
{{FindItem}}
−
|}
+
−
----
+
−
{|
+
−
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#FindItem|FindItem System Variables]]
+
−
|}
+

Latest revision as of 09:13, 7 September 2007

⇒ 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

See Also

FindItem

  • These system variables are set when the FindItem command is used.
#findID ⇒ Returns the id of the object returned by findItem
#findType ⇒ Returns the type of the object returned by findItem
#findX ⇒ Returns the x-coordinate of the object returned by findItem
#findY ⇒ Returns the y-coordinate of the object returned by findItem
#findZ ⇒ Returns the z-coordinate of the object returned by findItem
#findDist ⇒ Returns the distance from the character to the object returned by findItem
#findKind ⇒ Returns the kind of the object returned by findItem
#findStack ⇒ Returns the number of stacked items in the object returned by findItem
#findBagID ⇒ Returns the bag the object returned by findItem is contained in
#findMod ⇔ Returns displacement for #findX and #findY
#findRep ⇒ Returns the reputation of the object returned by findItem
#findCol ⇒ Returns the color of the object returned by findItem
#findIndex ⇔ Gets the values of all other findItem results without restarting the time-consuming FindItem command.
#findCnt ⇒ Returns the number of objects that matches what was searched for with the findItem command