mIRC Home    About    Download    Register    News    Help

Print Thread
Remote problems.. #146840 09/04/06 04:47 PM
Joined: Jan 2006
Posts: 7
S
SinfulResolution Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2006
Posts: 7
I just want to know if there was a glitch or spmething because I put this simple script in my remotes section:
Code:
on *:CONNECT:{ if ( $nick == $me ) { /echo Connected to $server at $time(hh:nn:sstt) with nickname $nick }
    on *:DISCONNECT:{ ( if $nick == $me ){ /echo Disconnected from $server at $time(hh:nn:sstt) with nickname $nick }
  


And I get
ON Unknown command
-
ON Unknown command
-
ON Unknown command
-
ON Unknown command
-
ON Unknown command
-
ON Unknown command

I put it in my remotes section like it's supposed to be and made sure that everything was correct. I don't know what the problem is. Does anybody have a clue?

Re: Remote problems.. #146841 09/04/06 04:51 PM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
on *:CONNECT:{ if ( $nick == $me ) { /echo Connected to $server at $time(hh:nn:sstt) with nickname $nick } }

on *:DISCONNECT:{ if ( $nick == $me ) { /echo Disconnected from $server at $time(hh:nn:sstt) with nickname $nick } }


I refuse to engage in a battle of wits with an unarmed person. wink
Re: Remote problems.. #146842 09/04/06 04:57 PM
Joined: Jan 2006
Posts: 7
S
SinfulResolution Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2006
Posts: 7
Quote:
on *:CONNECT:{ if ( $nick == $me ) { /echo Connected to $server at $time(hh:nn:sstt) with nickname $nick } }

on *:DISCONNECT:{ if ( $nick == $me ) { /echo Disconnected from $server at $time(hh:nn:sstt) with nickname $nick } }
I still get the same old error, that can't be it.

Re: Remote problems.. #146843 09/04/06 05:15 PM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
works here:
Connected to irc3.invalenti.com at 12:13:59pm with nickname testnick
Disconnected from irc3.invalenti.com at 12:14:07pm with nickname testnick


I refuse to engage in a battle of wits with an unarmed person. wink
Re: Remote problems.. #146844 10/04/06 07:38 PM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Are your words ON in the script now against the LEFT hand wall of the script file?