From WikiChip
$addtokcs Identifier - mIRC
< mirc‎ | identifiers
Revision as of 13:14, 20 September 2017 by Sophist (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$addtokcs adds a token to a list of token, only if the token does not already exist in the list, return the resulting list. $addtokcs is case sensitive.


Synopsis[edit]

$addtokcs(<list>,<token>,<C>)

Paramters[edit]

  • <list> - The list of tokens (can be empty)
  • <token> - The token to add, if you pass $null here, the original list is returned, it doesn't return an error.
  • <C> - The ascii number (or code point) of the character seperating the tokens

Properties[edit]

None

Example[edit]

//echo -a $addtokcs(A,a,32)

Would display "A a", $addtok would have returned "A".

Compatibility[edit]

Added: mIRC v5.91
Added on: 15 Jun 2001
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

$addtok $remtok $gettok $deltok $matchtok $wildtok $findtok $istok $instok $puttok $numtok $reptok $sorttok