static void InitInternalTriggers(void) { // dont allow cheating by triggering showloc command AddInternalTrigger("^(Location :|Angles :)", 4, INTRIG_Disable); // showloc command // dont allow cheating by triggering dispenser warning AddInternalTrigger("^Enemies are using your dispenser!$", 16, INTRIG_Disable); // lastip AddInternalTrigger("([0-9]|1?\\d\\d|2[0-4]\\d|25[0-5])\\.([0-9]|1?\\d\\d|2[0-4]\\d|25[0-5])\\.([0-9]|1?\\d\\d|2[0-4]\\d|25[0-5])\\.([0-9]|1?\\d\\d|2[0-4]\\d|25[0-5])\\:(\\d{5})", 8, INTRIG_Lastip_port); }
static void InitInternalTriggers(void) { // dont allow cheating by triggering showloc command AddInternalTrigger("^(Location :|Angles :)", 4, INTRIG_Disable); // showloc command // dont allow cheating by triggering dispenser warning AddInternalTrigger("^Enemies are using your dispenser!$", 16, INTRIG_Disable); // lastip AddInternalTrigger("([0-9]|[01]?\\d\\d|2[0-4]\\d|25[0-5])\\.([0-9]|[01]?\\d\\d|2[0-4]\\d|25[0-5])\\.([0-9]|[01]?\\d\\d|2[0-4]\\d|25[0-5])\\.([0-9]|[01]?\\d\\d|2[0-4]\\d|25[0-5])\\:(\\d{4,5})", 8, INTRIG_Lastip_port); // lastip address, restricted to 64 bytes AddInternalTrigger("\\b([A-Za-z0-9-.]{1,53}?\\.[A-Za-z]{2,4}\\:\\d{4,5})", 8, INTRIG_Lastip_port); }