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
Drop All Items inside body IF "Rarity" appear

would like to request  a Script that would drop all items inside a killed Monster if "Rarity" Message appear.

Thanks and Greetings

local LOOTS = { 'gold coin', 'mace' } -- Items on Looter. Item name must MATCH the name on Looter.

local texts = getstatictexts()
for _, text in ipairs(texts) do
  if text.message == 'Rarity' and text.sender == name() then
    for __, loot in ipairs(LOOTS) do
      setsettings('Looter/' .. loot .. '/Action', 'Drop')
    if not islooting() then
    while islooting() do
    for __, loot in ipairs(LOOTS) do
      setsettings('Looter/' .. loot .. '/Action', 'Loot')

LUA Script -> drop: 9: 'then' expected near 'thne'

The error is clear, you just had to replace 'thne' with 'then'.

Forum Jump:

Forum software by © MyBB Theme © iAndrew 2016