CodeTags v1.5.0 by Roy911 (Remotes Script)
Usage:
//echo $tags([green]asdf)
Would return asdf green and underlined.
Supported Tags:
[white], [black], , [dblue], [green], [red], [brown], [purple], [orange], [yellow], [lgreen], [turq], , [lblue], [blue], [pink], [gray], [lgray], , , , [r], [/r], , and .
Version History:
v1.0.0:
-Created
v1.5.0:
-Fixed underline/bold bug
-Edited colorcodes
/*
CodeTags v1.5.0 by Roy911 (Remotes Script)
irc.abxy.org:#Roy911
Usage:
//echo $tags([green]<u>asdf</u>)
Would return asdf green and underlined.
Supported Tags:
[white], [black], , [dblue], [green], [red], [brown], [purple], [orange], [yellow], [lgreen], [turq], , [lblue], [blue], [pink], [gray], [lgray], , <u>, </u>, [r], [/r], **, and **.
Version History:
v1.0.0:
-Created
v1.5.0:
-Fixed underline/bold bug
-Edited colorcodes
*/
alias tags {
var %text = $1-
var %text = $replace(%text,[white],00,[black],01,[dblue],02,[green],03,[red],04,[brown],05,[purple],06,[orange],07,[yellow],08,[lgreen],09,[turq],10,[lblue],11,[blue],12,[pink],13,[gray],14,[lgray],15,,)
var %text = $replace(%text,**,$chr(2),**,$chr(2),[r],$chr(22),[/r],$chr(22),<u>,$chr(31),</u>,$chr(31))
return %text
}