Difference between revisions of "FindMod"

From Wiki
Jump to: navigation, search
Line 1: Line 1:
{{header|FindItem|rw|The [[Var_findMod|#findMod]] system variable Determines displacement for [[Var_findX|#findX]] and [[Var_findY|#findY]]. The displacement is in the format {X}_{Y}. The displacement is added to [[Var_findX|#findX]] and [[Var_findY|#findY]] respectively.}}
+
{{header|FindItem|rw|The #findMod system variable Determines displacement for #[[findX]] and #[[findY]]. The displacement is in the format {X}_{Y} and is added to #[[findX]] and #[[findY]] respectively.}}
  
{{Example|
+
== Example ==
 +
<pre>
 
set #findmod 140_220 ;displacement of backpack location on paperdoll
 
set #findmod 140_220 ;displacement of backpack location on paperdoll
 
finditem #backpackid C_ , #charid
 
finditem #backpackid C_ , #charid
Line 7: Line 8:
 
msg $
 
msg $
 
wait 2s
 
wait 2s
click #findx #findy p ; drop on paperdoll's backpack icon}}
+
click #findx #findy p ; drop on paperdoll's backpack icon</pre>
  
 
{{footer}}
 
{{footer}}

Revision as of 06:30, 27 August 2005

The #findMod system variable Determines displacement for #findX and #findY. The displacement is in the format {X}_{Y} and is added to #findX and #findY respectively.

Example

set #findmod 140_220 ;displacement of backpack location on paperdoll
finditem #backpackid C_ , #charid
event drag %something
msg $
wait 2s
click #findx #findy p ; drop on paperdoll's backpack icon

See also

Main Page Documentation