1! $eterna: input_aliases,v 1.7 2018/06/10 08:17:44 mrg Exp $ 2! 3! Copyright (c) 1990-2018 Michael Sandrof, Troy Rollo, Matthew Green, 4! and other ircII contributors. 5! 6! All rights reserved. See the HELP IRCII COPYRIGHT file for more 7! information. 8! 9Usage: SET INPUT_ALIASES [ON|OFF|TOGGLE] 10 Turns ON or OFF the expanding of aliases in the inputline, 11 If you set INPUT_ALIASES ON and type: ECHO $S 12 you will see your server name echoed to your window. If it is 13 OFF, you will see $S echoed to your window. INPUT_ALIASES now 14 has no effect on expansions in the .ircrc and loaded files. To 15 Make a line expand when a file is loaded, use EVAL <command>. 16 17 Note also, that when INPUT_ALIASES is ON, text within (..) and {..} 18 are not expanded. If you want them to be expanded then quote the 19 leading ( or {. e.g. \( \{ 20 21 Additionally, You can return to full alias substitution 22 within ${...} by enclosing the substitution text in 23 [...]. Thus if $0 == test, and $bear == black 24 ${[$0]} expands to "test" 25 ${[$bear]} expands to "black" 26 ${bear} also expands to "black" 27 ${ bear == [black] } expands to "1", 28 ${ [$0] == [test] } expands to "1" 29 ${ [$0] == [black] } expands to "0" 30 ${ [$0](this) } expands to the return value of $test(this) 31 32Note: 33 If you do turn on INPUT_ALIASES in the .ircrc then the argument 34 expandos ($*, $0, $1, $3-4, etc) will expand to the command line 35 arguments passed to IRCII on startup. 36