Log in

View Full Version : [HOW TO]Spear Refiller



Malmis
03-15-2012, 12:50
Configuration, put it at the start:

#ID, price and weight of spear
fastExiva _spearid = CD 0C
fastExiva _spearprice = 20
fastExiva _spearweight = 20

Withdraw money from bank:

sayMessage hi
waitX 1
sayInTrade deposit all
sayInTrade yes
waitX 1
sayInTrade withdraw $numericalexp:{$numericalexp:{$numericalexp:{$myca p$}/{$_spearweight$00}$}-1$}*{$_spearprice$}$
sayInTrade yes

Buy the spears:

sayMessage hi
waitX 1
sayInTrade trade
waitX 1
fastExiva buy:$_spearid$:$numericalexp:{$numericalexp:{$myca p$}/{$_spearweight$00}$}-1$

Shouldn't be to hard. :p

valskog93
03-15-2012, 15:17
Hey man! Was wondering a thing.. Im new to this "Scripting" thing and i was wondering if you could help me out with a script? I found a very good Trollscript with depositer (edron) and i would like 2 add auto buy spears and pick up spears to it, making it a paladin script. Its really a quicky, and ill be on my own :D. Ps: Im from Sweden 2!

43. Edron trolls with depositer - by Snowman, Great script <- Script i would like help with

Btw Good job!

Thanks In Advance!

Malmis
03-15-2012, 15:58
Buying spears for hunting trolls seems a waste, why not use http://www.blackdtools.net/showthread.php?57409-Use-looted-Small-Stones-or-Spears-instead-of-Weapon to hunt with melee and looted spears?
In any case, you just replace the hi/deposit all/yes with the one I showed, add the configuration at the start of script and add waypoints to Willard and the trader you're fine.

valskog93
03-15-2012, 16:20
Thank you so much!

vacti
03-16-2012, 00:24
Thanks sir ! :D

Malmis
03-16-2012, 01:03
No problem guys. :)

cashmaker
04-09-2012, 04:58
I tried using the code to buy spears but it said the Blackd couldn't buy them because of an unknown error.
Please help!! Thanks.

Warrupcuz
06-23-2013, 19:25
I put that shit on the start and my character started talking to the air lol I know im supposed to do something man but this shit is hard