$username

Returns a user's username.

Usages

There are two usages of the $username function.

Usage #1

$username - Returns the username of the user running this command.

Usage #2

$username[userID] - Returns username of the user with the 'userID' that is provided.

Examples

Example #1

(for this example a echo command)

$nomention
Hello $username!

example1

Example #2

(for this example a hug command)

$nomention
$username just hugged $username[$mentioned[1]]!

example2