Results 1 to 5 of 5

Thread: Help sell items

  1. #1
    iBot User
    Join Date
    Dec 2014
    Posts
    1
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3

    Help sell items

    Hi guys, im new here and I'm trying to sell all maces and swords i have, How do you do that?

  2. #2
    Normal User
    Join Date
    Nov 2014
    Location
    Poland - podlaskie
    Posts
    132
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    28 Post(s)
    Reputation
    47
    Rep Power
    3
    @jp rojas


    PHP Code:
    if islocation(3then
       reachcreature
    ("NAME_OF_NPC")
       
    wait(1500)
       
    say("hi")
       
    wait(1500)
       
    npcsay("trade")
       
    wait(500)

         while 
    itemcount("mace") > do
              
    sellitems("maceM"100)
         
    end

         
    while itemcount("sword") > do
              
    sellitems("sword"100)
         
    end

         
    while itemcount("brass armor") > do
              
    sellitems("brass armor"100)
         
    end

    end 

  3. #3
    Normal User
    Join Date
    Feb 2015
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    2
    Thanks Juicy, same problem here

  4. #4
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by Tggyor View Post
    Thanks Juicy, same problem here
    Quote Originally Posted by jp rojas View Post
    Hi guys, im new here and I'm trying to sell all maces and swords i have, How do you do that?
    if you ever need to sell anything else, this will sell everything it can from lootlist

    local ItemsToSell = getlootitems()

    opentrade()
    wait(800,1000)

    for i=1,ItemsToSell.count-1 do
    while tradecount('sell',ItemsToSell[i].name) > 0 do
    sellitems(ItemsToSell[i].name,100)
    wait(100,200)
    end
    end
    Last edited by Drakke; 08-20-2015 at 09:37 PM.

  5. #5
    Normal User lopez65's Avatar
    Join Date
    Aug 2015
    Location
    Espa˝a
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    10
    Rep Power
    2
    #JuicyScripts and #Drakke , very thanx

Posting Permissions

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