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.
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.