functions - dotg - Day Of The GrParazyd
(HTM) git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dotg
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
---
functions (314B)
---
1 #!/bin/sh
2
3 navigation() {
4 locations="
5 Campus_Outside
6 Cafeteria
7 "
8 current="$(cat "$savegame/room")"
9 echo
10 for i in $locations; do
11 if ! [ "$current" = "$i" ]; then
12 echo "[1|Go to $i|$path/$i.dcgi|server|port]"
13 fi
14 done
15 }
16
17 _msg() {
18 echo
19 echo "$*" | fmt --width=109 | sed 's/\t//g' | sed 's/^t/tt/'
20 }