Results 1 to 7 of 7

Thread: Visible HELP

  1. #1
    Normal User
    Join Date
    Mar 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Visible HELP

    Hello, I am not a professional ibot scripter, but i tried to make something what will be wearing stealth ring when i character will be visible, and character will be cast "utana vid" when he will be visible and he will have higher than x mana. i suppose that cast spell will have higher priority than wearing stealth ring, is it possible ? Please help.

    I made in refiller actione that bot will wear at character stealth ring when he will be visible, but it is not working. It is working only when i change form "if visible" to "if no ring", and i made healer with action that character will cast "utana vid" when is visible, but it is not working.
    Any ideas ?

  2. #2
    Normal User
    Join Date
    May 2012
    Location
    England
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    PHP Code:
    if (outfit ~= 0) and cancast('utana vid') and mp >= 440 then
        cast
    ('utana vid')
        
    wait(200)
    elseif (
    outfit ~= 0) and not cancast('utana vid'then
        moveitems
    ("stealth ring","all","ring",1
        
    wait(200)
    elseif (
    outfit ~= 0) and mp <= 440
        moveitems
    ("stealth ring","all","ring",1
        
    wait(200)
    end 
    Should work, let me know what error if not.

  3. #3
    Normal User
    Join Date
    Mar 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I will test, is it possible to add to this script something like if monster is on the screen character will do that script ?


    Srry bro it is not working ;/ Character just don't do anything.
    Last edited by Protas; 01-20-2013 at 03:26 PM.

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    A then was missing, this should be working
    PHP Code:
    if (outfit ~= 0) and cancast('utana vid') and mp >= 440 then 
        cast
    ('utana vid'
        
    wait(200
    elseif (
    outfit ~= 0) and not cancast('utana vid'then 
        moveitems
    ("stealth ring","all","ring",1)  
        
    wait(200
    elseif (
    outfit ~= 0) and mp <= 440 then
        moveitems
    ("stealth ring","all","ring",1)  
        
    wait(200
    end 

  5. #5
    Normal User
    Join Date
    Mar 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    It is working, just at fisrt time he wear stealth and cast utana, but second time it is correct, thanks!
    Last edited by Protas; 01-20-2013 at 03:34 PM.

  6. #6
    Normal User
    Join Date
    May 2012
    Location
    England
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    5
    Quote Originally Posted by Protas View Post
    For now character is cast utana vid, and wearing stealth ring at the same time ;p
    Strange, is it constantly doing both?

  7. #7
    Normal User
    Join Date
    Mar 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    For now, no, but for the first time it wear stealth and cast utana, but now it is all okey ; )
    Character died, cuz, he maybe trying cast utana vid, but he were attack monster at the same time and idon't know what happend ;p
    Last edited by Protas; 01-20-2013 at 03:49 PM.

Tags for this Thread

Posting Permissions

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