Results 1 to 3 of 3

Thread: need help with script

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

    need help with script

    hey mates, ive got a problem:

    Code:
    local cavebot = getsettings("Settings\\CaveBot\\Enabled")
    
        
    if mppc > 90 and cavebot == 'yes' and hasted then
        if cancast("exura vita") then
            cast("exura vita") elseif
    if mppc > 90 and cavebot == 'yes' and not hasted then
        if cancast("utani gran hur") then
            cast("utani gran hur")
    end
    can someone tell me whats wrong with this script?
    thanks.

  2. #2
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    I think that you can not use the variable cavebot like you're trying to do

  3. #3
    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
    PHP Code:
    if mppc 90 and cavebot and hasted and cancast("exura vita"then 
        cast
    ("exura vita")
    elseif 
    mppc 90 and cavebot and not hasted and cancast("utani gran hur"then 
        cast
    ("utani gran hur"
    end 

Posting Permissions

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