Results 1 to 3 of 3

Thread: Crazy Script needed...

  1. #1
    Normal User Crimewave's Avatar
    Join Date
    Jul 2012
    Location
    Sweden, Stockholm
    Posts
    205
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    12
    Rep Power
    5

    Crazy Script needed...

    Hellow, I need some crazy action to add to my action in cavebot (wpt)

    stop cavebot mana up with great mana potion to 90%
    write utana vid even if already is utana vid
    cavebot on


    and other script

    if warlock or stone golem on screen cavebot off
    if no warlock or stone goldem on screen cavebot on

    very needed

    thanks in advance

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by Crimewave View Post
    Hellow, I need some crazy action to add to my action in cavebot (wpt)

    stop cavebot mana up with great mana potion to 90%
    write utana vid even if already is utana vid
    cavebot on


    and other script

    if warlock or stone golem on screen cavebot off
    if no warlock or stone goldem on screen cavebot on

    very needed

    thanks in advance
    local ManaOff = 90 --Procent mana to turn off cavebot
    local CreaturesToConsider = {'Warlock', 'Stone Golem'}

    if mppc < ManaOff or maround(7, unpack(CreaturesToConsider)) > 0 then
    setcavebot('off')
    if mppc < ManaOff then
    while mppc < 90 do
    useitem('Great mana potion')
    updateworld()
    end
    if cancast('utana vid') then
    cast('utana vid')
    updateworld()
    end
    setcavebot('on')
    end
    else
    setcavebot('on')
    end


    A bit tired now during the night hehe, but should work okey I guess
    You wanted two actions but made all in one, hope it works, if you really want two different ones here you go


    local ManaOff = 90 --Procent mana to turn off cavebot

    if mppc < ManaOff then
    setcavebot('off')
    while mppc < 90 do
    useitem('Great mana potion')
    updateworld()
    end
    if cancast('utana vid') then
    cast('utana vid')
    updateworld()
    end
    setcavebot('on')
    end


    local CreaturesToConsider = {'Warlock', 'Stone Golem'}

    if maround(7, unpack(CreaturesToConsider)) > 0 then
    setcavebot('off')
    else
    setcavebot('on')
    end

  3. #3
    Normal User Crimewave's Avatar
    Join Date
    Jul 2012
    Location
    Sweden, Stockholm
    Posts
    205
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    12
    Rep Power
    5
    @Drakke thx I will try it

Posting Permissions

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