so using Ixara script I made some modification. I added some more useful script.
1st:
CODE
con_enable 1
With this code, you no longer need "-console" at Dota 2 launch option on Steam. This way whenever you launch Dota 2 the console won't automatically pop-up. After you launch Dota 2 just tab ` to toggle console.
2nd:
CODE
bind f6 "net_graph 1"
bind f7 "net_graph 0"
Tab F6 to show ping and FPS, tab F7 to hide it in case you don't wanna see it on your screen. Can bind to any key you want.
3rd (I didn't use this one)
CODE
dota_force_right_click_attack 1
Enable right click deny. Remove this line if you don't want this feature.
Here's the script:
http://pastebin.com/raw.php?i=ZyX8jBSrOpen the url and copy the code.
paste code to notepad and save it as autoexec.cfg
then put the autoexec.cfg into ur dota2 folder
C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\cfg (For 64bit)
C:\Program Files\Steam\steamapps\common\dota 2 beta\dota\cfg (For 32 bit)