Top

!SEEN and !IDLE commands

Please Register to submit score.
Average Score  7.7
Scores Submitted  3
Date Added  Feb 28, 2008
Last Updated  Mar 01, 2008
Tags  bot  commands  idle  script  seen 

Introduction

Simple, user types !seen <nick> to display when <nick> was last seen
and !idle <nick> to see how long a nick has been idle for

if you see any mistakes please let me know

thanks :D

PePSiMaN

credits for the idle portion go to kslice

thx

Grab the Code

Comments

  (7)  RSS
Jamiie
Comments: 65
 
mIRC Snippet:  !SEEN and !IDLE commands
Posted on Feb 29, 2008 1:22 pm
This is a nice snippet, works well for my bot. :) Thanks
kslice917
Comments: 7
 
mIRC Snippet:  !SEEN and !IDLE commands
Posted on Mar 2, 2008 2:45 am
Heh, I've never posted on Hawkee before; yet, you mention my name?

I'm pretty sure some people are like, "who is that?" or "why do we care?"

Anyways, glad to know I helped ;-)

Now, some recommendations on the idle part:

I would recommend that you change
Code:
on *:TEXT:*!idle*:*: {

to
Code:
on *:TEXT:!idle:*: {


Then, since you did that, you might also want to exclude the
Code:
($1 = !idle) &&

on both lines.

But I guess it will work either way :-/

As for the !seen part, looks good...just not as good as mine :P
kslice917
Comments: 7
 
mIRC Snippet:  !SEEN and !IDLE commands
Posted on Mar 3, 2008 4:22 pm
Heh, found a problem...that I blame on myself.

You guys will also want to add the following code:
Code:

raw 402:*:{
  if (%idle.time.get = on) {
    msg %idle.chan 9 $+ %idle.nick $+ 4 is not online!
    unset %idle.nick
    unset %idle.chan
    unset %idle.time.get
    halt
  }
}

If you don't, and somebody does an !idle on somebody not on the server, the script will no longer work and just freeze up.

If you ran into the problem already and can't figure how to fix it, just type:
Code:

/unset %idle.time.get


Cheers!
Mitchell
Comments: 22
 
mIRC Snippet:  !SEEN and !IDLE commands
Posted on Apr 12, 2008 6:21 pm
Great script! works amazingly, and is really fun & useful. I give it a 10 :)
Mitchell
Comments: 22
 
mIRC Snippet:  !SEEN and !IDLE commands
Posted on Apr 12, 2008 8:51 pm
Is it possible for you to make it so that instead of just saying how long ago the person was on, it can perhaps say what they were doing? Example: Parting, joining, being kicked, etc. Thanks
Pepsi_Man0077
Comments: 30
 
mIRC Snippet:  !SEEN and !IDLE commands
Posted on Apr 13, 2008 2:42 am
Sure i will do that when i have time, i persoanlly didnt like it but i will for ya :P
ISM
Comments: 22
 
mIRC Snippet:  !SEEN and !IDLE commands
Posted on May 3, 2008 11:44 am
i have posted in my new remot but when i type in my room !seen nick doesnt seem to work for me thx for your help

Please Register or Login to start posting comments.
Bottom