This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

adding color

Old posts that have not been replied to for several years.
Locked
J
JOE
Voice
Posts: 34
Joined: Mon Nov 24, 2003 1:33 am

adding color

Post by JOE »

Trying to add color to this using green a and red for channel name.Can you show me how it should look.

"PRIVMSG $NICK :\001ACTION Hey, $nick, Profanity is bad,I will not allow it in Bellchat.\001
Hope you can help me solve this i tried using /0033 in front of Hey but it didnt work.Thanks Joe
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Try \ instead of /
J
JOE
Voice
Posts: 34
Joined: Mon Nov 24, 2003 1:33 am

still a problem

Post by JOE »

Thanks for the tip.My problem now is when i add the color to the next line using the same code it dont work for some reason,this is what i have.

putserv "PRIVMSG $chan :\001ACTION \00304Detected A Banned Word by $nick\001"

putserv "PRIVMSG $nick :\001ACTION \00304Hey, $nick, Profanity IS BAD,I Will Not allow Such A Thing In Bellchatl!!!\001"

putserv "PRIVMSG $chan :\001ACTION \00304Bad Language Is Not Fun, $nick Should never have said that...\001"

also if i wanted to add different color to each letter for channel name how would i do that,channel name is bellchat.Thanks again for your help Joe
User avatar
Xpert
Halfop
Posts: 88
Joined: Mon Mar 08, 2004 7:03 am

Re: still a problem

Post by Xpert »

JOE wrote:putserv "PRIVMSG $chan :\001ACTION \00304Detected A Banned Word by $nick\001"

putserv "PRIVMSG $nick :\001ACTION \00304Hey, $nick, Profanity IS BAD,I Will Not allow Such A Thing In Bellchatl!!!\001"

putserv "PRIVMSG $chan :\001ACTION \00304Bad Language Is Not Fun, $nick Should never have said that...\001"
Why didn't you close the \003?
It should be like this:

Code: Select all

putserv "PRIVMSG $chan :\001ACTION \00304Detected A Banned Word by $nick\003\001"
Xpert.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is no requirment to close a colour
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

JOE,

Those lines of code you posted work for me.

Also, to add color to the channel name, you'll have to do like \00304B\00305e\00306l etc.
Locked