Func Down()
TraySetIcon ( @ScriptDir & "SDown.bmp" )
Endfunc
Func Up()
TraySetIcon ( @ScriptDir & "Sup.bmp" )
Endfunc
TraySetIcon won't change the icon. Is it not allowed to be a .bmp or something?
Yes, that is just a portion of the actual script. So don't say anything along the lines of "lulz, joo has to call teh function first"
Some more information:
I'm trying to make a script to tell if a server is up. So far, it works. But when the server is down, I want the Tray icon