How is it working location? What to write there? The name of tab? or the name on label? Cuz its not working.. would like to use it only on spawn.
So we should use 2 persistents in same time?
I would like to use randomiser? Can I add something like this into auto()?
Code:local waitSpell = {90, 91} -- random wait waitSpell = math.random(waitSpell[1], waitSpell[2]) auto(waitSpell * 1000)
Last edited by BrutalnyWiktor; 08-04-2017 at 06:13 PM.
no no, only one persistent, the second...https://forums.tibiawindbot.com/show...l=1#post520680
only edit:
local Sections = {"Hunt"} -- {"Hunt"} or {"Floor 1", "Floor 2"} etc...
example: 1
auto(3000)
local UseSummon = true
local Sections = {"Hunt"}
--=======================================
local function SUMMON()
if $vocshort == 'K' then
summon = 'utevo gran res eq'
elseif $vocshort == 'P' then
summon = 'utevo gran res sac'
elseif $vocshort == 'S' then
summon = 'utevo gran res ven'
elseif $vocshort == 'D' then
summon = 'utevo gran res dru'
end
return summon
end
if $connected then
if UseSummon then
if table.find(Sections, $wptsection) then
if cancastspell(SUMMON()) then
cast(SUMMON())
end
end
end
end
example: 2
auto(3000)
local UseSummon = true
local Sections = {"Floor 1", "Floor 2"}
--=======================================
local function SUMMON()
if $vocshort == 'K' then
summon = 'utevo gran res eq'
elseif $vocshort == 'P' then
summon = 'utevo gran res sac'
elseif $vocshort == 'S' then
summon = 'utevo gran res ven'
elseif $vocshort == 'D' then
summon = 'utevo gran res dru'
end
return summon
end
if $connected then
if UseSummon then
if table.find(Sections, $wptsection) then
if cancastspell(SUMMON()) then
cast(SUMMON())
end
end
end
end
Great and fast reply Thank you What do you think about time randomizer?
Where the script knows to use again spell after 15 min?
Right now I see casting spell every 3 seconds
Last edited by BrutalnyWiktor; 08-04-2017 at 06:25 PM.
I set correct name of location in my script, but it don't summon anything. Maybe because to many spells at the same time or walking.. I don't know.
Yeah, doesnt work for location.. I am using the script without location.. but its kinda sux because he is running with summoner in city..
settings.png
Check