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:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combo SD script
#1
when leader 'x name' shot sd then shot same target
Reply

#2
refresh
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.
local ComboLeader = "Bomek"

local RUNES_SHOOT = {
  { ITEM = "sudden death rune", WORD = "SD" },
  { ITEM = "heavy magic missile rune", WORD = "HMM" },
  { ITEM = "attack", WORD = "attack" },
  { ITEM = "explosion rune", WORD = "EXPLO" },
}

--[[ DON'T EDIT BELOW THIS LINE --]]


if cancast() then
  local MESSAGES = getnewmessages()
  for i,m in pairs(MESSAGES) do
      if m.sender ~= nil and m.sender ~= '' and m.sender:lower() == ComboLeader:lower() then
        local temp = m.content:token(nil,' ')
        if temp[1] ~= nil and temp[2] ~= nil then
            for RUNE_INDEX = 1, #RUNES_SHOOT do
              if RUNES_SHOOT[RUNE_INDEX].WORD:lower() == temp[1]:lower() then
                  local RuneItem = RUNES_SHOOT[RUNE_INDEX].ITEM
                  local TargetName = ''

                  if #temp > 2 then
                    TargetName = temp[2]
                    for SPLIT_INDEX = 3, #temp do
                        TargetName = (TargetName:concat(temp[SPLIT_INDEX]):match("^%s*(.-)%s*$"))
                    end
                  else
                    TargetName = (temp[2]:match("^%s*(.-)%s*$"))
                  end
                  if TargetName ~= '' and RuneItem ~= '' then
                    if RuneItem == "attack" then
                        attack(TargetName)
                        wait(1000)
                    else
                        useitemoncreature(RuneItem, TargetName)
                        wait(1000)
                    end
                  end
                  return
              end
            end
        end
      end
  end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016