Skip to content
General IRCd

Time

A TG007 community discussion started by wizard1970.

Discussion 7 posts
Page 1 of 1
Open
Topic #11321 · 7 published posts · 1,998 views

There is a code to tell who enters in the room, how long the bot is online?

thanks

Please excuse my ignorance, though do you think you could offer more information than that? You could establish certain deails of a user, like how long they have been online (server) or how long they've been idle for which can be found using raw numerics.

 

Somehow I have a feeling that this is not quite what you're after :) Any more information could be quite helpful :)

/whois

well, i have a script, and i want that script tell how long is in the room

"Hello (nick) my name is....and im online ......."

something like that

on ^*:join:#: { msg $chan Hello $nick $+ , My name is $me $+ . I have been connected since $uptime(server,1) }

Edited Oct 4, 2008 2:12 PM by Ozzy10

My code does NOT have bugs. It just develops random features.

$me will return your nick, and $uptime(server,1) will resturn your uptime on that server...

$uptime(system,1) will return your machine uptime.

Thanks to all, works perfectly