Page 1 of 1

Can I have the server set clients as away?

Posted: Mon Jun 19, 2006 5:30 pm
by Random
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

Posted: Mon Jun 19, 2006 6:12 pm
by Jobe
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.

Posted: Mon Jun 19, 2006 7:08 pm
by Syzop
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.

Posted: Mon Jun 19, 2006 7:22 pm
by Random
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 :(

Posted: Wed Aug 30, 2006 10:40 pm
by sdamon
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...

Posted: Thu Aug 31, 2006 2:20 pm
by SpaceDoG
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?

Posted: Thu Aug 31, 2006 2:44 pm
by Jobe
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

Posted: Thu Aug 31, 2006 3:27 pm
by Syzop
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*