Results 1 to 2 of 2

Thread: Help on making own scripts

  1. #1
    Normal User
    Join Date
    Jun 2013
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Help on making own scripts

    I need someone who can help me out to make my own scripts. I am having some issues with some actions and I think a scripter with decent experience would be able to help me. This scripts will most likely be released to the community. If someone can help me out I would really appreciate it.


    Just send me a PM

    The North Remembers

  2. #2
    Normal User
    Join Date
    Jun 2013
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    For example: I am currently making a script but I cannot go past the buying manas option because it will buy and endless amount of manas and will get stuck in there:

    Action List
    Code:
    MainBp = "Brocade Backpack"
    RareBp = "Yellow Backpack"
    GoldBp = "Golden Backpack"
    DepotBp = "Green Backpack"
    StackBp = "Grey Backpack"
    LootBp = "Blue Backpack"
    
    MpCount = 70
    MpType = "mana potion"
    MpPrice = 50
    AmmoCount = 20
    AmmoType = "royal spear"
    AmmoPrice = 20
    
    MpLeave = 10
    AmmoLeave = 7
    CapLeave = 30
    Banker:
    Code:
    local Mana = positive(MpCount - itemcount("mana potion"))*MpPrice
    findcreature("Tesha")
    say("hi")
    wait(1500,2500)
    npcsay("deposit all")
    wait(200,300)
    npcsay("yes")
    wait(200,300)
    
    if Mana> 0 then
    npcsay("withdraw "..Mana)
    wait(200,300)
    npcsay("yes")
    wait(200,300)
    npcsay("balance")
    wait(200,400)
    end
    Mana Refiller:
    Code:
    findcreature("Mehkesh") 
    wait(500,1000) 
    sellflasks() 
    wait(500,900) 
    opentrade() 
    wait(500,800) 
     
    local Potions = MpCount - itemcount("mana potion")
    
    while Potions> 0 do 
    buyitems("mana potion", Potions) 
    wait(500,900)
    npcsay("bye")
    wait(500,900)
    Potions = Potions-100
    end

    The North Remembers

Posting Permissions

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