Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3765823
D830.id2106.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
935 B
Referenced Files
None
Subscribers
None
D830.id2106.diff
View Options
diff --git a/Daeghrefn/Communication.tcl b/Daeghrefn/Communication.tcl
--- a/Daeghrefn/Communication.tcl
+++ b/Daeghrefn/Communication.tcl
@@ -13,6 +13,8 @@
bind pub - !idéert pub:ideert
bind pub - !idee-rt pub:ideert
bind pub - !idée-rt pub:ideert
+bind pub - !styleencyclo pub:styleencyclo
+bind pub - !style pub:styleencyclo
#
# SMS
@@ -248,15 +250,23 @@
}
-#!idee
+# Publishes to special accounts
proc pub:idee {nick uhost handle chan text} {
+ twitter_pub_publish_to_account ideedarticles $nick $text
+}
+
+proc pub:styleencyclo {nick uhost handle chan text} {
+ twitter_pub_publish_to_account styleencyclo $nick $text
+}
+
+proc twitter_pub_publish_to_account {account nick text} {
set who [whois $nick]
if {$who == ""} {
append text " – via IRC."
} {
append text " – $who, via IRC."
}
- twitterpublish ideedarticles $nick $text
+ twitterpublish $account $nick $text
}
#!ideert
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 14:29 (14 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258229
Default Alt Text
D830.id2106.diff (935 B)
Attached To
Mode
D830: Add !StyleEncyclo command
Attached
Detach File
Event Timeline
Log In to Comment