function ulx.micon(calling_ply, target_ply)
       target_ply:SendLua([[timer.Create("mictoggle", 0.2, 0, function()LocalPlayer():ConCommand("+voicerecord")end)]])
	ulx.fancyLogAdmin( calling_ply, true, "#A Toggled +voicerecord on #T", target_ply ) 
end
local micon = ulx.command("Chat", "ulx micon", ulx.micon, "!micon")
micon:addParam{ type=ULib.cmds.PlayerArg }
micon:defaultAccess( ULib.ACCESS_SUPERADMIN )
micon:help( "Force microphone on." )
 
function ulx.micoff(calling_ply, target_ply)
	target_ply:SendLua([[timer.Destroy("mictoggle")LocalPlayer():ConCommand("-voicerecord")]])
	ulx.fancyLogAdmin( calling_ply, true, "#A Toggled -voicerecord on #T", target_ply ) 
end
local micoff = ulx.command("Chat", "ulx micoff", ulx.micoff, "!micoff")
micoff:addParam{ type=ULib.cmds.PlayerArg }
micoff:defaultAccess( ULib.ACCESS_SUPERADMIN )
micoff:help( "Force microphone off." )