PtokaX forum

PtokaX => Bugs => Topic started by: c h i l l a on 24 October, 2003, 11:46:04

Title: WHOIS
Post by: c h i l l a on 24 October, 2003, 11:46:04
WHOIS

if anybody is using a whois script then please make sure
you add this exclusion to your script  either.

strsub(line,strlen(line),strlen(line)) ~= strchar(124)

or

line = gsub(line,strchar(124),"\r\n")

where line is the incoming line off the socket.

cause if not then it could happen that. you get some results in Main and PM if you use a script that works in Main and PM. The line with a Pipe ( strchar(124) ) on the end is always shown in Main Chat.

edit :  thanks to OpiumVolage for his help :), almost forgot.