Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
player on screen logout
#1
i would like a script that when there is a player on screen the bot will logout randomly between 3-15 mins, im rune making and when someone comes by i want it to seem im afk and not just using pause bot
Reply

#2
Hello.

if paround() > 0 then
    wait(1000 * 60 * random(3, 15))
    if connected() then
        logout()
    end
end
Reply

#3
thanks
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.

@Arkilys

Thank you for this script, i was just searching something like that.

Can you just tell me how does it work?
Is this script gonna logout nny character if there is player on visible screen?
or its gonna logout even if there is player over visible screen?
Reply

#5
|Only Registered members can see download links. | Click here to buy subscription or here to register.

calling paround() without any parameters will detect player on same floor, whenever possible. That means it can detect players outside screen.
Reply

#6
If I change the script to the below will it work as intended? I can't test it in game

if paround() > 0 then
    wait(1000 * 60 * random(5, 10))
    if connected() then
        pausebot()
    end
end

So if player is around for between 5 and 10 minutes, bot pauses?
Reply

#7
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Hello.

No, if a player shows up then it will wait 5 to 10 minutes and if stills connected then pause bot.
It will NOT check if still any players (or even the same player) on screen to decide if should pause bot or not.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016