Pages: [1]
|
 |
|
Author
|
Topic: [script] Now You Decide If You Want To Have Color (Read 3787 times)
|
Da-Huntha
Janitor
Administrator
Rank 2/4
Offline
Posts: 218
Moo Moo Machine
|
So, all OPs are away on a channel and you want to turn those damn annoying colors off because some dude is using them all them time? Or perhaps because he talks in a color that matches your background color and you dont want another color or you are just to lazy to change it? Here is the sollution!!! on ^*:text:*:#:{ if (%colorson = false) { /echo $chan $timestamp < $+ $nick $+ > $strip($1-) haltdef } }
alias /colorson { /set %colorson true /echo $chan Colors are turned on } alias /colorsoff { /set %colorson false /echo $chan Colors are turned off } Do /colorson to turn thy damn colors on and /colorsoff to turn em off You might wanna tweak it.... if the channel is +S you still cannot see colors altrough you turned em on... this script has effect on ALL channels you are on... soon il make it so you can turn off certain channels....
|
|
|
|
« Last Edit: June 23, 2004, 11:12:00 am by Da-Huntha »
|
Logged
|
This signature is tasty.
|
|
|
|
cpprograms
|
true, but what if the person doesn't usually have timestamps? /me has a solution. on ^*:text:*:#:{ if (%colorson == false) { /echo -t $active < $+ $nick $+ > $strip($1-) haltdef } }
alias /colorson { /set %colorson true /echo $active Colors are turned on } alias /colorsoff { /set %colorson false /echo $active Colors are turned off } //echo -t adds a timestamp if timestamping is on. also, I changed $chan to $active, since I think $active also works in pms, and $chan isn't always the active chan (usually is for this type of thing tho, lol) The last thing I did was add ==, since it is the thing that actually compares them, lol. also, you want one for on /me statements too? put this in also on ^*:action:*:#:{ if (%colorson == false) { /echo -t $active 6* $nick $strip($1-) haltdef } }
|
|
|
|
« Last Edit: June 23, 2004, 06:37:50 pm by cpprograms »
|
Logged
|
|
|
|
|
Kesha
|
Actually, that would send messages from all chans directly to you... But doesn't mIRC have a turn off colors and stuff option internally? well here's one that comes with action, notices and ctcps =D on ^*:text:*:#:{ if (%colorson == false) { echo -t $chan < $+ $nick $+ > $strip($1-) haltdef } } on ^*:text:*:?:{ if (%colorson == false) { echo -t $nick < $+ $nick $+ > $strip($1-) haltdef } } on ^*:action:*:#:{ if (%colorson == false) { echo -t $chan * $nick $strip($1-) haltdef } } on ^*:action:*:?:{ if (%colorson == false) { echo -t $nick * $nick $strip($1-) haltdef } } on ^*:notice:*:#:{ if (%colorson == false) { echo -t $chan - $+ $nick $+ - $strip($1-) haltdef } } on ^*:notice:*:?:{ if (%colorson == false) { echo -ts - $+ $nick $+ - $strip($1-) haltdef } } ctcp ^*:*:*:#:{ if (%colorson == false) { echo -t $chan [ $+ $nick $strip($1-) $+ ] $strip($2-) haltdef } } ctcp ^*:*:*:?:{ if (%colorson == false) { echo -ts [ $+ $nick $strip($1-) $+ ] $strip($2-) haltdef } } alias colors { if (%colorson == false) { set %colorson true echo $active * Colors are turned on } if (%colorson == true) { set %colorson false echo $active * Colors are turned off } }
|
|
|
|
|
Logged
|
|
|
|
Da-Huntha
Janitor
Administrator
Rank 2/4
Offline
Posts: 218
Moo Moo Machine
|
schweet yes, but CPP your script would only annoy since it sends everything directly to you.. and i know the script should get some improvement but this was right for me XD in dont wanna spend my time on this instead  feel free to finish or alter it in anyway and putting it in this topic..
|
|
|
|
|
Logged
|
This signature is tasty.
|
|
|
Catclone
I like turtles
Administrator
Rank 2/4
Offline
Posts: 173
|
schweet yes, but CPP your script would only annoy since it sends everything directly to you.. and i know the script should get some improvement but this was right for me XD in dont wanna spend my time on this instead  feel free to finish or alter it in anyway and putting it in this topic.. They already did
|
|
|
|
|
Logged
|
|
|
|
Da-Huntha
Janitor
Administrator
Rank 2/4
Offline
Posts: 218
Moo Moo Machine
|
schweet yes, but CPP your script would only annoy since it sends everything directly to you.. and i know the script should get some improvement but this was right for me XD in dont wanna spend my time on this instead  feel free to finish or alter it in anyway and putting it in this topic.. They already did They must have edited it then secretly
|
|
|
|
|
Logged
|
This signature is tasty.
|
|
|
Catclone
I like turtles
Administrator
Rank 2/4
Offline
Posts: 173
|
Suuuuuuuuuuuuuuuuuuuuuurrrrrrreeeeeeeee they did
|
|
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
 |