Code: Select all
[15:27:00] Tcl error [proc:twitter:megahal:privatereply]: invalid command name "getreply"
[15:27:01] (Megahal) eggfoos replied to (tehcollective) accounts.
Code: Select all
[15:27:00] Tcl error [proc:twitter:megahal:privatereply]: invalid command name "getreply"
[15:27:01] (Megahal) eggfoos replied to (tehcollective) accounts.
Full ascii-art support now included. You can create these, as well as easily view them from the comfort of IRC. Two options below control this feature:<speechles> !tweet @emily_d_k HI :)\n░╔══╗░░░░╔╦╗░░░╔═════╗░☺\n░║╚═╬════╬╣╠═╗░║░▀░▀░║░\n░╠═╗║╔╗╔╗║║║╩╣░║╚═══╝║░\n░╚══╩╝╚╝╚╩╩╩═╝░╚═════╝░
<sp33chy> Tweet created: http://twitter.com/suqmuhnutz ( 24289599496912896@suqmuhnutz - 0s ago via bittersweet )
<speechles> !user 1-1
<sp33chy> ( 1-1 ) User timelines ( #roms-isos@suqmuhnutz ) http://twitter.com/suqmuhnutz :
<sp33chy> #roms-isos@efnet: @emily_d_k <speechles> HI :) ( 24289599496912896@suqmuhnutz - 6m, 3s ago via bittersweet )
<sp33chy> #roms-isos@efnet: ░╔══╗░░░░╔╦╗░░░╔═════╗░☺
<sp33chy> #roms-isos@efnet: ░║╚═╬════╬╣╠═╗░║░▀░▀░║░
<sp33chy> #roms-isos@efnet: ░╠═╗║╔╗╔╗║║║╩╣░║╚═══╝║░
<sp33chy> #roms-isos@efnet: ░╚══╩╝╚╝╚╩╩╩═╝░╚═════╝░
<speechles> !tsearch #140art 3-3
<sp33chy> ( 3-3 ) Search timelines ( #roms-isos@suqmuhnutz ):
<sp33chy> angelahnicole: RT @TW1TT3Rart: #TWITTERART RT @140ARTIST ( 24262516209094656@angelahnicole - 1h, 16m, 20s ago via web )
<sp33chy> angelahnicole: ─▒▒▒▒▒▌──▓▓▓▓▓▌──░░░░░▌
<sp33chy> angelahnicole: ▒▌▄▒▌▄▒▌▓▌▄▓▌▄▓▌░▌▄░▌▄▒▌
<sp33chy> angelahnicole: ▒▒▒▒▒▒▒▌▓▓▓▓▓▓▓▌░░░░░░░▌
<sp33chy> angelahnicole: ▒▌▒▌▒▌▒▌▓▌▓▌▓▌▓▌░▌░▌░▌░▌ ⋕Եժ #140art
<speechles> !tweet \n█▄▐▌▐▌──▐▀▄─▐▌───▐▌█▀─█▄▐▌█─▀▐█▀▀\n█──██▐▀▄─▐█─▐▌─█▐▐█▌──█─▐██▐▌─▀▀▄⋕Եժ\n██─▐▌▐▄▀▐▄▀─▐█▌▐▐▐▌█▄─██▐▌█▐▌▀██▀\n─────▐▌───────▄▄▀
<sp33chy> Tweet created: http://twitter.com/suqmuhnutz ( 24165464024285184@suqmuhnutz - 0s ago via bittersweet )
<speechles> !user 1-1
<sp33chy> ( 1-1 ) User timelines ( #roms-isos@suqmuhnutz ) http://twitter.com/suqmuhnutz :
<sp33chy> #roms-isos@efnet: <speechles> ( 24165464024285184@suqmuhnutz - 48m, 34s ago via bittersweet )
<sp33chy> #roms-isos@efnet: █▄▐▌▐▌──▐▀▄─▐▌───▐▌█▀─█▄▐▌█─▀▐█▀▀
<sp33chy> #roms-isos@efnet: █──██▐▀▄─▐█─▐▌─█▐▐█▌──█─▐██▐▌─▀▀▄⋕Եժ
<sp33chy> #roms-isos@efnet: ██─▐▌▐▄▀▐▄▀─▐█▌▐▐▐▌█▄─██▐▌█▐▌▀██▀
<sp33chy> #roms-isos@efnet: ─────▐▌───────▄▄▀
Code: Select all
# Split tweets with newlines into multi-line tweets?
# Without this set to 1, ascii art tweets will not
# show correctly.
# (0 no/1 yes)
set twitter(newline) 1
# Allow newlines in tweets? With this, you can create
# multi-line tweets on IRC by using \n to seperate
# each line.
# (0 no/1 yes)
set twitter(allow_newlines) 1
Code: Select all
if {![string equal $char [encoding system]]} { set text [encoding convertto $char $text] }
The problem is megahal version 3.5 does not give scripts any ability to interact with it. Making it unfortunate, but you cannot get interactiveness with this script using that version of megahal. Sorrybfoos wrote:Hey, speechles... Tried to query you on IRC about this. I'm getting the following error using this script...
Yup, gleaned that from your rather lengthy explanation on IRC.speechles wrote:The problem is megahal version 3.5 does not give scripts any ability to interact with it. Making it unfortunate, but you cannot get interactiveness with this script using that version of megahal. Sorrybfoos wrote:Hey, speechles... Tried to query you on IRC about this. I'm getting the following error using this script...
Code: Select all
[3:02pm] <+Misato> [Twitter]: Nom: Misato Katsuragi; Localisation: The Internets; Following: 3; Followers: 5; Listed: 0; Total Tweets: 39.
[3:02pm] <+Misato> [Twitter]: I am an eggdrop bot for Lost Signal Networks #main IRC channel. Various people may show up in my stream. Follow for randomness. Owner/Operator: @tkware
[3:02pm] <+Misato> [Twitter]: Last Tweet: [33646312754778112] (Il y a moins de 10 secondes via Misato the Eggdrop Bot): <Odin> Marisa had to go to the bathroom
[3:02pm] <+Misato> [Twitter]: http://twitter.com/lsnmain [Region: fr]
This is mostly because of heritage. This scripts humble beginnings as strictly a "one trick pony"[1].Karunamon wrote:I'm having a slightly annoying issue with twitter's region detection. The physical server and internet connection that my bot is running on is in Canada, but for some reason a couple of weeks ago, I started getting french responses to the requests instead of english ones.
I think I understand what's happening, but I'm not proficient enough at TCL to know how to fix it. Any ideas how I force it to stay in region: en-us?Code: Select all
[3:02pm] <+Misato> [Twitter]: Nom: Misato Katsuragi; Localisation: The Internets; Following: 3; Followers: 5; Listed: 0; Total Tweets: 39. [3:02pm] <+Misato> [Twitter]: I am an eggdrop bot for Lost Signal Networks #main IRC channel. Various people may show up in my stream. Follow for randomness. Owner/Operator: @tkware [3:02pm] <+Misato> [Twitter]: Last Tweet: [33646312754778112] (Il y a moins de 10 secondes via Misato the Eggdrop Bot): <Odin> Marisa had to go to the bathroom [3:02pm] <+Misato> [Twitter]: http://twitter.com/lsnmain [Region: fr]
!user
<bott> OAuth failed: (401) Request: \/1\/statuses\/user_timeline.json?include_rts=1&screen_name=irc_tradingbot; Error: timestamp out of bounds
Code: Select all
eggdrop.conf: set timezone "CET"
twitter.tcl: set twitter(fixMyDuration) "0" (also tried 3600/7200)
Code: Select all
[13:49:30] Tcl error [proc:twitter:user2]: Unknown option -urlencoding, must be: -accept, -proxyfilter, -proxyhost, -proxyport, -useragent
[13:51:00] Tcl error [proc:twitter:friendsauto]: Unknown option -urlencoding, must be: -accept, -proxyfilter, -proxyhost, -proxyport, -useragent
Code: Select all
[15:00:46] Tcl error [proc:twitter:user2]: invalid command name "\},\{ {
}"
Code: Select all
[15:01:00] can't read "status": no such variable
[15:01:01] can't read "status": no such variable
Code: Select all
Eggdrop: [19:21] Tcl error [proc:twitter:friendsauto]: no such channel record
Eggdrop: [19:21] Tcl error [proc:twitter:megahal:privatereply]: no such channel record
Eggdrop: [19:21] Tcl error [proc:twitter:megahal]: no such channel record