Code: Select all
Queuedcheck()
{
PixelGetColor, queue_color, 1140, 57, RGB
if (queue_color = 0x005176) {
return 0
} else {
return 1
}
}
if !Queuedcheck()
Gosub, start_Queue
Code: Select all
Queuedcheck()
{
PixelGetColor, queue_color, 1140, 57, RGB
if (queue_color = 0x005176) {
return 0
} else {
return 1
}
}
variable = Queuedcheck()
if !variable
Gosub, start_Queue
Coming from some C projects I wonder: why do I need this variable? If more context is needed I will happily provide it