XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 3 of 3

Thread: Exura Sio HELP

  1. #1

    Join Date
    Apr 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exura Sio HELP

    and if I can ask for a script to provide sio and describe how to run and what to do with it lest acted ??

  2. #2

    Join Date
    Feb 2014
    Posts
    24
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    lua code:
    local namesList = {"Knight1", "Knight2", "Knight3", "Knight4"}
    local sioPercent = 70

    while true do
    for n, c in Creature.iPlayers() do
    if (table.find(namesList, n, false) and c:HealthPercent() < sioPercent) then
    if (getSelfSpellCooldown("exura sio") == 0 and Self.Mana() >= 140) then
    Self.Say("exura sio "" ..n)
    end
    end
    end
    wait(200)
    end

  3. #3

    Join Date
    Nov 2014
    Location
    Sundsvall, Sweden
    Posts
    174
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Added abit to the sio script @Gluben posted.
    supports rune healing aswell.

    Code:
    ----------------------------------------------------------------------------------------------------------------------
    ----------------------------------------------------------------------------------------------------------------------
    local HealingType = "rune"                             			-- "sio" or "rune".									--
    local rune = "ultimate healing rune"							-- Name of the rune, if you're using rune.			--
    local HealingRuneBP = "mushroom Backpack"						-- Backpack which you have the runes in.			--
    local namesList = {"Knight 1", "Knight 2"}						-- Name or names of the people you want to heal.	--
    local HealPercent = 70											-- which Health percent to heal the player at.		--
    ----------------------------------------------------------------------------------------------------------------------
    ----------------------------------------------------------------------------------------------------------------------
    
    -- Do not edit below.
    
    
    runeID = Item.GetID(rune)
    local runeHealing = function()
    local cont = Container.GetByName(HealingRuneBP) 
    	for spot = 0, cont:ItemCount() do
    		local item = cont:GetItemData(spot) 
    		if item.id == runeID then
    			local Players = Self.GetSpectators()
    			for i = 1, #Players do
    				if Players[i]:isPlayer() and Players[i]:HealthPercent() < HealPercent then Name = Players[i]:Name()
    					if table.contains(namesList, Name) then
    						cID = Players[i]:ID()
    						cont:UseItemWithCreature(spot, cID)
    						wait(700, 900)
    						break
    					end
    				end
    			end
    		end
    	end
    end
    
    while true do
    	for n, c in Creature.iPlayers() do
    		if (table.find(namesList, n, false) and c:HealthPercent() < HealPercent) then
    			if HealingType == "sio" and Self.CanCastSpell('exura sio') then Self.Say('exura sio "'.. n ..'"')
    			elseif HealingType == "rune" then runeHealing() end
    		end
    	end
    	wait(200)
    end
    What you do is, create a notepad file > paste this inside of it > save as whateveryouwant.lua with the filetype "all types". then put the .lua file in documents>xenobot>scripts. the config of the script is commented so i'm not gonna tell you how to do that stuff. have fun
    Last edited by yompa93; 05-18-2016 at 11:09 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •