Skript Exepute Console Command

//this is to make console execute a command\\
make console execute command "/cmdhere"

//to make a player execute a command\\
execute player command "/spawn"
Motionless Mantis