PDA

View Full Version : Diamond Arrow Maker for RP



BeckTC
04-23-2020, 12:26 AM
I'm wondering if someone has written a script to make diamond arrows on an RP when say they are below 500? I'm playing an OT where they don't expire and you can make them back-to-back. If not, any chance anyone can write a script to make it when diamond arrows are under 500?

rodrigoliveirap
07-19-2020, 10:05 PM
Module.New('CastSpell', function()
Self.Cast('exevo gran con hur', 1000) -- Spell to cast, and mana needed for cast it.
Module:Delay(60000) -- Seconds to cast the spell.
wait(60000)
end)

salmorius
10-23-2020, 04:14 PM
Module.New('CastSpell', function()
Self.Cast('exevo gran con hur', 1000) -- Spell to cast, and mana needed for cast it.
Module:Delay(60000) -- Seconds to cast the spell.
wait(60000)
end)

how to put it to do if you have less than 500 arrows?

Heishen
10-24-2020, 08:03 AM
its make arrow when 10 diamond arrow left

while true do

if (Self.CanCastSpell("exevo gran con hur")) and (Self.ItemCount(25757) < 10) then
Self.Say("exevo gran con hur")
elseif Self.Ammo().id == 0 and (Self.ItemCount(25757) > 0) then
Self.Equip(25757, "ammo", 100) -- Special Ammo
end
wait(200,600)
end

semen554
11-19-2020, 08:03 AM
its make arrow when 10 diamond arrow left

while true do

if (Self.CanCastSpell("exevo gran con hur")) and (Self.ItemCount(25757) < 10) then
Self.Say("exevo gran con hur")
elseif Self.Ammo().id == 0 and (Self.ItemCount(25757) > 0) then
Self.Equip(25757, "ammo", 100) -- Special Ammo
end
wait(200,600)
end



XenoScript Error:
Script: Diamond Arrow.lua
Line #: 7
Chunk: C:?Users?norse?DOCUME?1?XenoBot?Scripts??DIAMON?1. LUA
Error: '<eof>' expected near 'end'
This is an error with user-input and should not be reported as a bug with XenoBot.

Can you help me with it ??
I need to use script but I must put my ammo into "quiver" not in ammo slot. HELP

lepasm12
04-01-2021, 02:49 AM
then?