Author Topic: noob question  (Read 2201 times)

0 Members and 1 Guest are viewing this topic.

Offline thekidnickTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Activity:
    0%
  • Reputation Power: 0
  • thekidnick has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
noob question
« on: November 19, 2008, 12:56:37 PM »
0
Just teaching myself how to script as some of you saw I am making a smith script with salvage bag.  I am just starting and trying to figure out how to move ingots from secure to salvage bag will this work?


set %Salvage XFQFGQD ;This is my salvage bag Will add Target Script Later
set %Secure XXXXX ;This is my Secure box Will add Target Script Later

;move ingots from SECURE to Salvage bag
findItem XKB C_, %Secure
  event Drag #findID
  wait 5
  exevent dropc %Salvage
  wait 5



How do I only pick up 2000 ingots?  In the script I am only going to use this this part when my salvage bag has less than 500 ingots.  So I am not worried about having too many ingots in my salvage bag.


Thanks for the help.

Offline _C2_

  • AFK FtW
  • Global Moderator
  • *
  • *
  • Posts: 4077
  • Activity:
    0%
  • Reputation Power: 48
  • _C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!
  • RIP Pen Trick
  • Respect: +254
  • Referrals: 4
    • View Profile
Re: noob question
« Reply #1 on: November 19, 2008, 01:06:05 PM »
0
findItem XKB C_, %Secure
  exevent Drag #findID  <--- you want it to be exevent drag to match exevent dropc- prevents issues
  wait 5
  exevent dropc %Salvage
  wait 5

THis should work but i think ingots are ENK for the id and your wait after the dropc may need to be more like 15-20

Other than that you really only need to add 2000 where I added it below.  Nice start!

to select how amny to drag ... just add how many here...
exevent Drag #findID 2000
« Last Edit: November 19, 2008, 01:08:47 PM by _C2_ »

Tags: