Cut Wizard Hats and Place into Stockpile by texecutioner187

Related: Inscribe

Description: This script will check for wizard hats in your backpack, and cut them and place the materials into a nearby stockpile. You need to have scissors in your backpack for this to work correctly. Works best alongside an Inscription queue crafting wizard hats

1if targetexists 
2    clearall 
3endif
4
5if findtype "wizard's hat" backpack and findtype "scissors" backpack and findtype "resource container" ground -1 -1 2 as resource
6    dclicktype "scissors" backpack
7    wft 500
8    targettype "wizard's hat" backpack
9    wait 500
10    menu resource 0
11    wft 500
12    target self
13endif
14
15wait 500
16loop