/[cvs]/eggdrop1.6/scripts/action.fix.tcl
ViewVC logotype

Annotation of /eggdrop1.6/scripts/action.fix.tcl

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (hide annotations) (download) (as text)
Fri Jan 9 05:56:36 2004 UTC (15 years, 6 months ago) by wcc
Branch: MAIN
Changes since 1.6: +2 -2 lines
File MIME type: application/x-tcl
* Yay, 2004 copyright. That sucked.. I need to write a script to do
that... *pops knuckles and stretches*.

1 fabian 1.3 # action.fix.tcl
2     #
3 wcc 1.7 # Copyright (C) 2002, 2003, 2004 Eggheads Development Team
4 wcc 1.6 #
5 fabian 1.2 # Tothwolf 25May1999: cleanup
6     # Tothwolf 04Oct1999: changed proc names slightly
7 poptix 1.5 # poptix 07Dec2001: handle irssi (and some others) "correct" messages for DCC CTCP
8 fabian 1.3 #
9 wcc 1.7 # $Id: action.fix.tcl,v 1.6 2002/12/24 02:30:04 wcc Exp $
10 segfault 1.1
11 wcc 1.6 # Fix for mIRC dcc chat /me's:
12 fabian 1.2 bind filt - "\001ACTION *\001" filt:dcc_action
13 poptix 1.5 bind filt - "CTCP_MESSAGE \001ACTION *\001" filt:dcc_action2
14 fabian 1.2 proc filt:dcc_action {idx text} {
15 segfault 1.1 return ".me [string trim [join [lrange [split $text] 1 end]] \001]"
16     }
17    
18 poptix 1.5 proc filt:dcc_action2 {idx text} {
19     return ".me [string trim [join [lrange [split $text] 2 end]] \001]"
20     }
21    
22 wcc 1.6 # Fix for telnet session /me's:
23 fabian 1.2 bind filt - "/me *" filt:telnet_action
24     proc filt:telnet_action {idx text} {
25 segfault 1.1 return ".me [join [lrange [split $text] 1 end]]"
26 poptix 1.5 }

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23