!7 static int timeout = 10000; // TODO: spam p { final PGauge gauge1 = pMain(PGauge); final PGauge gauge2 = pMain(PGauge); swing { moveWindowToTheRight(pFrame(gauge2), pFrame(gauge1).getWidth()+20); } repeat with sleep 2 { pgauge_showSystemLoad(gauge1, "Old server load", parseDouble(print(loadPageWithTimeout(timeout, "http://botcompany.de/1001951/raw/system+load")))); pgauge_showSystemLoad(gauge2, "New server load", parseDouble(print(loadPageWithTimeout(timeout, "http://butter.botcompany.de:8080/1001951/raw/system+load")))); } }