Module Script
Private tx As XTimer = new XTimer(45000)
Public Sub Main()
tx.StartTimer
End Sub
End Module
Class XTimer
' *** The system timer
Private tx As System.Timers.Timer
' *** The class constructor
Public Sub New(pElapsed As Integer)
' *** Initialize the timer
tx = new System.Timers.Timer(pElapsed)
' *** Add the event handler
AddHandler tx.Elapsed, AddressOf TimerFired
End Sub
' *** Starts the timer
Public Sub StartTimer()
tx.Enabled = true
End Sub
' *** Stops the timer
Public Sub StopTimer()
tx.Enabled = false
End Sub
' **** Executes when the elapsed event occurs
Public Sub TimerFired(ByVal Sender As Object, ByVal e As System.Timers.ElapsedEventArgs)
StopTimer()
' Xlobby.SendCommand("xlobby", "close overlay")
Xlobby.SendCommand("plugin", "command", "xTransition", "Close Overlay:", "fade")
End Sub
End Class
Marbles_00 wrote:Just create an event with the following commands:
show overlay (your overlay)
wait (10000ms for 10 seconds)
close overlay
Just tried it and it works.
Hope this helps