Sign in to follow this  
Followers 0
xxfxx

text input

5 posts in this topic

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

;;;; 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 ;;;;

Share this post


Link to post
Share on other sites

What are you trying to do with this script?

Share this post


Link to post
Share on other sites

simply trying to get it to type up informatin on a chat box in a game

Share this post


Link to post
Share on other sites

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:

; 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;;;;

Share this post


Link to post
Share on other sites

that workd great but i added two lines and it screwd up so back to the drawing bord lol but ty.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0