mIRC Home    About    Download    Register    News    Help

Print Thread
#155762 09/08/06 03:44 AM
Joined: Jan 2006
Posts: 40
D
DjJax Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2006
Posts: 40
on ^1:open:?: {
.echo -a 0,4Priv $nick 0,7 { $+ 0,7PhantomXScript | whois $nick | enable #whois }
}

#whois end
raw 311:*: { .echo -a $3 }
raw 319:*: { .echo -a 0,4Canales: $3-
#whois off


the script has this error

#WHOIS Comando desconocido

any help?


thnx

#155763 09/08/06 04:48 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
 on ^1:open:?:{
echo -a Priv $nick { $+ PhantomXScript | .enable #whois | whois $nick 
}
#whois off
raw 311:*:{ echo -a $3 }
raw 319:*:{ echo -a Canales: $3- }
raw 318:*:{
.disable #whois
haltdef
}
#whois end
 


You'll have to put in the colour codes and whatever other codes you had in the original, as this system does like those codes in this forum.

#155764 09/08/06 05:37 AM
Joined: Jan 2006
Posts: 40
D
DjJax Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2006
Posts: 40
#WHOIS Comando desconocido
-
311:*:{ Comando desconocido
-
319:*:{ Comando desconocido
-
318:*:{ Comando desconocido
-
#WHOIS Comando desconocido
-

i have this problem


on ^1:open:?:{
echo -a Priv $nick { $+ PhantomXScript | .enable #whois | whois $nick
}

#whois off
raw 311:*:{ echo -a $3 }
raw 319:*:{ echo -a Canales: $3- }
raw 318:*:{
.disable #whois
haltdef
}

#whois end


THNX

#155765 09/08/06 05:41 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
The problem is the { in your echo line. This should resolve the problem.

Code:
 on ^1:open:?:{
  echo -a Priv $nick $chr(123) $+ PhantomXScript | .enable #whois | whois $nick 
}
#whois off
raw 311:*:{ echo -a $3 }
raw 319:*:{ echo -a Canales: $3- }
raw 318:*:{
  .disable #whois
  haltdef
}
#whois end
 


If it doesn't then give me a translation of that error message into English.

Last edited by RusselB; 09/08/06 05:51 AM.
#155766 09/08/06 05:51 AM
Joined: Feb 2005
Posts: 342
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2005
Posts: 342
Quote:

on ^1:open:?:{
echo -a Priv $nick { $+ PhantomXScript | .enable #whois | whois $nick
}


Your problem is the { in:
$nick { $+ PhantomXScript

Replace THAT { with $chr(123)

Edit: High five to RusselB.

Last edited by Rand; 09/08/06 05:53 AM.
#155767 09/08/06 06:11 AM
Joined: Jan 2006
Posts: 40
D
DjJax Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2006
Posts: 40
thnx for the fastest replay

#155768 09/08/06 06:20 AM
Joined: Jan 2006
Posts: 40
D
DjJax Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2006
Posts: 40
thanx for the faster replay


Link Copied to Clipboard