TinTin++ Configs for DiscworldMUD
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.
 
 

16 lines
552 B

cd ~/documents/MUD/Discworld
if [[ ! $(tmux ls -F '#S') =~ discworld ]]; then
rm logs/minimap.log && touch logs/minimap.log
rm logs/mapdoortext.log && touch logs/mapdoortext.log
rm logs/chat.log && touch logs/chat.log
tmux new-session -d -A -D -s discworld 'tail -fs .5 logs/chat.log'
tmux select-window -t discworld:0
tmux split-window -v -p 85 'sh mdt'
tmux split-window -v -p 85 'bash'
tmux send-keys 'tt++ -G config.tin' 'C-m'
# clear && watch -n10 logs/xptimers.log
fi
tmux -2 attach-session -t discworld -d