If you follow the link http://www.google.com/support/accounts/bin/answer.py?answer=185833 it will show you how to generate an application specific password. As for attachments, that is beyond the scope of this snippet. I would have to add MIME support, which I am not going to do.
Faster processing (averages less then a tenth of a second when no update is found and .225s when a newone is found) and doesn't wait for the remote server to close the connection. Other than that, not much.
West, if you follow that link it looks like you may have 2 step verification on your account. You can create a "Application specific" password and will need to generate and use that password for authentication. I will be testing this in a bit.
I got it working (for the most part), without needing to use the dirty variable hack. Basically I make sure $1- and the edit box are the same. If they are, that means TAB isn't trying to auto complete.
The Downfalls:
It still takes out any extra spaces in the edit box string
If you are use the normal auto complete on a nickname and its the only auto complete match, and its the last nickname seen, it will toggle between that nickname and the channel if you hit tab again. (not a huge deal)
But now you can tab through multiple normal auto completes and it won't change to the channel name if one of the nicks is the last nickname seen.
Very interesting stuff. Unfortunately when my script appends a nick, if you hit tab again the ^tab gets activated. I wish there was an identifier that would return what will be completed.
An unfortunate side effect to this script is it breaks the tab cycling of names if one is the last nick, and breaks the channel cycling... I gotta figure away around it.
Agreed, no need to save the table as its only tracking the last message. If you restart, you don't know who the last message was from anyway. (It defaults to the channel name if there is no last message)
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.