mIRC Homepage
Posted By: ZoDiaC botts help - 10/08/07 06:20 AM
on ^*:JOIN:#: { haltdef | .echo -s 7,1Entrar : $nick entra # } }
on ^1:QUIT: { .echo -s 8,1 Sale :  $nick sale del IRC con el mensaje: $1- | halt }
on ^1:part: { .echo -s 7,1 Salida Temporal :  $nick  sale de # }

i made this and shows me #: uknown command

any help
Posted By: RusselB Re: botts help - 10/08/07 06:37 AM
Your ON PART event is missing the channel parameter.

Should be
Code:
on ^1:part:#:{ .echo -s 7,1 Salida Temporal :  $nick  sale de # } 


The rest of your events are fine.
Posted By: Bekar Re: botts help - 10/08/07 07:02 AM
You've got an extra } on the ON JOIN line..
Posted By: ZoDiaC Re: botts help - 11/08/07 06:51 AM
on ^*:JOIN:#: { .echo -s 7,1Entrar : $nick entra # | halt }


on ^1:QUIT: { .echo -s 8,1 Sale :  $nick sale del IRC con elmensaje: $1- | halt }

on ^1:part:#: { .echo -s 7,1 Salida Temporal :  $nick  sale de # }

i check and all is right but still showme # unknown command

any help

Posted By: RusselB Re: botts help - 11/08/07 05:13 PM
You only have the # character in two of those lines, so the ON QUIT event can be eliminated as the problem section.

What you should do is figure out which of the ON JOIN or ON PART events is causing the problem, as based on the code you've posted, everything looks fine.

One other possibility, that I can't see here, is that your codes might not be lining up properly. Please copy & paste the code exactly as you have it, and remember to use the Code Tags (button looks like #). This should allow us to see if the code is being aligned correctly.
Posted By: Bekar Re: botts help - 12/08/07 12:22 AM
Also, hit the '{}' button in your remotes to make sure you don't have any other bracing mishaps.
Posted By: Wims Re: botts help - 12/08/07 04:07 AM
The error that he has not said that the error happen with this 3 lines, so maybe it's the reason why we've not seen error.He should try with a clean mirc 6.21 to see if it's works
© mIRC Discussion Forums