Hey everyone,
I've been messing around with some new things and adlibs look extremely useful/interesting, however, I can't seem to get it to work.. Here's what I have
HotKeySet("{F1}", "_Exit")
$qCount = 1
Global $_Timer
AdlibRegister($_Timer, 1000)
AdlibUnRegister($_Timer)
While 1
SoundPlay(@WindowsDir & "\media\tada.wav", 1)
$qCount += 1
ToolTip('"Tada" has been played ' & $qCount & " times",200,200)
WEnd
Func _Timer()
Local Static $iCount += 1
ConsoleWrite($iCount)
If $iCount = 20 Then ConsoleWrite("iCount is at " & $iCount)
EndFunc
Func _Exit()
Exit
EndFunc
Basically I want it to call the _Timer function but it doesn't seem to work :/ any ideas?