Simple Scripting Game

By Sir_Poeta on May 21, 2010

Es un simple juego de ruleta rusa
que yo y mi polola hicimos en nuestros momentos de aburrimiento en ChatLatino.cl

aquí les paso el código:

On *:text:*:#:{
  if (!disparo isin $1) {
    if ( $rand(0,4) == 2 ) { msg # $nick 12,11BOOOOOOOM!! 12Tus sesos volaron!!! }
    else { msg $chan 12 [*** CLICK ***] 14UFFF por poco te has librado 12 $+ $nick }
  }
}

Comments

Sign in to comment.
Sir_Poeta   -  May 24, 2010

slacker
Voy a probar el scripting que has hecho, pero no sé porqué tengo la corazonada de que no funcionará en ChatSpace :S
de todas maneras gracias

Sir_Poeta

ChatLatino.cl

 Respond  
slacker   -  May 23, 2010

you can make it like this as well

on $*:text:/^!disparo$/iS:#:{
  if (!%F) { 
    set -u3 %F 1
    msg # $iif($r(0,5) = 0,$nick $+(12,$chr(44),11BOOOOOOOM!!) 12Tus sesos volaron!!!,$&
      12[*** CLICK ***] 14UFFF por poco te has librado 12 $+ $nick)
  }
}
 Respond  
Sir_Poeta   -  May 23, 2010

Jethro_
muchas gracias, no sabía la propiedad que tiene el $strip($1) ;)

jsg55
on :text:!disparo:#: es un remoto separado, y para continuar un "else" o un "elseif" la sintaxis es muy distinta a la que yo seguí en mi scripting de arriba, por eso decidí ocupar
On
:text:*:#:{
if (!disparo isin $1) {

 Respond  
jsg55   -  May 21, 2010

¿Por qué no utilizar on :text:!disparo:#: en lugar de On :text:*:#:{
if (!disparo isin $1) { Lo siento por mi pobre español jaja

 Respond  
Jethro   -  May 21, 2010

You should use: > if (!disparo == $strip($1)) { The isin operator will match anything that begins and ends it. It's not good. You should add $strip() identifier to strip out color control codes, or else the trigger won't be functional if a user uses colors in their text.

 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.