gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
374 B
20 lines
374 B
#!/bin/bash
|
|
# LGSM command_execute.sh function
|
|
# Author: Juhani Aronen
|
|
# Website: https://gameservermanagers.com
|
|
lgsm_version="210516"
|
|
|
|
# Send message to server
|
|
|
|
local modulename="Execute"
|
|
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
|
|
|
|
TMUX_BIN=tmux
|
|
|
|
check.sh
|
|
|
|
execute()
|
|
{
|
|
$TMUX_BIN send -t ${servicename} "$*" "enter"
|
|
echo "Command executed: '$*'"
|
|
}
|
|
|