XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 8 of 8

Thread: Simple script to use rune, not on self but only "use"

  1. #1

    Join Date
    Apr 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool Simple script to use rune, not on self but only "use"

    Hi guys first post and its application well I just started out and I need a script that uses rune when hp is below 80% or so. It doesnt need to use on self just "Use" it. Its OT and the rune works without using it onself.

    Thank you very much if u can help me!

  2. #2

    Join Date
    Mar 2014
    Location
    Long Island
    Posts
    379
    Mentioned
    54 Post(s)
    Tagged
    0 Thread(s)
    while true do
    if ((Self.Health()/Self.MaxHealth())*100) < 80 then
    Self.UseItem(PutTheRuneIDHere)
    end
    wait(1000,1200)
    end

    That should work, just make sure to update the ID or it won't do anything

    Also theres probably a better way to get health percent, but I've never really checked lol

    My name is Proteus!
    This is my Signature.
    Thanks.

  3. #3

    Join Date
    Apr 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply mate! But how do I use it? Im trying to put it on copy of example scripts and load it from ingame but it only opens notepad when I double click it :S even when its .lua

  4. #4

    Join Date
    Apr 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah found it, btw it doesnt work properly, it heals only when its 90% hp, if it goes under it doesnt bother. Btw whats that wait time? why is there 2 numbers. Ty alot for ur script tho<3

  5. #5
    Senior Member
    Join Date
    Dec 2011
    Posts
    718
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by kojootti69 View Post
    Ah found it, btw it doesnt work properly, it heals only when its 90% hp, if it goes under it doesnt bother. Btw whats that wait time? why is there 2 numbers. Ty alot for ur script tho<3
    i think its just a range so its less detectable with when it does it
    Bought 193 RP from theefidyzed

    view my All Paladin Project.


  6. #6

    Join Date
    Apr 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It just suddendly stops using the rune even when I put 100 there or change the < to >

    E: Yeah when my hp gets lower it completely stops

    E2: What should I do? Its otherwise perfect script..
    Last edited by kojootti69; 04-13-2016 at 02:38 AM.

  7. #7

    Join Date
    Apr 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also can someone make simple script to do a spell every minute or so? utani hura , after the effect is gone.. I think its minute or two.

  8. #8
    sbnztar's Avatar
    Join Date
    Dec 2015
    Posts
    104
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by kojootti69 View Post
    Also can someone make simple script to do a spell every minute or so? utani hura , after the effect is gone.. I think its minute or two.
    That is already implented in Xenobot's system. If you click "Support" > "Condition Manager" and there it is.
    Bought:
    5kk+ From PunktG
    5kk+ From Ghazkyt
    10 days voucher acc from Dat_Ozun

    SELLING MEDIVIA ACCOUNT

Posting Permissions

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