PDA

View Full Version : Deposit cash to x char



Vikto
11-16-2015, 08:21 PM
Hey guys, I'd like to request a script to use on my moneymakers.
Script I have in mind is:

If balance is over (for example) 5k, transfer 3k to 'x' char.

Haven't really done much research so there might be a script like this out there, thanks in advance

seba2632
11-17-2015, 11:30 AM
I've been looking for something similar, like lets say when my bot runs out of stamina it would go to bank and say "balance" and transfer the balane - 200k to my other char etc.

Snurq
11-17-2015, 01:06 PM
I wrote this script: Xeno transfer 1k gold everytime u go bank. U can change values. If ill have subcription i would write script who chcecks gold amount and send all money.



registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")

function onWalkerSelectLabel(labelName)
if (labelName == "Bank") then
setWalkerEnabled(false)
Self.SayToNpc({"hi", "deposit all", "yes"}, 50)
Self.SayToNpc({"hi", "transfer", "1000", "NAME", "yes"}, 50)
Self.SayToNpc({"balance"}, 50)
Self.SayToNpc({"bye"}, 50)
setWalkerEnabled(true)
end
end

change with your bank script + u can add withdraws for pot

seba2632
11-17-2015, 01:39 PM
That wouldn't work, atleast not for me. My moneymakers comes back with so different amounts, that I would have to log in and check (when they exitted cus of stamina) anyway, which kinda ruins the point :D

But it might work for Vikto, idk :)

Thanks anyway

Vikto
11-17-2015, 10:14 PM
I wrote this script: Xeno transfer 1k gold everytime u go bank. U can change values. If ill have subcription i would write script who chcecks gold amount and send all money.



registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")

function onWalkerSelectLabel(labelName)
if (labelName == "Bank") then
setWalkerEnabled(false)
Self.SayToNpc({"hi", "deposit all", "yes"}, 50)
Self.SayToNpc({"hi", "transfer", "1000", "NAME", "yes"}, 50)
Self.SayToNpc({"balance"}, 50)
Self.SayToNpc({"bye"}, 50)
setWalkerEnabled(true)
end
end

change with your bank script + u can add withdraws for pot
Thanks bro I guess it could work, sort of :p


That wouldn't work, atleast not for me. My moneymakers comes back with so different amounts, that I would have to log in and check (when they exitted cus of stamina) anyway, which kinda ruins the point :D

But it might work for Vikto, idk :)

Thanks anyway
yeah I see your point and that'd be better but at least I got something now :p