Ren minimap viewport, ren upgrades, predict movement

V - ren_minimap_viewport enable/disable, B - ren_upgrades disable/enable, N - net_predict_movement disable/enable

// ==UserScript==
// @name Ren minimap viewport, ren upgrades, predict movement
// @description V - ren_minimap_viewport enable/disable, B - ren_upgrades disable/enable, N - net_predict_movement disable/enable
// @author Nimdac#0648
// @namespace https://greasyfork.org/users/668919
// @version 1.1
// @match *://diep.io/*
// @grant none
// ==/UserScript==
f={66:'ren_upgrades',78:'net_predict_movement',86:'ren_minimap_viewport',KeyV:1},addEventListener('keyup',e=>(k=e.keyCode)&&f[k]&&input.set_convar(f[k],!(f[e.code]^=1)))