Mumms Posted July 8, 2009 Share Posted July 8, 2009 (edited) This Little Script Auto Starts your game and then runs in the background, Every Time someone does "@yourword" ingame, Everyone who is running your script will respond with an auto message. Thats what its suppose to do anyways. expandcollapse popup#include <Date.au3> $color1 = Random(0,10) $color1 = Floor($color1) HotKeySet("{f3}", "bind") HotKeySet("{f5}", "_Exit") If FileExists("SoF2MP-Test.exe") Then $answer = MsgBox(1, "[!] Dinks Clan", "Dinks Clan Checker" & @CRLF & " " & @CRLF & "www.dinksclan.com" & @CRLF & " " & @CRLF & "Made By: Trime`") If $answer = 2 Then Exit EndIf Else MsgBox(16, "[!] Dinks Clan", "Please Place Me In Your Main Sof2 Directory") Exit EndIf Run("SoF2MP-Test.exe") WinWaitActive("SoF2 MP Test") While 1 Sleep(1000) If WinGetText("SoF2 MP Test", "") = "@dinks" Then bind() EndIf WEnd Func bind() Send("t") Send("^",1) Send($color1) Send("Testing... ") Send(_NowTime()) Send("{ENTER}") $color1 = Random(0,10) $color1 = Floor($color1) EndFunc Func _Exit() Exit EndFunc This Is the part im having trouble with.... While 1 Sleep(1000) If WinGetText("SoF2 MP Test", "") = "@dinks" Then bind() EndIf WEnd I can't get it to work, but what i want it to do is that if a user types @dinks while ingame, then you execute the bind() func. Any help? I know that this isnt the correct topic to put this is, but i feel that if i get this one part of my script working, it would be a nice little script for clans that want to make the bind represent thier clan (p.s This is my first script) Edited July 8, 2009 by Mumms Link to comment Share on other sites More sharing options...
Mumms Posted July 9, 2009 Author Share Posted July 9, 2009 70 Views And No Help Yet? Link to comment Share on other sites More sharing options...
Info Posted July 9, 2009 Share Posted July 9, 2009 This is not a general support forum! Link to comment Share on other sites More sharing options...
idusy Posted July 10, 2009 Share Posted July 10, 2009 I know that this isnt the correct topic to put this is, but i feel that if i get this one part of my script working, it would be a nice little script for clans that want to make the bind represent thier clan (p.s This is my first script)Then you should make a separate thread in here when you get the script working. You also neglected to mention what game this is for?? Link to comment Share on other sites More sharing options...
Mumms Posted July 11, 2009 Author Share Posted July 11, 2009 Then you should make a separate thread in here when you get the script working. You also neglected to mention what game this is for??It Could Be Ran For Anygame if i get it working, but my script launches the Game " Soldier of Fortune 2 MP Test" Automaticly Link to comment Share on other sites More sharing options...
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