Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Colors assigned by hashing the current nickname, rather than assigning a random one.
- ; Adapted from another script with an unknown author.
- ;
- ; Also copy the following variable to the Variables section (Do not copy the semicolon):
- ; %colors 0 2 3 4 5 6 7 9 10 11 12 13 14 15
- on ^*:TEXT:*:#:{
- if ($cnick($nick).color == $color(normal text)) {
- set %colors_hash $calc($hash($1, 16) % $numtok(%colors, 32))
- echo -s Color: $nick set to %colors_hash
- .cnick $nick $gettok(%colors, %colors_hash, 32)
- }
- }
Add Comment
Please, Sign In to add comment