Jethro commented on a Page, [mIRC] Twitter Followers Tracker  -  Jun 01, 2010

Nice work, Jonsey44!

But I think you could improve it a bit:

I believe you could get rid of the updatefollowers alias and do:

alias trackfollowers {
  dialog $iif($dialog(TrackFollowers),-v,-m) TrackFollowers TrackFollowers
  sockopen $+(TrackFollowers.,$ticks) twitter.com 80
  sockmark UpdateFollowers $iif($$1 isnum,$v1)
}

You can use /sockmark command to set for $1, and you may need to make sure it's a number, not something else. The $$ ensures that $1 is supplied.
Then in this bit, you do:

sockwrite -nt $sockname GET $+(/,$sock(trackfollowers).mark) HTTP/1.1

And lastly, you may need to add a -e switch so that the variable gets unset when mirc closes or exists:

set -e %Twitter.Last $ctime

I mean, it's a good practice to always keep the variables clean.

P.S. I don't understand why > .timerTrack off Either I missed or didn't see the timer.

 Respond  
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.