Results 1 to 3 of 3

Thread: Help with Label (Action) if Paround.

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

    Help with Label (Action) if Paround.

    Alright Im new using this bot so I want my character to perform an action but I have no clue how to set the bot to do it.

    Here is what I want:

    If player appears on screen, move 1sqm or 2sqm north, then close tibia,Ive seen a script similar to this but already have the cavebot activated, because Im using it to eat food and as an anti-idle. Is there a way to set write my label on the cavebot section and not make it run unless a player appears on the screen? Im hope its not too confusing.

  2. #2
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    make an action in cavebot:

    if paround() > 0 then
    return
    else
    gotolabel("checkplayer")
    end


    When player appeard on screen it will go to next waypoint else will keep in ActionWaypoint so change the name to "checkplayer".

  3. #3
    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 lorenzo View Post
    Alright Im new using this bot so I want my character to perform an action but I have no clue how to set the bot to do it.

    Here is what I want:

    If player appears on screen, move 1sqm or 2sqm north, then close tibia,Ive seen a script similar to this but already have the cavebot activated, because Im using it to eat food and as an anti-idle. Is there a way to set write my label on the cavebot section and not make it run unless a player appears on the screen? Im hope its not too confusing.
    I made an action for you, just enter this in Action > List
    if paround(10) > 0 then

    setcavebot('off')
    settargeting('off')
    setlooting('off')

    gotopos = posy-2
    while posy ~= gotopos do
    reachlocation(posx,gotopos-1,posz)
    wait(300,400)
    updateworld()
    end
    logout() --Or closetibia()
    end
    Last edited by Drakke; 04-26-2015 at 05:21 PM.

Posting Permissions

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