Status

Platform:  mIRC
Published  Mar 06, 2010
Updated  Mar 07, 2010
This is a script I made when I was bored and got sick of wondering what my bot's status was when I wasn't home.

[12:03:23pm] <&Cados> !idle
[12:03:23pm] <&Weasand> Current idle time: 3872s.
[12:03:27am] <&Cados> !server
[12:03:27am] <&Weasand> Current server: irc.nuu.cc(174.129.231.136 ).
[12:03:31am] <&Cados> !uptime
[12:03:31am] <&Weasand> I have been connected to irc.nuu.cc for 10821891ms. I've had mIRC opened for 10830047ms.
[12:03:39am] <&Cados> !version
[12:03:39am] <&Weasand> Using mIRC6.35
[12:03:45am] <&Cados> !time
[12:03:45am] <&Weasand> Current time for me is 00:02:45. on *:TEXT:&:#: {
if ($1 == !uptime) msg # I have been connected to $server for $duration($uptime) $+ .
if ($1 == !version) msg # Using mIRC( $+ $version $+ )
if ($1 == !server) msg # Current server: $server $+ ( $+ $serverip %+ ).
if ($1 == !time) msg # Current time for me is $time(h:nn tt) $+ .
if ($1 == !chans) msg # I am currently in $chan(0) channels on $server $+ .
if ($1 == !active) msg # Current active window is $active $+ .
if ($1 == !idle) msg # Current idle time: $duration($idle) $+ .
if ($1 == !network) msg # Current network: $network
}

Comments

Sign in to comment.
Cados   -  Mar 07, 2010
Fixed it. Thanks Napa182 and Fordlawnmower. :)
 Respond  
napa182   -  Mar 07, 2010
well if it's for the !idle trigger you would use it there lol

Code

 


also for ur time one if you dont like 24 hour time you can do

Code

 

that will show the time like this 10:29 pm
 Respond  
Cados   -  Mar 07, 2010
Nevermind found it.
 Respond  
Cados   -  Mar 07, 2010
Guess you're right but WHERE DO i PUT IT!?
 Respond  
napa182   -  Mar 07, 2010
lol
 Respond  
Jethro   -  Mar 07, 2010
I believe you can also use:

Code

 
There is no need for double $$ in the case of your code. One will do.
 Respond  
Cados   -  Mar 06, 2010
Uh where would I place it?
 Respond  
FordLawnmower   -  Mar 06, 2010
/help $duration Cados. I use this to return idle time, as it is channel specific.

Code

 
 Respond  
Cados   -  Mar 06, 2010
Don't know how to change the time into seconds, minutes, and hours. Any suggestions?
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.