Jump to content
  • 0

How can i make @afk > wait before kick out


systemD2540

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   10
  • Joined:  07/17/14
  • Last Seen:  

Hi everyone , I tried to create my item funtion on the call script

I want to try @afk > wait 5 miniute > log out from servers But doesn't works anyways

 

Sorry, my bad in english

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

-        script   ANTIAFK    -1,{

OnPCLoginEvent:s

Sleep2 5000;

if (checkidle(strchrinfo(0)) >= 5) 

atcommand "@kick "+strcharinfo(0);

goto OnPCLoginEvent;

}

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   10
  • Joined:  07/17/14
  • Last Seen:  

Sorry it is't , mean we use item[@afk] and next steps > have free time 5 miniute before > log out > Charecter Online with AFK

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

7 hours ago, systemD2540 said:

Sorry it is't , mean we use item[@afk] and next steps > have free time 5 miniute before > log out > Charecter Online with AFK

 

you can use this one, just use addtimer 

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6229-L6257

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   10
  • Joined:  07/17/14
  • Last Seen:  

Yes i have src AFK and working But when i use Item AFK atcommend @afk; not deley for 5 miniute before log out

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...