[REQUEST] Auto Type /afk

kokom7

Active Member
Joined
Nov 4, 2016
Messages
36
Likes
0
Points
21
Location
United Kingdom
Website
paypal.com
5
#1
Hello   :ugbase:  members...
All of you can make a cleo like, automatically typing /afk if got this message

{FF6347}Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main
this the image:


yeah like that... if that message showed in chatbox, i want it automatically typing /afk , it's make me can sleep without typing /afk as shit..
Please i really need this..   :pPFFH: , and i want this will be auto-on  :pPFFH: :yesyes: :yesyes: :yesyes:
 
Joined
Aug 17, 2014
Messages
7
Likes
0
Points
1
1
#9
WTF anak JGRP ini wkwk :v itu SS foto /afk nya text JGRP dasar admin goblog :v
 
Joined
Nov 19, 2016
Messages
7
Likes
0
Points
1
1
#14
ah dasar, gw mah gak pake /afk, tapi pake bot, itu jgrp yah ? kwkwk gw juga maen disitu, nih gw kasih link http://ugbase.eu/Thread-Anti-AFK-for-rp-server-by-san0
enakin buat nunggu jail atau delays job kwkwkw.

hadeh mod gratis, pas minta suruh bayar kwkw. #noobsagnadbocah
 

springfield

Well-Known Member
Staff member
Joined
Feb 18, 2005
Messages
2,968
Likes
76
Points
98
Website
www.ugbase.eu
10
#17
There are a lot of examples on how to read from chat and extract certain words.
http://ugbase.eu/Thread-Help-with-cleo--16507?page=1 this guy made something similar.
 
Joined
Feb 5, 2017
Messages
8
Likes
0
Points
1
1
#19
kokom7 said:
Hello   :ugbase:  members...
All of you can make a cleo like, automatically typing /afk if got this message

{FF6347}Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main
this the image:


yeah like that... if that message showed in chatbox, i want it automatically typing /afk , it's make me can sleep without typing /afk as shit..
Please i really need this..   :pPFFH: , and i want this will be auto-on  :pPFFH: :yesyes: :yesyes: :yesyes:
You can use autohotkey script for this.
1. Download autohotkey and intall it.
2. Right click on your desktop and create a new file with autohotkey type.
3. Delete contain and put it:
    Loop
{
   FileGetSize, Size, PUT HERE CHATLOG LOCATION\chatlog.txt
   If (Size > FileSize)
   {
       FileSize := Size
       Loop
       {
           FileReadLine, Read, PUT HERE CHATLOG LOCATION\chatlog.txt, % A_Index + LineIndex
           if ErrorLevel
           {
               LineIndex += A_Index - 1
               break
           }
           NewLines .= Read "`n"
       }
       if NewLines ~= "Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main"
     {
        SendInput t/afk{Enter}
     }
   }
   NewLines := ""
  Sleep, 500
}
 

mistery

Well-Known Member
Joined
Apr 23, 2014
Messages
267
Likes
3
Points
68
#20
Code:
~F2::
setbatchlines, -1
setkeydelay, -1
Loop
{
   FileGetSize, Size, PUT HERE CHATLOG LOCATION\chatlog.txt
   If (Size > FileSize)
   {
       FileSize := Size
       Loop
       {
           FileReadLine, Read, PUT HERE CHATLOG LOCATION\chatlog.txt, % A_Index + LineIndex
           if ErrorLevel
           {
               LineIndex += A_Index - 1
               break
           }
           NewLines .= Read "`n"
       }
       if NewLines ~= "Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main"
     {
        SendInput {t}/afk{Enter}
     }
   }
   NewLines := ""
  Sleep, 500
}
F3::reload
return

 
Top