Results 1 to 6 of 6

Thread: Supps checker and logout action

  1. #1
    Normal User aaapiish's Avatar
    Join Date
    Nov 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Supps checker and logout action

    Because i dont have depositer or anything yet if u could help me with a script to logout if low crystalline arrow or manas.

    Like this

    If low crystalline arrow/ strong mana potion goto lable "logout" but first kill all monsters

    thx =)

    + rep for help ofc!

  2. #2
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0
    Is it something like this you are looking for?

    PHP Code:
    setup

    nameMp 
    "strong mana potion" -- name of potion
    leaveMp 
    100 -- leave if equal or below this amount

    nameAmmo 
    "crystalline arrow" -- name of ammonuition
    leaveAmmo 
    300 --  leave if equal or below this amount 
    PHP Code:
     if itemcount(nameMP) <= leaveMP or itemcount(nameAmmo) <= leaveAmmo then
    gotolabel
    ("logout")
    end 
    Last edited by PromB; 01-05-2013 at 02:53 AM.

  3. #3
    Normal User Tswift's Avatar
    Join Date
    Aug 2012
    Location
    USA
    Posts
    114
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    ^

    You want to include the arrows in the ammo slot too. So make it itemcount(nameAmmo) + ammoamount

  4. #4
    Normal User aaapiish's Avatar
    Join Date
    Nov 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by PromB View Post
    Is it something like this you are looking for?

    PHP Code:
    setup

    nameMp 
    "strong mana potion" -- name of potion
    leaveMp 
    100 -- leave if equal or below this amount

    nameAmmo 
    "crystalline arrow" -- name of ammonuition
    leaveAmmo 
    300 --  leave if equal or below this amount 
    PHP Code:
     if itemcount(nameMP) <= leaveMP or itemcount(nameAmmo) <= leaveAmmo then
    gotolabel
    ("logout")
    end 

    yea almost and liek Tswift said arrows included, and something to kill all the monsters in screen before logout. and if possible to set targeting to do nothing so it doesnt follow around.

  5. #5
    Normal User aaapiish's Avatar
    Join Date
    Nov 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    bumppppppilozor

  6. #6
    Normal User aaapiish's Avatar
    Join Date
    Nov 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    bumpzzzorr

Posting Permissions

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