Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
making rune every x second
#1
i need script to make rune every x second

#2
say(spell)
wait(1000)

#3
Well, it's pretty much like post above.

local SPELL = 'adori gran' -- Spellwords to make rune.
local MANA = 70 -- Mana to make spell.
local TIME = { Min = 30000, Max = 50000 } -- Delay to wait after making a rune. Time in milliseconds.
if mp() >= MANA then
     cast(SPELL)
     wait(TIME.Min, TIME.Max)
end

or


local SPELL = 'adori gran' -- Spellwords to make rune.
local MANA = 70 -- Mana to make spell.
local TIME = { Min = 30, Max = 50 } -- Delay to wait after making a rune. Time in seconds.

NEXT_RUNE_TIME = NEXT_RUNE_TIME or 1
if mp() >= MANA and runningtime() >= NEXT_RUNE_TIME then
     cast(SPELL)
     NEXT_RUNE_TIME = runningtime() + random(TIME.Min, TIME.Max)
end

#4
I also want to make runes just time based, not mana based and when i used

say(adori gran flam)
wait(12000)

it gives me this

10:50:21 - Core:Lua:ExecuteScript:DoString:Persistent01: 1: ')' expected near 'gran'

what am i doing wrong?

#5
cast('adori gran flam')
wait(12000)



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016