Advertisement
Blizzardo1

Untitled

Mar 3rd, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. on *:SOCKOPEN:clientinfo: window @ClientInfo | titlebar @ClientInfo from $sock($sockname).ip
  2. on *:SOCKCLOSE:clientInfo: echo -s *** Closed connection with $sock($sockname).ip
  3.  
  4. on *:SOCKREAD:clientInfo:{
  5. if ($sockerr > 0) return
  6. :nextread
  7. sockread %temp
  8. if ($sockbr == 0) return
  9. if (%temp) { aline @ClientInfo %temp }
  10. ;writes the received text to the window @ClientInfo
  11. goto nextread
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement