Skip to content

Instantly share code, notes, and snippets.

@binaryatrocity
Last active December 31, 2015 19:39
Show Gist options
  • Save binaryatrocity/8035168 to your computer and use it in GitHub Desktop.
Save binaryatrocity/8035168 to your computer and use it in GitHub Desktop.
MUD Connect Script (tmux & tintin++)
#/bin/bash
tmux split-window -h -p 35 "tail -f ~/MUD/$1/chat.log"
tmux split-window -v -p 40 "pico ~/MUD/$1/notes.txt"
tmux select-pane -t 0
tt++ ~/MUD/$1/config.tin
tmux kill-pane -a
##################################################
#split
#config {speedwalk} on
#config log raw
#var chat_file {/home/br4n/documents/MUD/DarkMists/chat.log}
#var note_file {/home/br4n/documents/MUD/DarkMists/notes.txt}
#prompt {<%1hp %2mn %3mv %4tnl>$} {<%1hp %2mn %3mv %4tnl>} {1}
#session DarkMists darkmists.org 2222;
#action {stop evaluating your opponents.$} {eval}
#alias {c %*}
{
#var last_spell {%1};
#send {c $last_spell}
}
#action {^You lost your concentration.}
{
#send {c $last_spell}
}
#alias {scanall}{#send {scan north}; #send {scan west}; #send {scan south}; #send {scan east}; }
#alias {eats}{#send {get mushroom bag}; #send {eat mushroom};}
#alias {wnote %*}{#line {log} {$note_file} {%0}}
#action {~NEWBIE} {#line log $chat_file }
#action {~%w tells you, '%*'}{#line log $chat_file }
#action {~You tell} {#line log $chat_file }
#action {~%w says, '%*'} {#line log $chat_file }
#action {~You say, '%*'} {#line log $chat_file }
#action {~[OOC]} { #line log $chat_file }
#action {tells the group} {#line log $chat_file}
#action {tell the group} {#line log $chat_file}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment