Results 1 to 4 of 4

Thread: Need help target mode

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

    Post Need help target mode

    Need help off-target if smp < 20 and on-target if traped

  2. #2
    Normal User AcidAlchamy's Avatar
    Join Date
    Jul 2012
    Location
    The Labratory
    Posts
    749
    Mentioned
    16 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    180
    Rep Power
    7
    PHP Code:
    local smp "Mana Potion" 
        
    if itemcount(smp) < 20 then settargeting('no')
        
        elseif 
    istrapped() then settargeting('yes')
        
    end 
    try that
    didnt try it, just wrote it; should work tho

    if it doesnt work; try

    PHP Code:
    local smp "Mana Potion" 
        
    if itemcount(smp) < 20 then settargeting('no')
        
        elseif 
    istrapped() = true then settargeting('yes')
        
    end 
    Last edited by AcidAlchamy; 11-22-2013 at 08:33 AM.

    Follow my Activity on Facebook?
    https://www.facebook.com/AcidAlchamyPage
    Download iBot : iBot v2.3.6 - Released
    My Free Scripts :
    ★Free Scripts★ By Acid Alchamy
    Acid Alchamy Updates :
    Updates About Acid Alchamy
    All Scripts by Acid Alchamy :
    All My Posted Scripts
    Latest Thread by Acid Alchamy:
    [Tutorial] Sellers - Avoid Getting Scammed

    +Rep Everyone That Helps You, I'll ALWAYS Return A +Rep.





  3. #3
    iBot User
    Join Date
    Nov 2012
    Posts
    319
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    12 Post(s)
    Reputation
    33
    Rep Power
    5
    Quote Originally Posted by AcidAlchamy View Post
    PHP Code:
    local smp "Mana Potion" 
        
    if itemcount(smp) < 20 then settargeting('no')
        
        elseif 
    istrapped() then settargeting('yes')
        
    end 
    try that
    didnt try it, just wrote it; should work tho

    if it doesnt work; try

    PHP Code:
    local smp "Mana Potion" 
        
    if itemcount(smp) < 20 then settargeting('no')
        
        elseif 
    istrapped() = true then settargeting('yes')
        
    end 
    why when I use for example.. is trapped() = true dont work, but when I use == true it work ? xd

  4. #4
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    elseif istrapped() then settargeting('yes')

    that will be ok too

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
  •