mIRC Homepage
Posted By: zomgh4x Color Script and or Alt Code Script - 11/11/05 11:24 PM
Can someone please tell me a script that makes it so every time I type it'll type in that color. And or a script so that every time i type regularly it'll become in alt codes close to that
laugh grin
Posted By: MikeChat Re: Color Script and or Alt Code Script - 11/11/05 11:56 PM
Code:
on *:input:*:{ 
if (($left($1,1) == $readini($mircini,text,commandchar)) || ($left($$1,1) == !) || ($left($$1,1) == @) || ($ctrlenter == $true)) { return  }
msg $active (colorcode and colors here) $1-
}
Posted By: zomgh4x Re: Color Script and or Alt Code Script - 12/11/05 02:34 AM
Can you tell me the exact command for blue font. Cause it's not working for me grin
Posted By: MikeChat Re: Color Script and or Alt Code Script - 12/11/05 03:06 AM
ok try replacing whatever you had with this:
Code:
on *:input:*:{ 
  if (($left($1,1) == $readini($mircini,text,commandchar)) || ($left($$1,1) == !) || ($left($$1,1) == @) || ($ctrlenter == $true)) { return  }
  msg $active $+($chr(3),12,$$1-)
  halt
}


it is important that this goes in remotes
(hold the ALT key, type the R key)

carefully copy and paste the code above and place into the remote you wish to use it in

option 2

Code:
menu channel {
Blue Text is $upper($group(#bluetext)) : $iif($group(#bluetext).status == on,disable #bluetext,enable #bluetext)
}
#bluetext on
on *:input:*:{ 
  if (($left($1,1) == $readini($mircini,text,commandchar)) || ($left($$1,1) == !) || ($left($$1,1) == @) || ($ctrlenter == $true)) { return  }
  msg $active $+($chr(3),12,$$1-)
  halt
}
#bluetext end

type in channel /run notepad bluetext.mrc
notepad opens and has a message "cant find it, do you want to make it?
click OK
paste the coding in the second version into notepad and click on file, then save
you can close notepad
in mIRC type /load -rs1 bluetext.mrc

right click the channel area and find "Blue Text is ON"
clicking it will turn it off/on depending

in either case make sure that the code in your remote matches exactly how it is here.
Posted By: zomgh4x Re: Color Script and or Alt Code Script - 12/11/05 03:23 AM
Thanks! it works now XD
Posted By: MikeChat Re: Color Script and or Alt Code Script - 12/11/05 03:50 AM
kewl, glad its working for ya!
© mIRC Discussion Forums