Quote Originally Posted by Hippipeace View Post
Tried to use the search bar abit, but didnt wanna find any of my key words.
So im asking here :>

First of all, i have 0 experience of knowledge of programming, so i have no idea how to add stuff if your just post a code :P

But yeah, i wanna stop loot gold when im under 100 cap..
Is it possible ?

Thanks in advance!

Peace!

//Hippipeace

not so simply, what you can do is, have another xbst file that doesn't loot gold and then you can switch only the looter when your cap is below 100

lua code:


local Mainfile = "insertname" -- name of the main file without .xbst in the end
local NoGoldFile = "insertname" -- name of the other file which doesn't loot gold

----------------------------

local MainLoaded = true

Module.New('Settings switcher', function(mod)
if Self.Cap() < 100 then
if MainLoaded then
loadSettings(NoGoldFile, 'Looter')
MainLoaded = false
end
elseif not MainLoaded then
loadSettings(MainFile, 'Looter')
MainLoaded = true
end
end)


you can paste this under any script