Results 1 to 3 of 3

Thread: What am i doing wrong here?

  1. #1
    iBot User
    Join Date
    Apr 2013
    Posts
    18
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    10
    Rep Power
    4

    What am i doing wrong here?

    im trying to add a line to a waypoint that says if ammoamount < ammoleave then gotolabel, i think im doing something wrong

    if itemcount(HpType) < HpLeave or
    itemcount(MpType) < MpLeave or
    cap < CapLeave or
    ammoamount < ammoleave then
    gotolabel("Endminus2")
    end

    the bot just continues, it dosnt go to "endminus2" what am i doing wrong?
    Last edited by Eli; 02-04-2015 at 07:28 AM.

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by steviej54ent View Post
    im trying to add a line to a waypoint that says if ammoamount < ammoleave then gotolabel, i think im doing something wrong

    if itemcount(HpType) < HpLeave or
    itemcount(MpType) < MpLeave or
    cap < CapLeave or
    ammoamount < ammoleave then
    gotolabel("Endminus2")
    end

    the bot just continues, it dosnt go to "endminus2" what am i doing wrong?

    well...
    ammoamount = amount in ammoslot, where you have arrows
    weaponamount = amount you have in weapond slot, EG. spears

    so should be (itemcount(ammoname)+ammoamount/weaponamount) < ammoleave - So it can count both what you have in that slot and in backpack

  3. #3
    iBot User
    Join Date
    Apr 2013
    Posts
    18
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    10
    Rep Power
    4
    i see, thank you

Posting Permissions

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