blackd
02-22-2011, 13:13
You can set how many potions u wan to refill, u can easily change when the bot will start going to dp (cap), u can also change what type of potions would u like to refill by changing the potion ID and it will also sell vials.
Where should it be started: at cave
########Made by Snowman##############
fastExiva < B4 19 $hex-tibiastr:Welcome to Snowman's Yalahar Mutated Humans with depositer and potion buyer script!$
waitX 3
##########################################
#############CONFIG#######################
##########################################
#put here number of amount of you potions to refil
fastExiva _potionsamount = 60
#put here number of cap to go dp
fastExiva _captodp = 300
#pu here how much does you potions cost
fastExiva _potionscost = 50
#put here ID of your potions
fastExiva _potionid = 0C 01
#put here ID of your empty potion flasks:
fastExiva _vialid = 1D 01
##########################################
##########################################
:cap *100
fastExiva _captogodp = $numericalexp:{$_captodp$}*100$
##########################################
:start
setChaoticMovesON
##########################################
onGMpause
setFriendly
######Monsters#####
setAvoidFront mutated human
setMeleeKill Mutated Human
setMeleeKill Slime
setMeleeKill Mercury Blob
setMeleeKill Acid Blob
setMeleeKill Mutated Rat
##############
####PRIORITIES####
setPriority Mutated Human:+1
############
######LOOT######
#Cash
setLoot D7 0B
#Rusty Armor
setLoot BE 22
################
###WAYPOINTS####
IfTrue ($mycap$#number<=#$_captogodp$) Goto $nlineoflabel:dp$
IfTrue ($countitems:{$_potionid$}$#number<=#$_potionsamount$) Goto $nlineoflabel:dp$
move 32737,31113,7
move 32730,31122,7
move 32739,31131,7
move 32740,31130,6
move 32741,31128,5
move 32741,31130,6
move 32740,31132,7
move 32734,31134,7
move 32734,31134,6
move 32734,31136,7
move 32743,31144,7
move 32742,31145,6
move 32744,31145,7
move 32752,31145,7
move 32737,31154,7
move 32727,31156,7
move 32714,31178,7
move 32698,31178,7
move 32696,31178,6
move 32700,31179,6
move 32697,31179,6
move 32698,31178,7
move 32688,31186,7
move 32696,31185,7
move 32729,31164,7
move 32727,31156,7
move 32734,31147,7
move 32728,31145,7
move 32742,31136,7
move 32731,31113,7
gotoScriptLine $nlineoflabel:start$
:dp
setChaoticMovesOFF
fastExiva < B4 19 $hex-tibiastr:Going to deposit gold, loot and refill potions.$
move 32738,31113,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade cemetery
move 32758,31112,7
move 32799,31103,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade magician
move 32820,31104,7
move 32835,31132,7
move 32835,31142,7
move 32835,31144,6
move 32835,31146,5
move 32834,31152,5
move 32834,31154,6
move 32834,31156,7
move 32859,31206,7
move 32849,31243,7
move 32824,31249,7
##########################################
##########################################
:BANK
###POTS CONFIGS###
fastExiva _potionstobuy = $countitems:{$_vialid$}$
fastExiva _cashfromvials = $numericalexp:{$countitems:{$_vialid$}*5$
fastExiva _potioncost = $numericalexp:{$_potionstobuy$}*{$_potionscost$}$
fastExiva _allpotionscost = $numericalexp:{$_potioncost$}-{$_cashfromvials$}$
##########################################
##########################################
#Depositing gold
sayMessage hi
waitX 1
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2
sayInTrade withdraw $_allpotionscost$
waitX 1
sayInTrade yes
waitX 2
sayInTrade balance
waitX 1
sayInTrade Bye
##########################################
##########################################
move 32829,31242,7
move 32811,31233,7
move 32790,31238,7
move 32790,31238,6
move 32789,31238,5
##########################################
##########################################
#MAGIC SHOP
sayMessage hi
waitX 1
sayInTrade trade
waitX 2
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva buy:$_potionid$:$_potionstobuy$
waitX 2
sayInTrade bye
##########################################
##########################################
move 32789,31238,5
move 32789,31240,6
move 32790,31240,7
move 32798,31246,7
move 32796,31246,6
move 32785,31244,6
putLootOnDepot
move 32786,31247,6
move 32786,31249,7
move 32802,31236,7
move 32842,31168,7
move 32835,31156,7
move 32835,31154,6
move 32835,31152,5
move 32835,31146,5
move 32835,31144,6
move 32835,31142,7
move 32804,31103,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade cemetery
move 32792,31103,7
move 32743,31113,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade alchemist
gotoScriptLine $nlineoflabel:start$
Where should it be started: at cave
########Made by Snowman##############
fastExiva < B4 19 $hex-tibiastr:Welcome to Snowman's Yalahar Mutated Humans with depositer and potion buyer script!$
waitX 3
##########################################
#############CONFIG#######################
##########################################
#put here number of amount of you potions to refil
fastExiva _potionsamount = 60
#put here number of cap to go dp
fastExiva _captodp = 300
#pu here how much does you potions cost
fastExiva _potionscost = 50
#put here ID of your potions
fastExiva _potionid = 0C 01
#put here ID of your empty potion flasks:
fastExiva _vialid = 1D 01
##########################################
##########################################
:cap *100
fastExiva _captogodp = $numericalexp:{$_captodp$}*100$
##########################################
:start
setChaoticMovesON
##########################################
onGMpause
setFriendly
######Monsters#####
setAvoidFront mutated human
setMeleeKill Mutated Human
setMeleeKill Slime
setMeleeKill Mercury Blob
setMeleeKill Acid Blob
setMeleeKill Mutated Rat
##############
####PRIORITIES####
setPriority Mutated Human:+1
############
######LOOT######
#Cash
setLoot D7 0B
#Rusty Armor
setLoot BE 22
################
###WAYPOINTS####
IfTrue ($mycap$#number<=#$_captogodp$) Goto $nlineoflabel:dp$
IfTrue ($countitems:{$_potionid$}$#number<=#$_potionsamount$) Goto $nlineoflabel:dp$
move 32737,31113,7
move 32730,31122,7
move 32739,31131,7
move 32740,31130,6
move 32741,31128,5
move 32741,31130,6
move 32740,31132,7
move 32734,31134,7
move 32734,31134,6
move 32734,31136,7
move 32743,31144,7
move 32742,31145,6
move 32744,31145,7
move 32752,31145,7
move 32737,31154,7
move 32727,31156,7
move 32714,31178,7
move 32698,31178,7
move 32696,31178,6
move 32700,31179,6
move 32697,31179,6
move 32698,31178,7
move 32688,31186,7
move 32696,31185,7
move 32729,31164,7
move 32727,31156,7
move 32734,31147,7
move 32728,31145,7
move 32742,31136,7
move 32731,31113,7
gotoScriptLine $nlineoflabel:start$
:dp
setChaoticMovesOFF
fastExiva < B4 19 $hex-tibiastr:Going to deposit gold, loot and refill potions.$
move 32738,31113,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade cemetery
move 32758,31112,7
move 32799,31103,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade magician
move 32820,31104,7
move 32835,31132,7
move 32835,31142,7
move 32835,31144,6
move 32835,31146,5
move 32834,31152,5
move 32834,31154,6
move 32834,31156,7
move 32859,31206,7
move 32849,31243,7
move 32824,31249,7
##########################################
##########################################
:BANK
###POTS CONFIGS###
fastExiva _potionstobuy = $countitems:{$_vialid$}$
fastExiva _cashfromvials = $numericalexp:{$countitems:{$_vialid$}*5$
fastExiva _potioncost = $numericalexp:{$_potionstobuy$}*{$_potionscost$}$
fastExiva _allpotionscost = $numericalexp:{$_potioncost$}-{$_cashfromvials$}$
##########################################
##########################################
#Depositing gold
sayMessage hi
waitX 1
sayInTrade deposit all
waitX 2
sayInTrade yes
waitX 2
sayInTrade withdraw $_allpotionscost$
waitX 1
sayInTrade yes
waitX 2
sayInTrade balance
waitX 1
sayInTrade Bye
##########################################
##########################################
move 32829,31242,7
move 32811,31233,7
move 32790,31238,7
move 32790,31238,6
move 32789,31238,5
##########################################
##########################################
#MAGIC SHOP
sayMessage hi
waitX 1
sayInTrade trade
waitX 2
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva sell:$_vialid$:100
waitX 1
sayMessage exiva buy:$_potionid$:$_potionstobuy$
waitX 2
sayInTrade bye
##########################################
##########################################
move 32789,31238,5
move 32789,31240,6
move 32790,31240,7
move 32798,31246,7
move 32796,31246,6
move 32785,31244,6
putLootOnDepot
move 32786,31247,6
move 32786,31249,7
move 32802,31236,7
move 32842,31168,7
move 32835,31156,7
move 32835,31154,6
move 32835,31152,5
move 32835,31146,5
move 32835,31144,6
move 32835,31142,7
move 32804,31103,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade cemetery
move 32792,31103,7
move 32743,31113,7
sayMessage hi
waitX 2
sayInTrade pass
waitX 2
sayInTrade alchemist
gotoScriptLine $nlineoflabel:start$