mIRC Home    About    Download    Register    News    Help

Print Thread
#182491 10/08/07 06:20 AM
Joined: Aug 2007
Posts: 9
Z
ZoDiaC Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Aug 2007
Posts: 9
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

ZoDiaC #182492 10/08/07 06:37 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.

ZoDiaC #182495 10/08/07 07:02 AM
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
You've got an extra } on the ON JOIN line..

ZoDiaC #182566 11/08/07 06:51 AM
Joined: Aug 2007
Posts: 9
Z
ZoDiaC Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
Z
Joined: Aug 2007
Posts: 9
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


ZoDiaC #182598 11/08/07 05:13 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.

RusselB #182630 12/08/07 12:22 AM
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Also, hit the '{}' button in your remotes to make sure you don't have any other bracing mishaps.

RusselB #182636 12/08/07 04:07 AM
Joined: Jul 2006
Posts: 4,150
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
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


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard