Uptime

By deejay8 on Oct 29, 2008

The script posts the mIRC or System Uptime in the active channel your in when you click Say In Channel
Image

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                         ;
;         Uptime          ;
;        By Dj 801        ;
;                         ;
;   irc.wubnet.org:6667   ;
;      #dj801,#mIRC       ;
;                         ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;
dialog uptime {
  title "Uptime"
  size -1 -1 155 62
  option dbu
  button "Exit", 1, 26 41 88 12, ok
  text "mIRC", 2, 3 19 21 8
  text "System", 3, 3 30 22 8
  edit "", 4, 26 18 83 10, read autohs
  edit "", 5, 26 29 84 10, read autohs
  button "Say in Channel", 6, 111 18 40 9
  button "Say in Channel", 7, 111 30 40 9
  box "Time", 8, 1 10 153 49
  text "Uptime Dialog", 9, 54 2 31 8
}
alias uptime { dialog -md uptime uptime } 
Menu Channel {
  Uptime:/uptime 
}
on *:DIALOG:uptime:sclick:*:{
  if ($did == 6) { msg $active My mIRC's Uptime is  $+ $did(4) $+  }
  if ($did == 7) { /msg $active My System's Uptime is  $+ $did(5) $+  }
}
on *:DIALOG:uptime:INIT:*:{ .timertabletime 0 1 sysirct $dname } 
on *:dialog:uptime:close:*:{ .timertabletime off } 
alias -l sysirct { did -ra $1 4 $uptime(mirc, 1) | did -ra $1 5 $uptime(system, 1) }

Comments

Sign in to comment.
Neo_   -  Oct 30, 2008

/me shakes his head at teh kid.

 Respond  
Neo_   -  Oct 30, 2008

rofl

 Respond  
Relurk_   -  Oct 30, 2008

@neo_: lrn2stfu

 Respond  
Neo_   -  Oct 30, 2008

im going to remake your face.

 Respond  
deejay8   -  Oct 30, 2008

? o.0

 Respond  
Relurk_   -  Oct 30, 2008

I am going to remake this

 Respond  
deejay8   -  Oct 29, 2008

ok and Hawkee, and Jace i am adding for stuff to it when i have the time

 Respond  
Jace   -  Oct 29, 2008

Hey it works.Dialog isn't messy and the times are correct.Can't say much bad about it maybe just suggest adding some other things like lag time maybe some other things.`-.-´

 Respond  
Hawkee   -  Oct 29, 2008

Thank you, I noticed your mass modes snippet is missing an introduction as well.

 Respond  
deejay8   -  Oct 29, 2008

done

 Respond  
deejay8   -  Oct 29, 2008

ok

 Respond  
Hawkee   -  Oct 29, 2008

Please include an introduction explaining what your code does.

 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.