Seagul Posted August 23, 2009 Posted August 23, 2009 (edited) I think everything is working so far, hopefully I have it setup right where it reads new line every hour does it look like everythings code right? ah shoot i fubard it somewhere Opt("WinWaitDelay", 100) Opt("WinTitleMatchMode", 4) Opt("WinDetectHiddenText", 1) Opt("MouseCoordMode", 0) HotKeySet("{pause}", "Abort") Dim $Ad,$IM,$IRC $IRC = "mIRC" $IM = "/echo : Test AD :| " $file = FileOpen("ads.txt", 0) $line = 1 $Ad = FileReadLine($file, $line) $rest = 3600000 ; one hour while 1=1 ControlSend($IRC, "", "Edit1", $IM & $Ad & "{Enter}{Enter}") FileReadLine($file, $line + 1) Sleep($rest) wEnd Func Abort() FileClose($file) Exit EndFunc Edited August 23, 2009 by Seagul
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