I would like to know how I do Script pro just by the character to make the Summon inside the basement he will hunt, because he does when he is in the DP or buying potions
Printable View
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)
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
http://i.imgur.com/lRB0WLq.png
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
http://i.imgur.com/F7IIzwN.png
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
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..
Attachment 15327
Check :)