This simple little tool sends a message of your choice to people who message you when your away.
Just type in the message, select some options, and hit activate.
Version 1.00
Code:
SetTitleMatchMode 2
Gui, Add, GroupBox, x6 y10 w190 h300 , Xfire AFK Responder
Gui, Add, Text, x16 y30 w60 h20 , Text to say
Gui, Add, Edit, x16 y60 w170 h30 vTTS,
Gui, Add, Button, x16 y260 w170 h40 gActive, Activate
Gui, Add, Radio, x16 y160 w170 h30 vcxw, Close Xfire Window after messaging
Gui, Add, Radio, x16 y120 w170 h30 vcs, Close script after messaging
Gui, Add, GroupBox, x11 y99 w181 h151 , Options
Gui, Add, Text, x16 y200 w170 h30 gVTXT vVTXT, Version 1.00 by Fry
; Generated using SmartGUI Creator 4.0
Gui, Show, x379 y245 h318 w206, Xfire Responder
return
GuiClose:
exitapp
return
Active:
Winminimize,Xfire Responder
Gui,Submit,NoHide
WinWait,- Chat Window
WinGetTitle, Title, A
StringSplit, w, Title, -, %A_Space%
ControlSetText, RichEdit20W2, [This is an AUTOMATED message] %TTS%,%Title%
sleep 500
sendinput {enter}
Winminimize,%Title%
sleep 500
If (cxw = "1")
{
Winclose, %Title%
gosub active
}
If (cs = "1")
{
exitapp
}
If (cxw = "1" && cs = "1")
{
Winclose, %Title%
sleep 500
exitapp
}
gosub Active
return
VTXT:
Guicontrol,,VTXT,Heres your cookie! Nom Nom Nom
sleep 5000
Guicontrol,,VTXT,Version 1.00 by Fry
return
Have Fun!
Found some bugs?
Postem here and maybe try to fix them