Signup Now
Results 1 to 7 of 7
  1. #1
    Free User
    Join Date
    Dec 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0

    Check my set - then buy or not

    hello friends, I would like to ask the favor that if yours can help me to create an action like this:

    Check the slot of armor, then this slot for verify if u have armor or not if you dondt have "brass armor" then go to bank and withdraw for buy them.

  2. #2
    Wind Powered dimasdagama's Avatar
    Join Date
    Mar 2014
    Location
    Rio de Janeiro
    Posts
    367
    Reputation
    22
    Rep Power
    21
    depends which city...

  3. #3
    Free User
    Join Date
    Dec 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    yeah iknow, just i required the action bro, i can edit the more

    the action of the slot armor, "check slot armor"

  4. #4
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,820
    Reputation
    220
    Rep Power
    26
    This will go to some label if your armor isn't brass armor

    if $chest.id ~= itemid('brass armor') then
    gotolabel('withdraw_money')
    end

  5. #5
    Free User
    Join Date
    Dec 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by mistgun View Post
    This will go to some label if your armor isn't brass armor

    if $chest.id ~= itemid('brass armor') then
    gotolabel('withdraw_money')
    end
    Thanks so much!! I will check this action, two question more brosito, the first if i want check "brass legs" then i need:

    if $chest.id ~= itemid('brass legs') then    
    gotolabel('withdraw_money')
    end

    ??????????????????????????????


    and second question is: "Ok" The action check if i have armor, if i don't have, then goto label "withhdraw money" BUT, if i have armor then continue with "gocontinue"


    if $chest.id ~= itemid('brass armor') then
    gotolabel('withdraw_money')
    else
    gotolabel('gocontinue')
    end


    ???
    Last edited by sageis; 04-24-2016 at 05:13 PM.

  6. #6
    Wind Powered dimasdagama's Avatar
    Join Date
    Mar 2014
    Location
    Rio de Janeiro
    Posts
    367
    Reputation
    22
    Rep Power
    21
    @sageis check legs will be:

    if $legs.id ~= itemid('brass legs') then    
    gotolabel('withdraw_money')
    end


    second is ok!

  7. #7
    Free User
    Join Date
    Dec 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    all scripts works perfect thanks so much @dimasdagama and @mistgun
    +REP are 2

    close thread (:

 

 

Posting Permissions

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