From WikiChip
Difference between revisions of "mirc/identifiers/$addtokcs"
< mirc‎ | identifiers

(Created page with "{{mirc title|$addtokcs Identifier}}'''$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...")
 
(melbet alalp Fub)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{mirc title|$addtokcs Identifier}}'''$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.
+
Willingly I accept. In my opinion, it is an interesting question, I will take part in discussion. Together we can come to a right answer. I am assured.
 
 
== Synopsis ==
 
<pre>$addtokcs(<list>,<token>,<C>)</pre>
 
 
 
== Paramters ==
 
 
 
* '''<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 ==
 
None
 
 
 
== Example ==
 
<source lang="mIRC">//echo -a $addtokcs(A,a,32)</source>
 
Would display "A a", $addtok would have returned "A".
 
 
 
== Compatibility ==
 
{{mIRC compatibility|5.91}}
 
 
 
== See Also ==
 
{{mIRC|$addtok}}
 
{{mIRC|$remtok}}
 
{{mIRC|$gettok}}
 
{{mIRC|$deltok}}
 
{{mIRC|$matchtok}}
 
{{mIRC|$wildtok}}
 
{{mIRC|$findtok}}
 
{{mIRC|$istok}}
 
{{mIRC|$instok}}
 
{{mIRC|$puttok}}
 
{{mIRC|$numtok}}
 
{{mIRC|$reptok}}
 
{{mIRC|$sorttok}}
 
 
 
 
 
[[Category:MIRC identifiers]]
 

Latest revision as of 23:37, 9 March 2025

Willingly I accept. In my opinion, it is an interesting question, I will take part in discussion. Together we can come to a right answer. I am assured.