F4 on join

What I need is for the f4 menu to open whenever you join the server. Would I be able to get a little help?
Cheers

Please see Developer Discussion for help threads, thanks!