I would like to be able to @everyone with just a console command.
Console command for @everyoneSolved
What would be the purpose of this? If you mean the ingame console you can do this using:
chat.say @everyoneAlternatively, you can bind it to a key.bind <key> chat.say @everyone Locked automatically