WhatPulse Forums » Community » General Discussion v » Bloopy presents a "WhatPulse AFK" script for mIRC Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bloopy presents a "WhatPulse AFK" script for mIRC
08-09-2005, 10:15 AM (This post was last modified: 11-17-2015 11:05 PM by Bloopy.)
Post: #1
Bloopy presents a "WhatPulse AFK" script for mIRC
edit: Since WhatPulse v2, this does not work. I use a manual away script now: http://hawkee.com/scripts/33500316/

Hi, I have my computer running mIRC nearly all the time, so I decided it would be good for me to have a script that changes my nickname automatically when I go away. Now that I'm sure it works well, I'll share it with you. Most mIRC away scripts only check if you are idle on IRC, and don't know if you are at your keyboard using other programs. This one does. 8)

This script checks when WhatPulse last modified its data file to get an idea of whether you are AFK or not, and if necessary it changes your nickname according to the nicknames you have set in the options. WhatPulse checks if it needs to update its file every 5 minutes, so the effect of this script is not instant. When you go AFK, it may be an extra 6 minutes before your nick changes to your away nick. When you come back from being away, it could also be up to 6 minutes before your nick changes back. However, if you type something on IRC, your nick will change back immediately. This script should not affect WhatPulse in any way.

INSTRUCTIONS:
  • First, load the script. Place WPAFK.mrc in your mIRC directory and use the following command in mIRC:

    /load -rs WPAFK.mrc

    You will then be asked to enter a few settings.

    If you don't want to place it in your main mIRC directory, you can specify a sub-directory or path, for example:
    /load -rs scripts\WPAFK.mrc or /load -rs C:\scripts\WPAFK.mrc
  • Second, if you have WhatPulse set to pulse every few hours, I suggest you change it to pulse after a certain number of keys or when you shut down, or just pulse manually. This is because if you pulse after a certain number of hours then the script will guess that you are at your computer every time it pulses.

This script can work across multiple server connections in mIRC. Your nick will change at slightly different times on each server. The script should hopefully also work on old versions of mIRC which don't support multiple server connections. If it can't find the file, it will think that you are away all the time.

If you change your nickname the script will soon change it back, so you need to change your nickname in the script's menu. It also doesn't set any kind of away message or send any message to the channels you are on.

I'm happy with how the script works for me now, but feel free to post some questions or feature requests.


Update, October 2005:

The script can now let you have different nicknames on different networks, and it asks you for a default away suffix to add to your nickname when you go away. Your away nick doesn't have to use a suffix format though. It also remembers the nicknames you used on a network, and whether you had the script on or off for that network.

It now looks for WhatPulse's data file in C:\Program Files\WhatPulse\ by default, so you may not need to tell it where WhatPulse is. You can also set a different location when you need to.

You can now set an away time: the number of minutes before you are considered away. This means you can go away and come back for 5-10 minutes at a time without your nickname changing often. You can also specify to temporarily disable the script for a number of minutes - this is good if you are just back for a moment and you don't want the script to think you are back from away.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Bloopy presents a "WhatPulse AFK" script for mIRC - Bloopy - 08-09-2005 10:15 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  WhatPulse Steam group newton 9 22,787 08-07-2020 10:04 AM
Last Post: OldSkoolBoy
Sad Why does WhatPulse does not load/auth/connnect on XP flickACNH 6 10,775 06-20-2020 07:08 PM
Last Post: Moika.Chomsa
Lightbulb [Android app] WhatPulse Stats temnoi 12 20,587 10-30-2016 06:16 PM
Last Post: temnoi
  [Web Tool] WhatPulse Stats Wopian 29 46,003 01-30-2016 06:41 AM
Last Post: InfyLUVR05
  WhatPulse (Windows) startup nimd4 1 4,807 08-02-2015 10:32 PM
Last Post: nimd4
  10 Years with Whatpulse! broken 3 6,922 09-28-2014 01:24 PM
Last Post: Century0
  WhatPulse mIRC script! Amatively 9 19,329 08-18-2014 05:25 AM
Last Post: joshporphy
  Week in WhatPulse. arsha99 14 18,112 06-16-2014 08:58 AM
Last Post: SearchBuzz
  What's the difference between the beta WhatPulse site and the regular site? Nutty 2 7,494 06-09-2014 12:22 PM
Last Post: Century0
  5 Years on WhatPulse shroker 54 84,421 05-28-2014 11:30 PM
Last Post: Bloopy

Forum Jump:


User(s) browsing this thread: 1 Guest(s)