Results 1 to 7 of 7

Thread: Few things that i need to know.

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Few things that i need to know.

    Hello,

    Will these action work? if i set the varriables?

    Setup
    Code:
    --BackPack Setup--
    mainbp = "backpack of holding" -- change to what u want :)
    lootbp = "demon backpack" -- change to what u want :)
    goldbp = "jewelled backpack" -- change this to what you want
    powerboltbp = "camouflage backpack" -- change this to what you want
    Code:
    closewindows()
    openitem(mainbp, 'back')
    waitcontainer() 
    resizewindows()
    openitem(lootbp, mainbp, true)
    waitcontainer()
    resizewindows()
    openitem(goldbp, mainbp, true)
    waitcontainer()
    resizewindows()
    Setup for potions and ammo.

    Code:
    --Ammo Setup--
    reffill = true --true will refill   false wont refill
    minammo = 400 --go dp if less then
    maxammo = 1000 --how many power bolts to buy at refill
    ammotype = 'Power bolt' --power bolts you want to buy
    ammoid = 3450 --itemid
    ammocost = 7--ammo cost
    cap = 200
    
    
    --Potions Setup--
    reffill = true --true will refill   false wont refill
    minpotions = 100 --go dp if less then
    maxpotions = 260 --how many potions to buy at refill
    potiontype = 'strong mana potion' --potion you want to buy
    potionid = 237 --itemid
    potioncost = 80--potion cost for withdraw from bank
    
    Check
    Code:
    if itemcount(manapotion) <= leavemana or itemcount(ammoname) <= leaveammo or $cap <= leavecap then
       gotolabel('exit')
      else
    		gotolabel('Hunt')
    	end
    At bank.
    Code:
    say('hi')
    wait(3000,4000)
    npcsay('deposit all')
    wait(3000,4000)
    npcsay('yes')
    wait(3000,4000)
    npcsay('withdraw '..((maxpotions-itemcount(potionid))*potioncost))
    wait(1500,1200)
    npcsay('yes')
    wait(1500,1200)
    npcsay('balance')
    These are my actions from neobot that i've used.

    And if someone could make me an action to buy MP's so it will work with varriables.

    Thank you.
    .::Glocieus From NeoBot Forums::.

    Scripts Coming Soon [ September 2012 ]

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Everything seems to be ok except for one thing.

    "$cap" should be "cap"

  3. #3
    iBot User
    Join Date
    May 2012
    Location
    Albufeira/Portugal
    Posts
    82
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    11
    Rep Power
    5
    will work if u change what Bug already said.. Keep it up

  4. #4
    Normal User
    Join Date
    Jun 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Ahh okey thanks.

    I had many more but when neobot ended, i deleted all my actions and scripts.
    Will this simple action work?

    npcsay("hi")
    wait(3000,4000)
    npcsay("trade")
    wait(3000,4000)
    buyitemsupto("mana potion, 50")

    Gonna buy this bot today, so i just want to know if i be able to make a script
    .::Glocieus From NeoBot Forums::.

    Scripts Coming Soon [ September 2012 ]

  5. #5
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    buyitemsupto("mana potion", 50)

  6. #6
    Normal User
    Join Date
    Jun 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I've streched my mind and done something like this

    Code:
    say('hi')
    wait(1000,2000)
    npcsay('trade')
    wait(1000,2000)
    buyitemsupto(potiontype,maxpotions,itemcount(potionid))
    wait(1000,2000)
    npcsay('bye')
    Is this okey?
    Sorry that I'm asking so many simple questions, but before i buy this bot i want to get all my actions/scripts that i'll need rdy.

    And again big thank you.
    Last edited by Glocieus; 06-21-2012 at 01:13 PM.
    .::Glocieus From NeoBot Forums::.

    Scripts Coming Soon [ September 2012 ]

  7. #7
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    That works aswell


    You see a list of actions, you can take a look at blakw's thread here:
    http://www.tibiaibot.com/forum/showt...p?3038-Actions

Posting Permissions

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