proc putnow { a } {
append a "\n"
putdccraw 0 [string length $a] $a
}
bind JOIN - * teen:adult
proc teen:adult {nick uhost hand chan} {
global botnick
set $nick [string tolower $nick]
if {[onchan $nick #staff] && [onchan $nick #teens] && [onchan $nick #adults] || $nick == "Alexia"} {
return 0
} else {
if {[onchan $nick #adults] && [onchan $nick #teens]} {
putnow "PRIVMSG #staff :\00304$nick IS IN TEENS AND ADULTS!\003"
}
}
}
#############################################
# COLORS #
# to change the color look for the string #
# \00304 and change the 04 part to the color#
# you would like to use :) #
#-------------------------------------------#
# 00 - white` | 01 - black #
# 02 - blue | 03 - green #
# 04 - light red | 05 - Brown #
# 06 - Purple | 07 - Orange #
# 08 - Yellow | 09 - Light Green #
# 10 - Cyan | 11 - Light Cyan #
# 12 - Light Blue | 13 - Pink #
# 14 - Grey | 15 - Light Grey #
#############################################
putlog "Teen-adult version 2 loaded"
the reason I think it MIGHT be an error with their java client is because IRC users can see the color just fine.... any ideas on how to fix it other then removing color?
So the possible error would be wether clients see colors or not?
If so, it's pretty obvious it's the client's "fault" (keep in mind that colors is'nt standard in irc, just a de-facto standard implemented by some clients).
If the client does'nt support colors, there's nothing you can do within the script...