Time and Alarm Clock script

By Logan on Feb 27, 2008

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...

on *:Text:!Time*:#:{
  notice $nick 8,1★ 4(3(4-3)4) 3The current time is 8★ $+ $time $+ 8★. 3Ty for using SolarClock I hope you like. 4(3(4-3)4) 8★
}
on *:Text:!Alarm*:#:{
  Notice $nick 4,1| 7,1|8,1-7,1| 4,1| Your alarm will set off in7,1 $2- second(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|
  .Timer 1 $2- 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) 8,1/!\/!\/!\
  .Timer 1 $2- 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) 8,1/!\/!\/!\ 
  .Timer 1 $2- 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) 8,1/!\/!\/!\  
}

Comments

Sign in to comment.
napa182   -  Feb 27, 2008

um ok then also if more then one person triggers it it clears the first person that set the alarm try this.

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/!\\/!\\/!\\
  }
}
 Respond  
Logan   -  Feb 27, 2008

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.

 Respond  
napa182   -  Feb 27, 2008

how about for the alarm part you do..

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.

$time(h:nn tt)
 Respond  
Logan   -  Feb 27, 2008

I hope you enjoy :) || I was extremely bored.

 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.