Countdown-Timer For Bot

By masterzwerg on Aug 14, 2022

abgeändertes Countdowntimer "aliases" Addon für mIRC-Bots
Getestet am: 14.08.2022 Bot: DC-mbot 1.9 mIRC-Version: 7.69

in Remote: 
on *:TEXT:!Count *:#Radio-Intern:{ 
  /mcd $2-
}

in Aliases:

; Countdown Script © by [Mercury] 

mcd {
  set %modcdversion v1.5
  if ( $1 = stop ) { 
    .timercd1 off
    .timercd2 off
    .timercd3 off
    .timercd4 off
    .timercd5 off
    .timercd6 off
    .timercd7 off
    .timercd8 off
    .timercd9 off
    .timercd10 off
    .timercd11 off
    .timercd12 off
    .timercd13 off
    .timercd14 off
    msg #Radio-Intern ---------------------------------
    msg #Radio-Intern Countdown gestoppt.
    msg #Radio-Intern ---------------------------------
  }
  elseif ( $1 = 30 ) { 
    set %modcdsek 30
    msg #Radio-Intern -------------------------------------------------
    msg #Radio-Intern Modwechsel Countdown gestartet bei %modcdsek Sekunden.
    msg #Radio-Intern -------------------------------------------------
    msg $active 7Countdown: 30 Sekunden.  4 Change nun bitte deinen nick  in [OnAir]NICK 
    .timercd1 1 10 msg $active 7Countdown: 20 Sekunden.
    .timercd2 1 20 msg #Radio-Intern 4Countdown: 10 Sekunden. 13[ACHTUNG] bei 11 4***GO*** 13sofort Connecten !!!
    .timercd3 1 25 msg #Radio-Intern 4Countdown: 5 Sekunden.
    .timercd4 1 28 msg #Radio-Intern 4Countdown: 2 Sekunden.
    .timercd5 1 30 msg #Radio-Intern 4***GO***, fire in the hole! =)

  }
  elseif ( $1 = 1 ) { 
    set %modcdmin 1
    msg #Radio-Intern ---------------------------------------------
    msg #Radio-Intern Modwechsel Coutdown gestartet bei %modcdmin Minute.
    msg #Radio-Intern ---------------------------------------------
    msg #Radio-Intern 9Countdown: 1 Minute.  4 Change nun bitte deinen nick  in [OnAir]NICK 
    .timercd1 1 10 msg #Radio-Intern 9Countdown: 50 Sekunden.
    .timercd2 1 20 msg #Radio-Intern 7Countdown: 40 Sekunden.
    .timercd3 1 30 msg #Radio-Intern 7Countdown: 30 Sekunden.
    .timercd4 1 40 msg #Radio-Intern 4Countdown: 20 Sekunden. 
    .timercd5 1 50 msg #Radio-Intern 4Countdown: 10 Sekunden. 13[ACHTUNG] bei 11 4***GO*** 13sofort Connecten !!!
    .timercd6 1 55 msg #Radio-Intern 4Countdown: 5 Sekunden.
    .timercd8 1 58 msg #Radio-Intern 4Countdown: 2 Sekunden.
    .timercd9 1 60 msg #Radio-Intern 4***GO***, fire in the hole! =)

  }
  elseif ( $1 = 90 ) { 
    set %modcdsek 90
    msg #Radio-Intern -------------------------------------------------
    msg #Radio-Intern Modwechsel Countdown gestartet bei %modcdsek Sekunden.
    msg #Radio-Intern -------------------------------------------------
    msg #Radio-Intern 9Countdown: 1 Minute und 30 Sekunden.  4 Change nun bitte deinen nick  in [OnAir]NICK 
    .timercd1 1 30 msg #Radio-Intern 9Countdown: 1 Minute.
    .timercd2 1 40 msg #Radio-Intern 7Countdown: 50 Sekunden.
    .timercd3 1 50 msg #Radio-Intern 7Countdown: 40 Sekunden.
    .timercd4 1 60 msg #Radio-Intern 4Countdown: 30 Sekunden. 
    .timercd5 1 70 msg #Radio-Intern 4Countdown: 20 Sekunden.
    .timercd6 1 80 msg #Radio-Intern 4Countdown: 10 Sekunden. 13[ACHTUNG] bei 11 4***GO*** 13sofort Connecten !!!
    .timercd8 1 85 msg #Radio-Intern 4Countdown: 5 Sekunden.
    .timercd9 1 88 msg #Radio-Intern 4Countdown: 2 Sekunden
    .timercd10 1 90 msg #Radio-Intern4***GO***, fire in the hole! =)

  }
  elseif ( $1 = 2 ) { 
    set %modcdmin 2
    msg #Radio-Intern ----------------------------------------------
    msg #Radio-Intern Modwechsel Countdown gestartet bei %modcdmin Minuten.
    msg #Radio-Intern ----------------------------------------------
    msg #Radio-Intern 9Countdown: 2 Minuten.  4 Change nun bitte deinen nick  in [OnAir]NICK 
    .timercd1 1 30 msg #Radio-Intern 9Countdown: 1 Minute und 30 Sekunden.
    .timercd2 1 60 msg #Radio-Intern 9Countdown: 1 Minute.
    .timercd3 1 70 msg #Radio-Intern 9Countdown: 50 Sekunden.
    .timercd4 1 80 msg #Radio-Intern 7Countdown: 40 Sekunden.
    .timercd5 1 90 msg #Radio-Intern 7Countdown: 30 Sekunden.
    .timercd6 1 100 msg #Radio-Intern 4Countdown: 20 Sekunden. 
    .timercd7 1 110 msg #Radio-Intern 4Countdown: 10 Sekunden. 13[ACHTUNG] bei 11 4***GO*** 13sofort Connecten !!!
    .timercd8 1 115 msg #Radio-Intern 4Countdown: 5 Sekunden.
    .timercd9 1 118 msg #Radio-Intern 4Countdown: 2 Sekunden.
    .timercd10 1 120 msg #Radio-Intern 4***GO***, fire in the hole! =)

  }
  elseif ( $1 = help ) {
    msg #Radio-Intern  -- Countdown Info - by Mercury (Bradenahl.de) %modcdversion --
    timer 1 01 msg #Radio-Intern  ---Full Help---------------------------------------------------------
    timer 1 02 msg #Radio-Intern  - Befehle: -
    timer 1 03 msg #Radio-Intern  !count (30/1/90/2/stop)
    timer 1 04 msg #Radio-Intern  !count 30 - 30 Sekunden.
    timer 1 05 msg #Radio-Intern  !count 1 - 1 Minute
    timer 1 06 msg #Radio-Intern  !count 90 - 90 Sekunden
    timer 1 07 msg #Radio-Intern  !count 2 - 2 Minuten
    timer 1 08 msg #Radio-Intern  !count stop - CountDown stop.
    timer 1 09 msg #Radio-Intern  - Um z.B. einen 30 Sekunden CD zu starten gibt man einfach !counter 30
    timer 1 10 msg #Radio-Intern  ein, in dem Channel, wo der Countdown stattfinden soll. :-)
    timer 1 11 msg #Radio-Intern   Bei einem 2 Minuten CD z.B. !counter 2
    timer 1 12 msg #Radio-Intern  ---------------------------------------------------------------------
    timer 1 13 msg #Radio-Intern  --> Um weitere Hilfe zu bekommen, einfach !counter help eingeben.
    timer 1 14 msg #Radio-Intern  --------------------------------------------------------------------
  }
}

Comments

Sign in to comment.
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.