awok100
12-28-2015, 10:35 AM
Hi! I am looking for a script that would transfer my money to another character if balance is higher for example than 1kk. I was thinking about smthing like: "if labelname==CheckTransfer then....".
Thanks for help.
brindeds
12-28-2015, 12:09 PM
NpcMessageProxy.OnReceive("balance", function(proxy, message)
if string.find(message, "balance is", 1) ~= nil then
--regex
end
end)
I think that should be something like the code above. Now you have to make a regex in Lua to get the exact amount, and then (MAYBE) converted to numeric (do not know very well the Moon particularity).
But it's a way that I showed.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.