Results 1 to 4 of 4

Thread: Error

  1. #1
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3

    Error

    I made this code, and he is not working. Someone could help me?
    HTML Code:
    AtkSlug = 0 -- Do you Want Atk Slug? (0= No atk 1= atk)
    HTML Code:
    if AtkSlug = 1 then
        setsettings("Settings\\Targeting\\Monsters\\Slug\\OnlyIfTrapped", "no")
    end
    
    if AtkSlug = 0 then
        setsettings("Settings\\Targeting\\Monsters\\Slug\\OnlyIfTrapped", "yes")
    end

  2. #2
    Banned
    Join Date
    Jun 2012
    Location
    Internet
    Posts
    845
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    113
    Rep Power
    0
    try

    PHP Code:
    if AtkSlug 1 then
        setsettings
    ("Settings\\Targeting\\Monsters\\Slug\\OnlyIfTrapped""no")
    else
        
    setsettings("Settings\\Targeting\\Monsters\\Slug\\OnlyIfTrapped""yes")
    end 

  3. #3
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3
    not work.

  4. #4
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3
    can anyone help me?

Posting Permissions

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