Hissing Worms
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hissing Worms

Welcome all members.
 
HomeLatest imagesSearchRegisterLog in
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» IMPORTANT ANNOUNCEMENT
User Colors(mIRC) EmptyMon Oct 26, 2020 6:45 pm by Darkprism

» KM / Mitsu's New site
User Colors(mIRC) EmptySun Jan 05, 2014 2:56 am by Darkprism

» I'm back.
User Colors(mIRC) EmptyWed Oct 09, 2013 2:54 am by Stadd

» So yeah
User Colors(mIRC) EmptySun Jan 27, 2013 3:13 am by Darkprism

» Forummotion Chatbox on Every Page Guide!
User Colors(mIRC) EmptyMon Jul 30, 2012 8:14 pm by Diggy

Top posters
Gr33n
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
Mitsukaru
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
Neverwinter XIII
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
HaZe
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
Zeph
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
Scrubby
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
Avogadro
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
Darkprism
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
Diggy
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
LolICU
User Colors(mIRC) I_vote_lcapUser Colors(mIRC) I_voting_barUser Colors(mIRC) I_vote_rcap 
SOTW WINNER(S)
SOTW #4 WINNER(S)

Winner: ZephyR

Partners
TheForumsNG NecroAccuracy PaidTheFastest

EWW


 

 User Colors(mIRC)

Go down 
AuthorMessage
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : User Colors(mIRC) Admino10
GFX Crew '10 : User Colors(mIRC) Gfxoft10
Recruiter '10 : User Colors(mIRC) Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

User Colors(mIRC) Empty
PostSubject: User Colors(mIRC)   User Colors(mIRC) EmptyMon Jul 12, 2010 3:27 am

I was looking through my script files and found this interesting thing. What it does is if you have a name of somebody in your message and send it, it will change the color of their name based on their status. Try it out.

Just Checked: I'm pretty sure this is FirstMate's so I'm not taking credit for it.

Code:
on *:INPUT:#: {
if ($left($1,1) != / && !$ctrlenter) {
var %x = $1-, %y = $nick($chan,0)
while (%y > 0) {
var %p = $nick($chan,%y)
if ($istok(%x,%p,32)) {
var %t = $left($remove($nick($chan,%y).pnick,%y),1)
;%x = $reptok(%x,%p,$iif(%t,$+($replace(%t,6,4,&,3,@,13,%,12,+,7),%p),$+(3,%p)),0,32)
%x = $reptok(%x,%p,$iif(%p isop $chan,04 $+ %p $+ ,$iif(%p ishop $chan,03 $+ %p $+ ,$iif(%p isvoice $chan,13 $+ %p $+ ,$iif(%p isreg $chan,7 $+ %p $+ ,%p)))),0,32)
}
dec %y
}
msg $chan $replace(%x,\|,$chr(124))
halt
}
}
Back to top Go down
http://hissingworms.co.nr
 
User Colors(mIRC)
Back to top 
Page 1 of 1
 Similar topics
-
» Text Colors(mIRC)
» Auto-Join(mIRC)
» Change in Colors
» mIRC Operators
» mIRC Calculator

Permissions in this forum:You cannot reply to topics in this forum
Hissing Worms :: Tech Forum :: Programming-
Jump to:  
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com