Advertisement
Iire

sockread fix

Aug 18th, 2011
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.38 KB | None | 0 0
  1. on *:SOCKREAD:bot: {
  2.   var %bsock
  3.   sockread %bsock
  4.   tokenize 32 %bsock
  5.   aline @mbot $1-
  6.   if (*PING* iswm $1) sockwrite -nt bot PONG $server
  7.   elseif ($2 == PRIVMSG) && ($regex($4,/^:(([^ ]+))/)) && ($regml(2) != ACTION) {
  8.     sockwrite -nt bot NOTICE $right($gettok($1,1,33),-1) $regml(1) $replacex($regml(2),PING,$ctime,TIME,$fulldate,VERSION,mIRC v7.19 socket bot)
  9.   }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement