Okay bro i have encountered a problem, probably due to operator error, but here she goes:
This works fine,



Code:
--ALARM SETTINGS--
------------------------------------------------------------------------------------------------------------------------------------
--Manas
local mA = 50000							--How mana manas to sound the alarm.
local mT = "mana potion"				--What type of mana potion are you using.
--Healths
local oA = 10							--How mana "other" items to sound the alarm. (Can be anything, runes, potions, supplys.)
local oT = "ultimate health potion"		--What type of item is this. (Can be anything, runes, potions, supplys.)
--Capacity
local cA = 50							--How much cap to sound the alarm.
------------------------------------------------------------------------------------------------------------------------------------
--Do not touch below--

while true do
    if Self.ItemCount(mT) < mA or Self.ItemCount(oT) < oA or Self.Cap < cA then
        alert()
        wait(5000)
    end
    wait(300,500)
end

--Do not touch above--

--[[
Signed,
KingDavey
]]

But this, i am getting a nice little error.

Code:
--ALARM SETTINGS--
------------------------------------------------------------------------------------------------------------------------------------
--Manas
local mA = 50							--How mana manas to sound the alarm.
local mT = "mana potion"				--What type of mana potion are you using.
--Healths
local oA = 10							--How mana "other" items to sound the alarm. (Can be anything, runes, potions, supplys.)
local oT = "ultimate health potion"		--What type of item is this. (Can be anything, runes, potions, supplys.)
--Capacity
local cA = 50							--How much cap to sound the alarm.
------------------------------------------------------------------------------------------------------------------------------------
--Do not touch below--

while true do
    if Self.ItemCount(mT) < mA or Self.ItemCount(oT) < oA or Self.Cap < cA then
        alert()
        wait(5000)
    end
    wait(300,500)
end

--Do not touch above--

--[[
Signed,
KingDavey
]]

All i did was change the mana amount, this is the error.

Code:
20:18 XenoScript Error:
           Script: Alerts.lua
           Line #: 15
           Chunk: ...?Users?DVJasper?Documents?XenoBot?Scripts?Alerts.lua
           Error: attempt to compare function with number
This is an error with user-input and should not be reported as a bug with XenoBot.
What am i doing wrong? Thanks for your reply.
Also, how i do that code lua box? [CODE][/CODE=lua] shit like that is what i was trying, i dunno how lol.