Author Topic: WHOIS  (Read 2117 times)

0 Members and 1 Guest are viewing this topic.

Offline c h i l l a

  • Lord
  • ***
  • Posts: 347
  • Karma: +1/-0
« on: 24 October, 2003, 11:46:04 »

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)


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.
« Last Edit: 25 October, 2003, 01:21:57 by c h i l l a »

PtokaX forum

« on: 24 October, 2003, 11:46:04 »