# Scripts
**Here we go, these are some mrcScripts to translate to other languages**
---
***mrcScript - Bomb Game***
```
on *:text:!bomba:#:{
set %Bombed $nick
set %ColorNum $rand(1,5)
msg $chan Bot: se puso una bomba bajo la mesa > %Bombed < Escribe !corta color ...15 segundos para desactivarla cortando un cable color: rojo, verde, blanco, negro o azul. ;)
.timer 1 5 .notice %Bombed 5
.timer 1 10 .notice %Bombed 10
.timer 1 15 .notice %Bombed 15
.timer 1 16 unset %Bombed
}
on *:text:!corta verde:#:{
if ($nick = %Bombed) {
if (%ColorNum == 1) {
msg $chan %Bombed Bot: ¡La bomba ha sido desactivada! ¡Has ganado! B) :)
timer* off
unset %Bombed
halt
}
msg $chan : %Bombed Bot: ¡cortaste el cable equivocado! BOOM! HAS PERDIDO! SMSkull :( O_o | ban -ku120 $chan %Bombed
timer* off
unset %Bombed
}
}
on *:text:!corta blanco:#:{
if ($nick = %Bombed) {
if (%ColorNum == 4) {
msg $chan Bot: Bomba desactivada, eres un ¡HEROE! Kappa BionicBunion
timer* off
unset %Bombed
halt
}
msg $chan : %Bombed Bot: Cable falso, has muerto (x.x) SMSkull E.P.D...... :( | ban -ku120 $chan %Bombed
timer* off
unset %Bombed
}
}
on *:text:!corta negro:#:{
if ($nick = %Bombed) {
if (%ColorNum == 5) {
msg $chan Bot: Bomba desarmada, has ganado! B)
timer* off
unset %Bombed
halt
}
msg $chan : %Bombed Bot: WOOOOUUUMMMM jajajaja !HAS MUERTO! SMSkull | ban -ku120 $chan %Bombed
timer* off
unset %Bombed
}
}
on *:text:!corta rojo:#:{
if ($nick = %Bombed) {
if (%ColorNum == 2) {
msg $chan Bot: Apagaste la bomba !FELICIDADES! Has Ganado! B)
timer* off
unset %Bombed
halt
}
msg $chan : %Bombed Bot: BAAANG!! La bomba ha explotado has !PERDIDO! SMSkull | ban -ku120 $chan %Bombed
timer* off
unset %Bombed
}
}
on *:text:!corta azul:#:{
if ($nick = %Bombed) {
if (%ColorNum == 3) {
msg $chan Bot: ¡¡ La bomba fue desactivada !! ¡ Has Ganado ! B) :)
timer* off
unset %Bombed
halt
}
msg $chan : %Bombed Bot: BAAANG!! La bomba exploto0O ...has !PERDIDO! SMSkull | ban -ku120 $chan %Bombed
timer* off
unset %Bombed
}
}
```
---
***mrcScript - ReplicadorVirtual***
```
on *:TEXT:!chocolate*:#: {
set %chocolate.da $calc(%chocolate.da + 1)
msg $chan Bot: $nick trajo una caja de chocolatitos pero tenia hambre y se comio la mayoria, solo le dejo uno para $2 <3>
}
on *:TEXT:!b52*:#: {
set %peta.da $calc(%peta.da + 1)
msg $chan Bot: Kappa $nick Corre hacia: $2 y le da un b52 pa fumar... o_O
timer 1 2 msg $chan Bot: $2 (¯_¯_¯(¯_¯_¯_¯_¯_¯_¯_¯¯()?? lo enciende...
timer 1 3 msg $chan Bot: ...respira el humo... (~-~)
timer 1 4 msg $chan Bot: o_O ~~~~ o_O
timer 1 5 msg $chan Bot: parece que $2 ya esta o_O mariaadoa mariaadaoao como un :Zzzombieee ? %peta.da liados.
}
on *:TEXT:!cocacola*:#: {
set %coca.da $calc(%coca.da + 1)
msg $chan Bot: $nick abre el refri y saca la coca mas muerta de todas... ahí tienes $2 , :) refrescate :), se han dado ? %coca.da Cocas.
}
on *:TEXT:!alcol*:#: {
set %bebi.da $calc(%bebi.da + 1)
msg $chan Bot: Ohh... $nick busca su bebida favorita y se la da...-> ¦) <-
timer 1 2 msg $chan Bot: :) refrescate $2 :P ...pero no te pases o_O o_O ;) :P
timer 1 3 msg $chan Bot: ya ha servido ? %bebi.da Bebidas alcolicas.
}
on *:text:!disparo:#:{
if ( $rand(0,2) == 2 ) { kick $chan $nick | /msg $chan Bot: $nick ... BAAANG!! SMSkull Tus sesos volaron... }
else {
msg $chan [*** CLICK ***] UFFF por poko te has librado $nick :P
}
}
```
---
***mrcScript - LoveTest***
```
on *:text:!amor * *:#:{
var %lc1 = $2 $+ $3
var %lc2 = $3 $+ $2
if (!$4) {
if ((!%lc [ $+ [ %lc1 ] ]) && (!%lc [ $+ [ %lc2 ] ])) {
set %lc [ $+ [ %lc1 ] ] $rand(0,100)
set %lc [ $+ [ %lc2 ] ] %lc [ $+ [ %lc1 ] ]
}
msg $chan Bot: la probabilidad de que $2 Y $3 terminen en una relacion de novios muy pronto es de ? %lc [ $+ [ %lc1 ] ] % ? :o .
}
elseif ($4 == sexual) {
if ((!%lcsex [ $+ [ %lc1 ] ]) && (!%lcsex [ $+ [ %lc2 ] ]) && (%lc [ $+ [ %lc1 ] ] != $null)) {
;para que las relaciones sean no estandar, reemplazar la siguiente linea con "set %lcsex [ $+ [ %lc1 ] ] $rand(0,100)"
set %lcsex [ $+ [ %lc1 ] ] $rand(0,%lc [ $+ [ %lc1 ] ])
set %lcsex [ $+ [ %lc2 ] ] %lcsex [ $+ [ %lc1 ] ]
}
elseif ((!%lcsex [ $+ [ %lc1 ] ]) && (!%lcsex [ $+ [ %lc2 ] ])) {
set %lc [ $+ [ %lc1 ] ] $rand(0,100)
set %lc [ $+ [ %lc2 ] ] %lc [ $+ [ %lc1 ] ]
;para que las relaciones se basen en relaciones normales, reemplazar lineas rand con "set %lcsex [ $+ [ %lc1 ] ] $rand(0,100)"
set %lcsex [ $+ [ %lc1 ] ] $rand(0,%lc [ $+ [ %lc1 ] ])
set %lcsex [ $+ [ %lc2 ] ] %lcsex [ $+ [ %lc1 ] ]
}
msg $chan Bot: la probabilidad de que $2 y $3 terminen en una noche loca de pasion es de un: %lcsex [ $+ [ %lc1 ] ] porciento :o .
}
}
```
---
***mrcScript - StrangerTests***
```
on *:text:!emo:#: {
set %nick2 $nick($chan,$rand(1,$nick($chan,0)))
set %emo- $calc(%emo- + 1)
if (%nick2 == $me) { set %nick2 $nick($chan,$rand(1,$nick($chan,0))) }
msg $chan Bot: a ver... siguiendo rastro de galletas de animalitos....
timerlawl 1 2 msg $chan Bot: vaya... Emo del canal es... %nick2 $+ ! tiene las galletas en la mano :) , Se han localizado ? %emo- Emos
}
on *:text:!borracho:#: {
set %nick3 $nick($chan,$rand(1,$nick($chan,0)))
if (%nick3 == $me) { set %nick3 $nick($chan,$rand(1,$nick($chan,0))) }
msg $chan Bot: Pasando alcolimetro a todos....
timerlawl 1 2 msg $chan Bot: ahh... Borrach@ del canal es: ? %nick3 ? le dicen ruuud@!!! Kappa
timerlaw1 1 3 msg $chan Bot: Por que si no esta ped.. esta cruuud@ ... XD
}
on *:text:!zombie:#: {
set %nick3 $nick($chan,$rand(1,$nick($chan,0)))
if (%nick3 == $me) { set %nick3 $nick($chan,$rand(1,$nick($chan,0))) }
msg $chan Bot: Buscando al mas ZOMBIE de todos.... ;)
timerlawl 1 2 msg $chan Bot: Vaayaa, parece quel mas ZOMBIE del canal es: ? %nick3 ? :P
timerlaw1 1 3 msg $chan Bot: ...CUIDAO CON %nick3 :Zz0mbie, QUE PUEDE MORDER!!! :P XD
}
```
---
***mrcScript - CoinFlipper***
```
on *:TEXT:!volado:#: {
set %apostador [ $+ [ $chan ] ] $nick
set %Cara/cruz [ $+ [ $chan ] ] $rand(1,2)
msg $chan Bot: %apostador [ $+ [ $chan ] ] me has retado a un volado escoje : !cara o !cruz tienes 15 segundos :)
.timer 1 16 msg $chan Bot: %apostador [ $+ [ $chan ] ] tardaste mucho tiempo -> perdiste :/ :P
.timer 1 16 unset %apostador [ $+ [ $chan ] ]
}
on *:text:!cara:#:{
if ($nick = %apostador [ $+ [ $chan ] ] ) {
if (%Cara/cruz [ $+ [ $chan ] ] == 1) {
msg $chan Bot: %apostador [ $+ [ $chan ] ] ganaste: es cara B)
timer* off
unset %apostador [ $+ [ $chan ] ]
unset %Cara/cruz [ $+ [ $chan ] ]
halt
}
msg $chan : %apostador [ $+ [ $chan ] ] perdiste: era cruz :P
timer* off
unset %apostador [ $+ [ $chan ] ]
unset %Cara/cruz [ $+ [ $chan ] ]
}
}
on *:text:!cruz:#:{
if ($nick = %apostador [ $+ [ $chan ] ] ) {
if (%Cara/cruz [ $+ [ $chan ] ] == 2) {
msg $chan Bot: %apostador [ $+ [ $chan ] ] ganaste: es cruz B)
timer* off
unset %apostador [ $+ [ $chan ] ]
unset %Cara/cruz [ $+ [ $chan ] ]
halt
}
msg $chan Bot: %apostador [ $+ [ $chan ] ] perdiste: era cara :P
timer* off
unset %apostador [ $+ [ $chan ] ]
unset %Cara/cruz [ $+ [ $chan ] ]
}
}
```
---
***mrcScript - RandomAnswer***
```
on *:TEXT:que tal:#:{
set %pi $rand(1,3)
if (%pi == 1 ) {
/msg $chan Bot: pues yo con ojeras... $nick XD
unset %pi
}
if (%pi == 2 ) {
msg $chan Bot: A veces bien, a veces mal graaaoooaaaoooaaarrrr SwiftRage :Zombieesss
unset %pi
}
if (%pi == 3 ) {
msg $chan Bot: en modo bot, el humano duerme... HahaSleep
unset %pi
}
}
```