4 385
modifications
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 63 : | Ligne 63 : | ||
Red text on a blue background would be: | Red text on a blue background would be: | ||
< | <syntaxhighlight lang="javascript">bot.say("#canal", "\x0304,02Example\x03")</syntaxhighlight> | ||
==Other formatting== | ==Other formatting== | ||
Ligne 91 : | Ligne 91 : | ||
== Function JavaScript converter == | == Function JavaScript converter == | ||
< | <syntaxhighlight lang="javascript"> | ||
function formattingColorIRC(str) { | function formattingColorIRC(str) { | ||
Ligne 114 : | Ligne 114 : | ||
formattingColorIRC("�0,4test"); //Result=\x030,4test | formattingColorIRC("�0,4test"); //Result=\x030,4test | ||
</ | </syntaxhighlight> | ||
==Mots clés== | ==Mots clés== | ||
control characters, IRC colors, IRC colours, caret notation, irc colors javascript, converter irc colors for bot javascript or tcl | control characters, IRC colors, IRC colours, caret notation, irc colors javascript, converter irc colors for irc bot javascript or tcl |