xxfxx Posted April 12, 2007 Posted April 12, 2007 ok here is what i have sofar but you have to hit enter befor you can put in text to the chat area so after that is done you can typ your message in then have to hit enter again to send message.. am i on the right track or way off on this one expandcollapse popup;;;; Global Pause Start ;;;; Global $Paused ;;;; Global Pause End ;;;; ;;;; Hotkey Settings Start ;;;; HotKeySet("{HOME}", "TogglePause") HotKeySet("{END}", "Terminate") ;;;; Hotkey Settings End ;;;; ;;;; Script Global Sleep Start ;;;; While 1 Sleep(1000) WEnd ;;;; Script Global Sleep End ;;;; ;;;; Toggle Pause and Splash On/Off Start ;;;; Func TogglePause() $Paused = Not $Paused While $Paused Sleep(1000) Send("{enter down}") Sleep(1000) Send("{enter up}") Sleep(1000) Send("{text content for area chat}") Sleep(1000) Send("enter down}") Sleep(1000) Send("{enter up}") WEnd EndFunc ;;;; Toggle Pause and Splash On/Off End ;;;; ;;;; End/Close/Terminate Function Start ;;;; Func Terminate() Exit EndFunc ;;;; End/Close/Terminate Function End ;;;;
xxfxx Posted April 12, 2007 Author Posted April 12, 2007 simply trying to get it to type up informatin on a chat box in a game
D4rk^S0ul Posted April 12, 2007 Posted April 12, 2007 On line 40 i dont believe you need {} unless u wish to include them on in your messege and on line 42 u missed out a open bracket, If the game is something like WoW then something just like this would work: expandcollapse popup; Script Start - Add your code below here ;;;; Global Pause Start;;;; Global $Paused ;;;; Global Pause End;;;; ;;;; Hotkey Settings Start;;;; HotKeySet("{HOME}", "TogglePause") HotKeySet("{END}", "Terminate") ;;;; Hotkey Settings End;;;; ;;;; Script Global Sleep Start;;;; While 1 Sleep(1000) WEnd ;;;; Script Global Sleep End;;;; ;;;; Toggle Pause and Splash On/Off Start;;;; Func TogglePause() $Paused = Not $Paused While $Paused Send("{ENTER}") Send("text content for area chat") Sleep(500) Send("{ENTER}") Sleep(4500) WEnd EndFunc ;;;; Toggle Pause and Splash On/Off End;;;; ;;;; End/Close/Terminate Function Start;;;; Func Terminate() Exit EndFunc ;;;; End/Close/Terminate Function End;;;;
xxfxx Posted April 13, 2007 Author Posted April 13, 2007 that workd great but i added two lines and it screwd up so back to the drawing bord lol but ty.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now