Results 1 to 2 of 2

Thread: Problem

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

    Problem

    Hello,problem:

    if (weaponamount <= SpearMin or (itemcount(ManaName) < Mana_Check) or cap <= CapToLeave) then....

    Why it didn't work?
    What I need to change?

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    PHP Code:
    local SpearMin 5
    local ManaName 
    'mana potion'
    local Mana_Check 10
    local CapToLeave 
    30
    if (weaponamount <= SpearMin) or (itemcount(ManaName) < Mana_Check) or (cap <= CapToLeavethen
    gotolabel
    ('Depot')
    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
  •