mIRC Home    About    Download    Register    News    Help

Print Thread
#43883 24/08/03 09:28 AM
Joined: Aug 2003
Posts: 3
R
Renever Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Aug 2003
Posts: 3
Hi,

Is there an way to add an color to an text line ?
So that when someone who is an @ says something its colored red, and when someone with +v says something its green ?
So it matches then with my nicklist ?

thx

#43884 24/08/03 10:35 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Code:

on ^*:TEXT:*:#:{
  if ($nick isop $chan) echo 4 -mbflirt $chan < $+ $nick $+ > $1-
  elseif ($nick isvo $chan) echo 3 -mbflirt $chan < $+ $nick $+ > $1-
  else echo $color(normal) -mbflirt $chan < $+ $nick $+ > $1-
  halt
}


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#43885 24/08/03 10:57 AM
Joined: Aug 2003
Posts: 3
R
Renever Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Aug 2003
Posts: 3
When i do that it shows this :

[12:53] <xmc> hmm elseif ($nick isvo echo 3 -mbflirt #gamepoint <xmc> hmm else echo 15 -mbflirt #gamepoint <xmc> hmm halt}
[12:53] <xmc> hmm

#43886 24/08/03 10:59 AM
Joined: Jun 2003
Posts: 130
O
Vogon poet
Offline
Vogon poet
O
Joined: Jun 2003
Posts: 130
Is the remote on seperate lines like in hammers post?


If only women came with popup menus and online help.
#43887 24/08/03 11:06 AM
Joined: Aug 2003
Posts: 3
R
Renever Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Aug 2003
Posts: 3
ok it was pasted as 1 long line, so the problem is solved smile

thnx alot

Last edited by Renever; 24/08/03 11:07 AM.
#43888 24/08/03 11:11 AM
Joined: Jun 2003
Posts: 130
O
Vogon poet
Offline
Vogon poet
O
Joined: Jun 2003
Posts: 130
You can paste as one line using pipes (|) to indeicate a new line of code.


If only women came with popup menus and online help.
#43889 24/08/03 11:12 AM
Joined: Dec 2002
Posts: 196
T
Vogon poet
Offline
Vogon poet
T
Joined: Dec 2002
Posts: 196
Just wondering, what does mbflirt do?


trenzterra
AustNet #trenzterra and #w
Head Scripter @ http://trenzterra.uni.cc
#43890 24/08/03 11:21 AM
Joined: Jun 2003
Posts: 130
O
Vogon poet
Offline
Vogon poet
O
Joined: Jun 2003
Posts: 130
They are switchs they make the command behave a certian way.
check out /help /echo


If only women came with popup menus and online help.
#43891 24/08/03 11:21 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
They are switches, each letter performs a different task, EG the letter i makes the sentence indent on the second and subsequent lines, as per the standard look in mIRC.


Link Copied to Clipboard