How to store large words/sentence in single letter

Hi, newbie here,
I wish to store large words/sentences in single or short words, for example

Prompt | Enter game type | game

echo | It is ${game} |

In this I want echo as ‘A game of shadows’ or ‘Game of thrones’ by typing ‘s’ or ‘t’ in prompt input instead of typing out the whole thing


ifv2 | ${game} == 's'
echo | A game a shadows

You can also elseif through as many abbreviations as you need.

1 Like