comparison 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
comparison
equal deleted inserted replaced
1653:a704cb020566 1654:a599a9429928
73 /mss Reputation: @{BCwhite}%{_repval}@{n} [@{BCred}%{P1}@{nBCgreen}$[replace("@","@@",{P2})]@{nCgreen}%{P3}@{nBCyellow}%{P4}@{nCyellow}%{P5}@{n}]%;\ 73 /mss Reputation: @{BCwhite}%{_repval}@{n} [@{BCred}%{P1}@{nBCgreen}$[replace("@","@@",{P2})]@{nCgreen}%{P3}@{nBCyellow}%{P4}@{nCyellow}%{P5}@{n}]%;\
74 /endif 74 /endif
75 75
76 /def -i showrep =\ 76 /def -i showrep =\
77 /set barbrep_gag=1%;\ 77 /set barbrep_gag=1%;\
78 @@grep '[[]' barbarian binfo %{set_plrname}%;\ 78 @@%{set_grepcmd} '[[]' barbarian binfo %{set_plrname}%;\
79 79
80 80
81 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 81 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
82 ;; Looting and burning 82 ;; Looting and burning
83 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 83 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;