diff gm-barb.tf @ 1654:a599a9429928

Implement 'grepcmd' setting (/grepcmd, /opts), which can be used to configure what BatMUD command is sent when GgrTF greps for things. The default is 'grep', of course.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 28 Sep 2021 02:11:30 +0300
parents 87f45da5abd1
children 356c3c26aee6
line wrap: on
line diff
--- a/gm-barb.tf	Fri Mar 12 14:47:58 2021 +0200
+++ b/gm-barb.tf	Tue Sep 28 02:11:30 2021 +0300
@@ -75,7 +75,7 @@
 
 /def -i showrep =\
 	/set barbrep_gag=1%;\
-	@@grep '[[]' barbarian binfo %{set_plrname}%;\
+	@@%{set_grepcmd} '[[]' barbarian binfo %{set_plrname}%;\
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;