Results 1 to 4 of 4

Thread: if mana less than go to label - HELP

  1. #1

    Join Date
    Jul 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    if mana less than go to label - HELP

    if mana less than 20 go to label.

    Pleas give working code

    Thanks

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    PHP Code:
    if mp 20
    then gotolabe
    ('xxxx')
    end 

  3. #3

    Join Date
    Jul 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    It doesnt work I got 19 m potions and didnt go to destination label

  4. #4
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    he gave u action for MANA of your character, please give more details because as u said "if mana less than 20 go to label." u mean mana of character
    action for 20 mana POTIONS
    PHP Code:
    if itemcount("mana potion") < 20 then gotolabel("labelname"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
  •