Jump to content
Sign in to follow this  

writing line to irc new line every hour

Recommended Posts


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)

Func Abort()
Edited by Seagul

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