KviBoolSelector*pUse=addBoolSelector(0,0,0,0,__tr2qs_ctx("Enable lag meter","options"),KviOption_boolUseLagMeterEngine);
#ifdef COMPILE_INFO_TIPS
mergeTip(pUse,__tr2qs_ctx("<center>This enables the lag meter engine, which checks at regular intervals how much lag (latency) the server has.</center>","options"));
KviUIntSelector*pInterval=addUIntSelector(g,__tr2qs_ctx("Lag meter heartbeat:","options"),KviOption_uintLagMeterHeartbeat,2000,10000,5000,KVI_OPTION_BOOL(KviOption_boolUseLagMeterEngine));
KviUIntSelector*pAlarm=addUIntSelector(g,__tr2qs_ctx("Trigger event if lag exceeds:","options"),KviOption_uintLagAlarmTime,5000,1000000,30000,KVI_OPTION_BOOL(KviOption_boolUseLagMeterEngine));
KviBoolSelector*pShow=addBoolSelector(g,__tr2qs_ctx("Show lag in IRC context display","options"),KviOption_boolShowLagOnContextDisplay,KVI_OPTION_BOOL(KviOption_boolUseLagMeterEngine));
#ifdef COMPILE_INFO_TIPS
mergeTip(pShow,__tr2qs_ctx("<center>This makes the IRC context display applet show the current lag after the user's nickname (in seconds)</center>","options"));