Okay so i made this script bout 2 weeks ago i had some problems with it but its working now if it doubles i'm sorry i use mIRC Invincible and it didn't double for me at all. i had some help from my friend Mugen with the input part Rate & Comment
YOU CAN CHANGE THE COLORS BUT YOU HAVE TO DO THAT IN THE SCRIPT. I'm working on making it into a Dialog for easier use. when i get it working into a dialog ill update the script.
##########################################
# Color Script Made By Epik-Fail & Mugen #
##########################################
Strobe3
menu menubar,channel,query {
$iif($group(#Strobe3.Text) == Off,Strobe3 Text [Off],Strobe3 Text [On]):{
$iif($group(#Strobe3.Text) == Off,.enable #Strobe3.Text,.disable #Strobe3.Text)
}
}
#Strobe3.Text on
on *:INPUT:*: {
if ($left($1,1) = /) || ($ctrlenter) || ($inpaste) return
;### wave text generator ###
;#### start of editable values
;## USER SETTING: first color in wave (3 characters)
var %mrfw_color.1 = 04
;## USER SETTING: second color in wave (2 characters)
var %mrfw_color.2 = 05
;## USER SETTING: third color in wave (1 character)
var %mrfw_color.3 = 14
;## USER SETTING: forth color in wave (1 character)
var %mrfw_color.4 = 00
;## USER SETTING: fifth color in wave (1 character)
var %mrfw_color.4 = 07
;## USER SETTING: background color
var %mrfw_color.background = 01
;#### end of editable values
if ($0 == 0) { halt }
var %mrfw_string $1-
var %mrfw_string.len $len(%mrfw_string)
var %mrfw_i 1
var %mrfw_c 1
var %mrfw_string.new $+ %mrfw_color.1 $+ $chr(44) $+ %mrfw_color.background
var %mrfw_string.color $null
while (%mrfw_i <= %mrfw_string.len) {
if (%mrfw_c == 1) { %mrfw_string.color = %mrfw_color.1 }
elseif (%mrfw_c == 4) { %mrfw_string.color = %mrfw_color.2 }
elseif (%mrfw_c == 6) { %mrfw_string.color = %mrfw_color.3 }
elseif (%mrfw_c == 5) { %mrfw_string.color = %mrfw_color.4 }
elseif (%mrfw_c == 10) { %mrfw_string.color = %mrfw_color.5 }
elseif (%mrfw_c == 7) { %mrfw_string.color = %mrfw_color.2 }
elseif {%mrfw_c == 9) { %mrfw_string.color = %mrfw_color.1 }
var %mrfw_spaces = $mid(%mrfw_string,%mrfw_i - 1,1)
%mrfw_string.new = %mrfw_string.new $+ $+ %mrfw_string.color $+ $iif(%mrfw_spaces == $chr(32),$+ $chr(32)) $+ $mid(%mrfw_string,%mrfw_i,1)
inc %mrfw_c
inc %mrfw_i
if (%mrfw_c == 10) { %mrfw_c = 1 }
}
msg $active %mrfw_string.new
unset %mrfw_*
haltdef
}
#Strobe3.Text End
;## USER SETTING: forth color in wave (1 character)
var %mrfw_color.4 = 00
;## USER SETTING: fifth color in wave (1 character)
var %mrfw_color.4 = 07
Is that a ".4" I see there? :P
Also, fourth << spell it like that. :)
Looking at the script more, it won't use that 5th colour anyway. Once you reach the 9th character it resets to 1 again, skipping the 10.