Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3769404
D1213.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
923 B
Referenced Files
None
Subscribers
None
D1213.id.diff
View Options
diff --git a/vendor/action.fix.tcl b/vendor/action.fix.tcl
new file mode 100644
--- /dev/null
+++ b/vendor/action.fix.tcl
@@ -0,0 +1,24 @@
+# action.fix.tcl
+#
+# Copyright (C) 2002 - 2017 Eggheads Development Team
+#
+# Tothwolf 25May1999: cleanup
+# Tothwolf 04Oct1999: changed proc names slightly
+# poptix 07Dec2001: handle irssi (and some others) "correct" messages for DCC CTCP
+
+# Fix for mIRC dcc chat /me's:
+bind filt - "\001ACTION *\001" filt:dcc_action
+bind filt - "CTCP_MESSAGE \001ACTION *\001" filt:dcc_action2
+proc filt:dcc_action {idx text} {
+ return ".me [string trim [join [lrange [split $text] 1 end]] \001]"
+}
+
+proc filt:dcc_action2 {idx text} {
+ return ".me [string trim [join [lrange [split $text] 2 end]] \001]"
+}
+
+# Fix for telnet session /me's:
+bind filt - "/me *" filt:telnet_action
+proc filt:telnet_action {idx text} {
+ return ".me [join [lrange [split $text] 1 end]]"
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 14:30 (5 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260379
Default Alt Text
D1213.id.diff (923 B)
Attached To
Mode
D1213: Provide action.fix.tcl
Attached
Detach File
Event Timeline
Log In to Comment