Kazama-MX

Kazama-MX

Joined
Feb 28, 2015

Activity Stream

Kazama-MX   -  Feb 28, 2015

Hi im new i have this code but mIRC send an msg of each command and the message is UKNOW COMMAND what is the error?

On MASTER:TEXT:.add_*:#: {
    set var %prd = $replacex($1, .add_)
    if ( (%prd==armas) || (%prd==pan) || (%prd==regalos) ){
        set var -n %file =  C:/ $+ %prd $+ .txt
        write -n %file Producto: $2 - Precio: $3 - Vendedor: $4 - Stock: $5  Link: $6
        write -n C:/all.txt Producto: $2 - Precio: $3 - Vendedor: $4 - Stock: $5  Link: $6
        msg $chan $nick Venta Guardado
    }else{
        RETURN
    }
}

On *:TEXT:.read_*:#: {
  var %prd = $replacex($1, .read_)
  if ( (%prd==armas) || (%prd==pan) || (%prd==regalos) ){
  var %file =  C:/ $+ %prd $+ .txt
  play $nick %file
  }else{
    RETURN
}
}

On *:TEXT:.read*:#: {
    play $nick C:/all.txt
} 
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.