XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 6 of 6

Thread: One Liner Alert

  1. #1

    Join Date
    Feb 2012
    Posts
    124
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    One Liner Alert

    Hey folks, as title says, im looking for a simple "play alert" one liner that i can add to the end of my script so that it will alert me when my script has stopped. thank you in advance

  2. #2
    Oscagi's Avatar
    Join Date
    Aug 2014
    Location
    Spain
    Posts
    237
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)
    Use Walker Stuck in alarms.


    REMEMBER TO SAY THANKS.

  3. #3
    Senior Member Jontor's Avatar
    Join Date
    Sep 2014
    Posts
    446
    Mentioned
    51 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by nacho_125 View Post
    Hey folks, as title says, im looking for a simple "play alert" one liner that i can add to the end of my script so that it will alert me when my script has stopped. thank you in advance
    alert()

  4. #4

    Join Date
    Feb 2012
    Posts
    124
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jontor View Post
    alert()
    is that all? and is there a place where i can see all the one liners that i can use?

  5. #5
    Senior Member Aristeus's Avatar
    Join Date
    Jun 2013
    Location
    Sweden
    Posts
    600
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by nacho_125 View Post
    is that all? and is there a place where i can see all the one liners that i can use?
    Check the native library it's in your xenobot install folder (in the data folder).

  6. #6

    Join Date
    Feb 2012
    Posts
    124
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    is there a way to add an npc loot seller to this script?

    elseif (labelName == "Bank") then
    Walker.Stop()
    print([[Depositing GP & withdrawing money for supplies..]])
    Self.SayToNpc("hi")
    wait(700,900)
    Self.SayToNpc("deposit all")
    wait(700,900)
    Self.SayToNpc("yes")
    wait(700,900)
    Self.WithdrawMoney((120*(MPBuy-Self.ItemCount(ManaPots)))+(45*(GFBBuy-Self.ItemCount(GFBID)))+10000)
    wait(700,900)
    if ((SoftBoots == true) and (Self.ItemCount(6530) > 0)) then
    Self.WithdrawMoney(12000)
    end
    wait(700,900)
    Self.SayToNpc("balance")
    Targeting.Start()
    Walker.Start()

    elseif (labelName == "Pots") then
    Walker.Stop()
    print([[Refilling pots..]])
    Self.SayToNpc("hi")
    wait(700,900)
    Self.SayToNpc("vial")
    wait(700,900)
    Self.SayToNpc("yes")
    wait(700,900)
    Self.SayToNpc("trade")
    wait(700,900)
    Self.ShopBuyItemsUpTo(ManaPots, MPBuy)
    wait(2700,3000)
    Walker.Start()

Posting Permissions

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