mIRC Home    About    Download    Register    News    Help

Print Thread
#65025 23/12/03 08:34 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
If somone type my name in a channel, then mark as red..

eg: Hello Deep3D, how are you doing?

How to make an easy fast script for this?

#65026 23/12/03 08:44 PM
Joined: Nov 2003
Posts: 227
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
you don't have to, use alt O > IRC > Highlight,
click on add , then just add $me to the list choose the colour, but i think thatl highlights the whole line.
otherwise you would need to use an on ^*:text and use $reptok or $replace to replace your nick with a coloured one.

#65027 23/12/03 08:48 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
yes, but i don't want it on the whole line.. That is so "ugly"... :tongue:

whats the difference between ^*: and *:

But can somone make a fast example? Or the whole script? Its not that big.. so.. :tongue: but i rally don't know how to make it..

#65028 23/12/03 09:21 PM
Joined: Nov 2003
Posts: 227
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
^ halts the default echo, read /help halting default text for more info
this will only replace if your nick is a whole word, might want to think about removing other colour codes for the reptok, if there when in the same would as your nick then you would wouldnt be shown red. try this:
Code:
on ^*:text:$(* $me *):*:{ 
  echo -imt $iif(#,#,$nick) < $+ $nick $+ > $reptok($1-,$me,$+($chr(3),04,$me,$chr(3)),32)
  haltdef
} 


#65029 23/12/03 10:02 PM
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
thanks.. I'm using this one now..

Code:
on ^*:text:*:#: {
  if ($me isin $1-) {
    echo -t $chan < $+ 5 $+ $nick $+  $+ > $1-
    haltdef
  }
  else return
}

E.g:
[23:07:10] <somedude> Hublah, wazz up?


Link Copied to Clipboard