Jump to content

Need some Help


Demon777
 Share

Recommended Posts

I have a problem guys =)

I made a script for a game that should show how much time till next Event...

This Event starting every 1.30 Hour.. For example:

At 10.30 on channel 5-4 for low lvl and on ch 1-3 for high lvl...

At 12.30 on channel 1-3 for low lvl and on ch 5-4 for high lvl...

So how can i make this script to show the time till every Event ?

I tryed this :

$Form1 = GUICreate("Event Check", 218, 104, -1, -1)
$Label1 = GUICtrlCreateLabel("Next Event is at :", 8, 8, 139, 17)
GUICtrlSetFont(-1, 8, 400, 0, "Segoe UI")
$Label2 = GUICtrlCreateLabel("$Time", 152, 8, 35, 17)
GUICtrlSetFont(-1, 8, 800, 0, "Segoe UI")
GUICtrlSetColor(-1, 0xFF0000)

If $Hour < 0 and $Min < 30 Then
    GUICtrlSetData ($Label2, '0.30')
EndIf

For Example :

If @HOUR and @MIN < 12.30 and > 10.30 Then Set Data to Label2 that next Event is at 12.30 and so on...

Need help =P Thanks !

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...