Top

Time and Alarm Clock script

+ 0 likes
Please Register to submit score.
Average Score  2.0
Scores Submitted  3
Date Added  Feb 27, 2008
Last Updated  Feb 27, 2008

Introduction

Ok its very simple, the script pretty much explains itself but heres how you work it. Just type !Time and your bot will pm you the time and also You Type !Alarm (Time you want) and when the times up it will notice you so a beep comes up. I hope you enjoy :} || I was bored...

Grab the Code

Comments

  (4)  RSS
Logan
Comments: 103
 
mIRC Snippet:  Time and Alarm Clock script
Posted on Feb 27, 2008 7:44 pm
I hope you enjoy :) || I was extremely bored.
napa182
Comments: 953
 
mIRC Snippet:  Time and Alarm Clock script
Posted on Feb 27, 2008 8:08 pm
how about for the alarm part you do..
Code:
on *:Text:!Alarm*:#:{
  if ($2 !isnum) {
    .notice $nick Please Enter A Number In Minutes
  }
  else {
    var %alarm $calc($2 * 60)
    .Notice $nick 4,1| 7,1|8,1-7,1| 4,1| Your alarm will set off in7,1 $2 Minute $+ $iif($2 > 1,s) $+ .4,1 It will notice you so a beep will come up. I hope you enjoy. 4,1| 7,1|8,1-7,1| 4,1|
    .Timeralarm 1 %alarm .Notice $Nick 8,1/!\\/!\\/!\\4,1 CAUTION CAUTION 10,1||3,1 Your Timer just set off. If You\'d like to set it again type 7,1!Alarm (Ammount of time in minutes) 8,1/!\\/!\\/!\\
  }
}

eh just a thought.. So you can use minutes instead of seconds. I also dont get why you have it notice 3 times, but eh.
oh and for ur time if you want you can try this but that dont matter.
Code:
$time(h:nn tt)
Logan
Comments: 103
 
mIRC Snippet:  Time and Alarm Clock script
Posted on Feb 27, 2008 8:14 pm
It notices three times because: Do you know how alarm clocks beep several times. Thats why there is 3 notices because most alarm clocks do it 3 times.
napa182
Comments: 953
 
mIRC Snippet:  Time and Alarm Clock script
Posted on Feb 27, 2008 9:05 pm
um ok then also if more then one person triggers it it clears the first person that set the alarm try this.
Code:
on *:Text:!Alarm*:#:{
  if ($2 !isnum) {
    .notice $nick Please Enter A Number In Minutes
  }
  else {
    var %alarm $calc($2 * 60)
    .Notice $nick 4,1| 7,1|8,1-7,1| 4,1| Your alarm will set off in7,1 $2 Minute $+ $iif($2 > 1,s) $+ .4,1 It will notice you so a beep will come up. I hope you enjoy. 4,1| 7,1|8,1-7,1| 4,1|
    $+(.,Timeralarm,.,$nick) 1 $calc(%alarm - 4) .Notice $Nick 8,1/!\\/!\\/!\\4,1 CAUTION CAUTION 10,1||3,1 Your First Beep Whent Off. 4 Seconds Left On Timer.8,1/!\\/!\\/!\\
    $+(.,Timerbeep2,.,$nick) 1 $calc(%alarm - 2) .Notice $Nick 8,1/!\\/!\\/!\\4,1 CAUTION CAUTION 10,1||3,1 Your Second Beep Whent Off.2 Seconds Left On Timer./!\\/!\\/!\\
    $+(.,Timerbeep3,.,$nick) 1 %alarm .Notice $Nick 8,1/!\\/!\\/!\\4,1 TIMES UP! TIMES UP! 10,1||3,1 Your Timer Has Gone Off. If You\'d like to set it again type 7,1!Alarm (Ammount of time in minutes) 8,1/!\\/!\\/!\\
  }
}


Please Register or Login to start posting comments.
Bottom