Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

Viewing file on branch master

1/*
2This script will return the nick except with multi-character usernames
3containing a zero-width space between the first and second character letter.
4
5Single character usernames will be left untouched.
6
7This is useful to prevent remote users from nickalerting
8IRC users of the same name when the remote user speaks.
9
10This result can be used in {TENGO} in RemoteNickFormat.
11*/
12
13result = nick
14if len(nick) > 1 {
15 result = string(nick[0]) + "​" + nick[1:]
16}
17