Introduction
Introduction Statistics Contact Development Disclaimer Help
shorten use.dcgi - dotg - Day Of The GrParazyd
git clone git://bitreich.org/dotg git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d…
Log
Files
Refs
Tags
---
commit 426b6226b3f241ffe2486325b1e0417fd3204433
parent 74b73ef589543b707afb73fee8f956b8a5e7d7fe
Author: parazyd <[email protected]>
Date: Fri, 23 Feb 2018 18:27:00 +0100
shorten use.dcgi
Diffstat:
M act-i/use.dcgi | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
---
diff --git a/act-i/use.dcgi b/act-i/use.dcgi
@@ -12,28 +12,17 @@ call="$(find_usecase $itemname $currentloc)"
case "$call" in
No*)
- cat <<EOM
-$call
-
-[1|Exit|$path/$(cat $savegame/room).dcgi|server|port]
-EOM
- return
+ echo "$call"
;;
use-generic*)
use_generic "$itemname"
- cat <<EOM
-
-[1|Exit|$path/$(cat $savegame/room).dcgi|server|port]
-EOM
- return
;;
use-specific*)
use_specific "$(echo $call | awk -F, '{print $2}')" "$itemname"
- cat <<EOM
-
-[1|Exit|$path/$(cat $savegame/room).dcgi|server|port]
-EOM
- return
;;
esac
+cat <<EOM
+
+[1|Exit|$path/$(cat $savegame/room).dcgi|server|port]
+EOM
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.