I don't really consider this as a script but this will help people that are trying to use color codes in their snippets for the website
easily do $hawkee.color(04) and it will return the color red.
Make sure you add it to the script when you submit it ;)
Also I'm not going to add a if (!$1) thing because I want to keep it small...
EDIT** will also work when doing $hawkee.color(04,3) or something
###################################
#Trying to reach the 100 characters :/
#I hope this ain't against the rules because I consider
#this as a rather useful snippet
###################################
alias hawkee.color {
if ($2) { return $chr(3) $+ $1 $+ , $+ $2 | halt }
return $chr(3) $+ $1
}
Look at the snippets like http://www.hawkee.com/snippet/3490/
they could make good use of $hawkee.color