X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasesmodel.cpp;h=a0723305e36f8d34f20dcf899f3319fb690fd2d6;hp=8df227910d1e4ca6f095c30c41cc58cfe0591504;hb=94be5fb31afd8f3befa8cb2cf1b3c2e5ef3cdba5;hpb=f7eb3911860f30e6bccce3c77d03fc25e87d7f93 diff --git a/src/qtui/settingspages/aliasesmodel.cpp b/src/qtui/settingspages/aliasesmodel.cpp index 8df22791..a0723305 100644 --- a/src/qtui/settingspages/aliasesmodel.cpp +++ b/src/qtui/settingspages/aliasesmodel.cpp @@ -52,7 +52,12 @@ QVariant AliasesModel::data(const QModelIndex &index, int role) const { "Example: \"foo\" can be used per /foo"; case 1: return "The string the shortcut will be expanded to
" - "$i represenents the i'th parameter. $0 the whole string.
" + "special variables:
" + " - $i represenents the i'th parameter.
" + " - $i:hostname represents the hostname of the user identified by the i'th parameter or a * if unknown.
" + " - $0 the whole string.
" + " - $currentnick your current nickname
" + " - $channelname the name of the selected channel

" "Multiple commands can be separated with semicolons

" "Example: \"Test $1; Test $2; Test All $0\" will be expanded to three separate messages \"Test 1\", \"Test 2\" and \"Test All 1 2 3\" when called like /test 1 2 3"; default: