• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Conjure Diamond Arrows

Straa

New Member
Joined
Feb 3, 2023
Messages
2
Reaction score
0
Hi Guys,

Im having some trouble with my macro for making diamond arrows. What i wanna do is let the macro check how many arrows I have left en when i get under like 200 arrows it will cast the spell. My only problem atm is that he keeps spamming the spell even tho i have enough arrows in my quiver/bp.

Currently I have this in the macro:
diamondArrowId = 25757
local arrowSpell = 'Exevo Gran Con Hur'
arrowCheck = 200

macro(3600, "Diamond arrows", function()
arrows = itemAmount(diamonArrowId)

if arrows < arrowCheck then
say(arrowSpell)
return
end
end)

So is there anyone who knows what im doing wrong and can help me i'll appriciate it!
 
Back
Top