From 7ac5d978dab73c271de9338025857bc6019b1182 Mon Sep 17 00:00:00 2001 From: Brandon Cornejo Date: Fri, 20 Sep 2019 21:44:00 -0500 Subject: [PATCH] auto-cols for skills/speak/lang/who/help/nickname/spells/rituals/group status commands --- src/aliases.tin | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/src/aliases.tin b/src/aliases.tin index f7d465d..354574f 100644 --- a/src/aliases.tin +++ b/src/aliases.tin @@ -23,7 +23,6 @@ setsize; }; - #ALIAS {colourpalette} { #foreach {a;b;c;d;e;f} {cnt1} @@ -40,10 +39,6 @@ } } -#ALIAS {easyvote} { - #system {lynx http://www.topmudsites.com/vote-pinkfish.html}; -}; - #ALIAS {minesolve %1 %2 %3} { #var {total} {%1}; #var {hammer} {%2}; @@ -58,3 +53,36 @@ #format {minesolvedisplay} {<149>[MineSolver] Best solution is <139>%d<149> pickaxe strikes and <139>%d<149> hammer chips for a total of <159>%f<149> inches.<099>} {$solution[1]} {$solution[2]} {$total}; #echo {$minesolvedisplay}; }; + + +#nop Resizing aliases for when we're in "cols 999" mode; +#ALIAS {^skills%1} { + #send {cols 130}; + #send {skills %1}; + #send {cols 999}; +}; +#ALIAS {^{speak|language}$} { + #send {cols 130}; + #send {speak}; + #send {cols 999}; +}; +#ALIAS {^spells$} { #send {cols 130}; #send {spells}; #send {cols 999}; }; +#ALIAS {^rituals$} { #send {cols 130}; #send {rituals}; #send {cols 999}; }; + +#ALIAS {^group status$} { #send {cols 130}; #send {group status}; #send {cols 999}; }; + +#ALIAS {^{who$|who (.+)$}} { + #send {cols 130}; + #send {%0}; + #send {cols 999}; +}; +#ALIAS {^help %1} { + #send {cols 130}; + #send {help %1}; + #send {cols 999}; +}; +#ALIAS {^nickname$} { + #send {cols 130}; + #send {nickname}; + #send {cols 999}; +};