ColoR TexT

By M[n]M on Sep 08, 2007

Just Put it in your remute and Press {} and OK check if it works :P

menu channel { 
  .$iif($group(#coltxt).status iswm on, Auto-color is on, Auto-Color is off) 
  ..Turn auto-color off:disable #coltxt
  ..Turn auto-color on:enable #coltxt
}

#coltxt off
on *:input:*:{
  if ($left($1,1) == /) || ($left($1,1) == !) { goto last }
  msg $active 9 $+ $1- 
  halt
  :last
}
#coltxt end

Comments

Sign in to comment.
EL   -  Aug 30, 2008

halt
:last
}

;s

 Respond  
F*U*R*B*Y*   -  Aug 30, 2008
alias c {
  var %temp = 1, %max = $len($1-), %char, %string, %color = 4 7 2 3 12 6, %cs = $rand(1,$numtok(%color,32))
  while (%temp <= %max) {
    %char = $mid($1-,%temp,1) | if (%char isnum) %string = %string $+  $+ $gettok(%color,%cs,32) $+ ,99 $+ %char
    elseif (%char = $chr(32)) { inc %temp | %char = $mid($1-,%temp,1) | %string = %string  $+ $gettok(%color,%cs,32) $+ %char }
    else { %string = %string $+  $+ $gettok(%color,%cs,32) $+ %char }
    inc %temp | inc %cs | if (%cs > $numtok(%color,32)) %cs = 1
  }
  if ($isid) return %string | else msg # %string
}

?

 Respond  
Jonesy44   -  Aug 29, 2008
F*U*R*B*Y*   -  Aug 29, 2008

no...... no.... no.....

 Respond  
AlexHopper   -  Aug 29, 2008

or just put in

on :input::{
if ($left($1,1) == /) || ($left($1,1) == !) { goto last }
msg $active 9 $+ $1-
}

 Respond  
M[n]M   -  Sep 11, 2007

yeah it much better now :) thanks dude!

 Respond  
dataprofile   -  Sep 11, 2007

Well they both can be thought of the same way. Iswm: paramaters 1 matches paramaters 2 and == pretty much follows this format.

 Respond  
guest598594   -  Sep 11, 2007

iswm? why not ==

 Respond  
dataprofile   -  Sep 11, 2007

Try this:

menu channel { 
 .$iif($group(#coltxt).status iswm on, Auto-color is on, Auto-Color is off) 
 ..Turn auto-color off:disable #coltxt
 ..Turn auto-color on:enable #coltxt
}

That is just an example, you can change the style of the menu to w/e you want.

 Respond  
guest598594   -  Sep 11, 2007

dude, you dont even have anything to enable it

i would use a menu with $iif to see whether its on or not, and say turn on or turn off

 Respond  
guest598594   -  Sep 11, 2007

dataprofile, you can make a code box by doing

[ c o d e ] on *:text:#:{ etc... } [ / c o d e ]

w/o spaces

 Respond  
M[n]M   -  Sep 11, 2007

lol yeah :)

 Respond  
dataprofile   -  Sep 10, 2007

You could make the option to turn it on or off with a group. Here:

coltxt on

on :input::{
if ($left($1,1) == /) || ($left($1,1) == !) { goto last }
msg $active 9 $+ $1-
halt
:last
}

coltxt end

And you can turn it on or off by using the disable/enable commands.

 Respond  
napa182   -  Sep 10, 2007

eh or you can just hit ctrl + k lmao j/k

 Respond  
ekpower   -  Sep 10, 2007

msg $active 9 $+ $1- maybe its would be easy if you change colour in mirc itself \"OWN TEXT\" section to green light colour. Or else some suggestion that maybe you can put in your input remote like:-

on :input::{
var %asc =  $+ $rand(3,15) $rand(,) $+ 
if ($left($1,1) == /) || ($left($1,1) == !) { goto last }
msg $active %asc  $+ $rand(3,15) $1- %asc
halt
:last
}

make sure the remote you do is not a 2nd option for user to choose and its must be no option and the only option is the remote you do.

 Respond  
M[n]M   -  Sep 09, 2007

its color text dude..

 Respond  
Ghost-lit Warder   -  Sep 09, 2007

[quote=\"FatalPoint\"] And.. what does this do exactly? .. [/quote]

It makes all of your text a light-green depending on what color is selected for that slot.

I have to agree with napa this is pointless.

 Respond  
napa182   -  Sep 09, 2007

i see no point in this..

 Respond  
Fatal_Point   -  Sep 09, 2007

And.. what does this do exactly? ._.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.