• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Summoning talk action command

Did this:

Lua:
function onSay(cid, words, param, channel)
local t = { 'Monster','Monster2','Monster3' }
for _,v in pairs(t) do doShowTextDialog(cid, 2175, v) end
end


However it doesn't loop correctly and I dont know what to add :ninja:

Unless you want to use this, though it'll get real messy when it adding the whole list.

Lua:
function onSay(cid, words, param, channel)
t = { 'Rat\n\nBug\n\nWolf\n\nCave Rat\n\nBear\n\nFire Elemental'}
for _,v in pairs(t) do doShowTextDialog(cid, 2175, v) end
end


You can do something like this too.

Lua:
function onSay(cid, words, param, channel)
t = { '(1) Categories: Rats, insects\n\nSummonable Rats:\nRat\nCave Rat\n\nSummonable Insects: Bug\nScarab\nWasp\n\n(2) Categories: Bears, Minotaurs\n\nSummonable Bears:\nBear\nPolar Bear\n\nSummonable Minotaurs:\nMinotaur\nMinotaur Guard\nMinotaur Mage\nMinotaur Archer'}
for _,v in pairs(t) do doShowTextDialog(cid, 2175, v) end
end
 
Last edited:
Back
Top