Top

Uptime


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  1.0
Scores Submitted  1
Date Added  Feb 04, 2006
Last Updated  Feb 04, 2006
Tags  bot  uptime 
  Bookmark and Share

Introduction

Load into bot, op's can type !uptime and bot will read out uptime.

Grab the Code

Comments

  (7)  RSS
Hyper
Comments: 11
 
mIRC Snippet:  Uptime
Posted on Feb 4, 2006 4:30 am
Why would you not just use $uptime(system,1) ?
QuickStep
Comments: 123
 
mIRC Snippet:  Uptime
Posted on Feb 4, 2006 3:38 pm
$uptime(system,1) returns time without seconds, but in this case the seconds doesn\'t really matter so $uptime(system,1) should be sufficient.
tglisson
Comments: 1
 
mIRC Snippet:  Uptime
Posted on Feb 4, 2006 6:33 pm
Feel free to change it to your likings.
Chrizzy
Comments: 1
 
mIRC Snippet:  Uptime
Posted on Feb 5, 2006 8:16 am
nice :)
`Kazuma
Comments: 255
 
mIRC Snippet:  Uptime
Posted on Feb 5, 2006 10:02 am
ON *:TEXT:!Uptime:#: {
msg blah Uptime: $uptime(system,1)
}
Yoinx
Comments: 424
 
mIRC Snippet:  Uptime
Posted on Feb 5, 2006 10:20 am
actually, $uptime(system,1) should include the seconds, $uptime(system,2) would not include the seconds.

//echo -a $uptime(system,1) = 17hrs 24mins 19secs
//echo -a $uptime(system,2) = 17hrs 24mins
bearruler
Comments: 24
 
mIRC Snippet:  Uptime
Posted on Feb 6, 2006 10:40 am
When you do replace, you dont need the \"days\" or \"day\" because it replaces it with itself...
You also dont need brackets

On @*:TEXT:!uptime:#: msg # Uptime: $uptime(system,1)


Bear

Please Register or Login to start posting comments.
Bottom