Can I have the server set clients as away?

These are old archives. They are kept for historic purposes only.
Post Reply
Random
Posts: 2
Joined: Mon Jun 19, 2006 5:27 pm

Can I have the server set clients as away?

Post by Random » Mon Jun 19, 2006 5:30 pm

Heya
I've just moved IRCds from PTLink to Unreal, and the one thing I'm really missing is the ability to have the server automatically set a client as away after a certain period of inactivity.

I'm running IRCServices 5 and Unreal 3.2.5, and I've looked for any modules that could pull this off but can't find anything.

Is this at all possible with Unreal IRCd? Or alternatively, could I set this in the services? (this was set on the IRCd with PTLink)

Thanks for any help

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe1986 » Mon Jun 19, 2006 6:12 pm

Just a note, it would have to be done by the IRCd as services do not have any idea of the activity of a user where as the IRCd does because all the users commands/text goes through the IRCd but it doesn't with services.

Syzop
UnrealIRCd head coder
Posts: 1935
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop » Mon Jun 19, 2006 7:08 pm

UnrealIRCd doesn't have this feature. Also, to me, it doesn't sound that useful... currently you can just whois someone (/whois nick nick) and you see their idle time. So putting someone into away after a certain period of inactivity seems kinda redundant. Then again, I guess there are also less inteligent people that just talk to someone and never heard of (server)whois :P.

Anyway.... This would be quite easy to implement as a module for someone, just some event (timer) to mark them away, and a privmsg/chanmsg command hook to mark them unaway. Or some variation of the above, depending on how you define idle time.

Random
Posts: 2
Joined: Mon Jun 19, 2006 5:27 pm

Post by Random » Mon Jun 19, 2006 7:22 pm

The real advantage is on clients where away users are shown in grey on the userlist - mIRC doesn't do this, but many other clients do, such as XChat, Konversation, etc etc.

With this, you can join a channel and really easily see who is idle and who's active.

I can't say I have any idea how to code a module, plus I don't have much experience outside of scripting languages, so I doubt I'd be able to write one :(

sdamon
Posts: 46
Joined: Tue Jun 07, 2005 7:28 am

Post by sdamon » Wed Aug 30, 2006 10:40 pm

Random wrote:The real advantage is on clients where away users are shown in grey on the userlist - mIRC doesn't do this, but many other clients do, such as XChat, Konversation, etc etc.
Mirc cab set colors by idle time...

SpaceDoG
Posts: 301
Joined: Mon Feb 27, 2006 5:44 am
Contact:

Post by SpaceDoG » Thu Aug 31, 2006 2:20 pm

Syzop,

You said that you can just /whois someone and get there idle time. I have not see this function across the multiple servers. If user A is on server A and does a /whois on user B who happens to be on server B they don't get the idle time. I didn't see any modules or server settings for this. Is there a way around this?

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe1986 » Thu Aug 31, 2006 2:44 pm

SpaceDoG wrote:Syzop,

You said that you can just /whois someone and get there idle time. I have not see this function across the multiple servers. If user A is on server A and does a /whois on user B who happens to be on server B they don't get the idle time. I didn't see any modules or server settings for this. Is there a way around this?
Syzop did give an example of getting a users idle time if said user is on a different server:
Syzop wrote:UnrealIRCd doesn't have this feature. Also, to me, it doesn't sound that useful... currently you can just whois someone (/whois nick nick)
For example to get user B's idle time if youre user A on server A and user B is on server B type /whois B B

Syzop
UnrealIRCd head coder
Posts: 1935
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop » Thu Aug 31, 2006 3:27 pm

Yeah I get the idea why you want it, I just didn't reply since I hadn't much to reply (just like now ;p).

I'd just like to mention that coding a module like this is possible and not too hard either. Now you need to find someone who does ;P.

EDIT: blah I already said that... *grin*

Post Reply