mIRC Home    About    Download    Register    News    Help

Print Thread
#162767 22/10/06 07:07 PM
Joined: Oct 2006
Posts: 4
H
Hayenne Offline OP
Self-satisified door
OP Offline
Self-satisified door
H
Joined: Oct 2006
Posts: 4
I like using brief style, timestamps with no brackets, i.e.
21:57:11 <crawler> ...

So I would enjoy an option to strip <> symbols from nicknames in text area. Is it possible in older versions?


Severus sit clericorum sermo
#162768 22/10/06 11:02 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
This can be done in any version of mIRC that accepts scripting, as it needs to be scripted (at this point).
Code:
 on ^*:text:*:*:{
echo -at $nick $1- 
halt
}

#162769 23/10/06 04:15 AM
Joined: Oct 2006
Posts: 4
H
Hayenne Offline OP
Self-satisified door
OP Offline
Self-satisified door
H
Joined: Oct 2006
Posts: 4
Hmm, but with this script messages seem to display at current window regardless of channel they were said at.

Last edited by Hayenne; 23/10/06 04:21 AM.

Severus sit clericorum sermo
#162770 23/10/06 06:36 AM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
That's because of the '-a' in /echo.

Code:
on ^*:text:*:*:{ haltdef | echo -t $iif(#,#,$nick) $nick $1- }

#162771 23/10/06 11:20 AM
Joined: Oct 2006
Posts: 4
H
Hayenne Offline OP
Self-satisified door
OP Offline
Self-satisified door
H
Joined: Oct 2006
Posts: 4
Thanks, that looks nice at last.
But highlight check does not work for echoes, I got it right?


Severus sit clericorum sermo
#162772 23/10/06 11:46 AM
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Code:
on ^*:text:*:*:{
  echo -timbflr $iif(#,#,$nick) $nick $1- 
  haltdef
}

You can look the switches up in /help /echo

#162773 23/10/06 12:29 PM
Joined: Feb 2006
Posts: 546
J
Fjord artisan
Offline
Fjord artisan
J
Joined: Feb 2006
Posts: 546
dont forget mode prefixing and echo's -c switch too :P i have this text event tucked away, meant to be used as a template for theming text events:

Code:
on &amp;^*:text:*:*:{ 
  echo -mbflirtc norm $iif(#,#,$nick) $iif($gettok($readini($mircini,options,n2),30,44) $&amp; 
    &amp;&amp; $left($nick(#,$nick).pnick,1) isin $prefix,$v1) $+ $nick $1- 
  halt 
}


should replicate mirc's own behavior pretty much completely


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde
#162774 23/10/06 02:12 PM
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
You don't need to specify '-c normal', its default. The same goes for '-i2' where 2 is default. wink

#162775 23/10/06 07:21 PM
Joined: Oct 2006
Posts: 4
H
Hayenne Offline OP
Self-satisified door
OP Offline
Self-satisified door
H
Joined: Oct 2006
Posts: 4
Wow, thanks a LOT everyone. That really helped!


Severus sit clericorum sermo

Link Copied to Clipboard