- script checkreport -1,{ OnInit: bindatcmd("checkreport","checkreport::OnCheck",0,10); end; OnCheck: if (getgroupid()>1) { query_sql("SELECT count(*) FROM `cp_support_tickets` WHERE `status`=1",.@count); mes "In the bugreport "+.@count+" unsolved problems."; switch(select("Read:Goodbye")) { case 1: open "http://test.awesomero.com/?module=support", strcharinfo(0); end; case 2: next; mes "You are a bad man!"; close; } } else { dispbottom "That command only for GM, sorry man!"; end; } }