Personalize a bit

- add say channels
- add aliases
- mess with the setup script
master
Pete Ley 9 months ago committed by Pete Ley
parent dae8c183a3
commit 8067784058

@ -13,7 +13,7 @@ COLS=$(tput cols)
# SIZES
# -------------------------------------------------------------------------------------
let "CLIENT_W = 88"
let "MAP_H = 23"
let "MAP_H = 19"
let "MAP_W = 30"
# PANE NAMES
@ -48,7 +48,7 @@ $TMUXE split-window -t=$SNAME:$WNAME -h # 0 | 1
# NOTE: tmux numbers relative to last split.
# In this split order:
# Pane 0 - Client
# Pane 1 - RHS, map
# Pane 1 - RHS, map
# Pane 2 - RHS, room (split off of pane 1, map)
# Pane 3 - RHS, chat (renumbered by creation of 2)
@ -72,7 +72,7 @@ echo "$(tail -n 20 ${MAPLOG})" > $MAPLOG
$TMUXE send-keys -t=$SNAME:$WNAME.0 "MUDLOG=${MUDLOG} CHATLOG=${CHATLOG} MAPLOG=${MAPLOG} TELLLOG=${TELLLOG} tt++ $BOOTSTRAP" Enter
$TMUXE send-keys -t=$SNAME:$WNAME.1 "tail -n 20 -f $MAPLOG" Enter
$TMUXE send-keys -t=$SNAME:$WNAME.2 "tail -n 50 -f $TELLLOG" Enter
$TMUXE send-keys -t=$SNAME:$WNAME.3 "tail -n 50 -f $CHATLOG" Enter
$TMUXE send-keys -t=$SNAME:$WNAME.3 "tail -n 50 -f $CHATLOG | fold -s" Enter
# Attach session after configure
# -------------------------------------------------------------------------------------

@ -7,7 +7,7 @@
#NOP Prepend log timestamps
#NOP Uncomment this to disable: #variable {tsFormat} {};
#variable {tsFormat} {%Y-%m-%d %H:%M%Z> };
#variable {tsFormat} {%y%m%d %H:%M> };
#NOP Channels to pull into the private chat window
#NOP Reference http://www.aardwolf.com/wiki/index.php/Clients/GMCP#aard_comm_channels
@ -17,13 +17,25 @@
#list privateChannels {add} {spouse};
#list privateChannels {add} {clantalk};
#NOP Channels to echo in main window
#list sayChannels {create} {};
#list sayChannels {add} {say};
#list sayChannels {add} {mobsay};
#NOP Map save/load paths;
#variable {mapAutosave} {mapdata/autosave.map};
#variable {playerMap} {mapdata/player.map};
#NOP Configure your character name and password for autologin, if desired;
#variable {characterName} {};
#variable {characterName} {plibonigxu};
#variable {characterPass} {};
#NOP Set preferred maptype. Defaults to 1 (UTF-8 single-line walls);
#variable {mapType} {1};
#NOP aliases;
#alias {drfo} {enter;runto health;dr fo;}
#alias {drfor} {drfo;enter;d;}
#alias {nappy} {drfo;n;sleep in bed;}
#alias {qr} {enter;d;runto questor;q r;runto recall;q i}
#alias {qc} {enter;d;runto questor;q r;runto recall}

@ -21,6 +21,13 @@
};
};
#NOP If it's a say, echo it;
#list {sayChannels} find {$message[comm][channel][chan]} {foundIndex};
#if {$foundIndex > 0} {
#show {$message[comm][channel][msg]};
#return {};
};
#NOP Timestmaps are a special #format call - {variable} {%t} {strftime format};
#format {cTime} {%t} {$tsFormat};

Loading…
Cancel
Save