Twitter from irssi: Update
Following on from a previous post on this, I have worked out the easiest way to get this sorted. The instructions I had found didn’t work because I couldn’t figure out how to get the command ‘wd’ to simply run the script wd.pl wherever I’d saved it, and in the end it was a lot simpler for me to do the following:
Save the wd.pl script from here into ~/.irssi/scripts/
Create an alias for it in irssi by typing: /alias twit /exec ~/.irssi/scripts/wd.pl $*
It would probably be a good idea to /save as well.
This means you can run the script (with arguments) by typing /twit.
/twit will now display your friends’ latest updates.
/twit -sv Updating status from irssi! will change your status to “Updating status from irssi!”
Really not as difficult as I’d thought; I was just getting myself all confuddled.
[Update: You can't use brackets in updates unless you put the update into quote marks, like /twit -sv "Yay :)" - cheers to mgdm!]





Glad to see you got it working, I shall have to try this sometime.
Jason Liquorish
February 8, 2008 at 5:15 pm
For sending, I created a separate alias:
/alias tmsg /exec ~/bin/wd -sv “$*”
So you don’t have to worry about quotes, or -sv.
nnf
April 5, 2008 at 10:17 pm