Here's the alias to start this thing: (from a towne to Ithaqua, the place that they're all returned to)
Code: Select all
if caravanDestination == "Agirni" then
caravanList = {"s","sw","se","sw","sw","w","w","w","nw","n","n","nw","n","nw","nw","nw","w","in","u","n","n","e","u","s","e","end"}
elseif caravanDestination == "Aherindale" then
caravanList = {"s","out","se","ne","s","s","s","s","w","sw","w","w","w","nw","w","u","sw","d","ne","d","n","n","n","n","n","n","ne","n","in","u","n","n","e","u","s","e","end"}
end
caravanDestination = "Ithaqua"
caravaning = true
echo("***Route started!***\n***To Ithaqua!***")
send("lead caravan " .. caravanList[1])
Code: Select all
if caravaning == true then
listRemove(caravanList,caravanList[1])
if caravanList[1] == "end" then
echo("***Route finished!***")
caravaning = false
else
send("lead caravan " .. caravanList[1])
end
end