Advertisement
makimaki

T chat shit

May 6th, 2010
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.70 KB | None | 0 0
  1. alias connect {
  2.   if ($sock(TC)) { sockclose cc }
  3.   sockopen TC irc.t-chats.net 6667
  4. }
  5. on *:start:{  socklisten init | server $iif($server,-m) localhost $sock(init).port | connect }
  6. alias swrite { sockwrite -tn Tc $1- }
  7.  
  8. on *:socklisten:init:{
  9.   .sockaccept localhost
  10.   .sockclose $sockname
  11. }
  12. on *:sockread:localhost:{
  13.   if ($sockerr > 0) { return }
  14.   var %ldata | sockread %ldata | tokenize 32 %ldata
  15.   swrite $1-
  16. }
  17.  
  18.  
  19.  
  20. on *:sockclose:Tc:{
  21.   .timer -o 1 2 .sockopen Tc  
  22. }
  23. on *:sockopen:Tc:{
  24.   sockwrite -tn Tc IRCVERS IRC8 MSN-OCX!9.02.0310.2401
  25.   sockwrite -tn Tc AUTH GateKeeper I :GKSSP\0
  26.   sockwrite -tn Tc NICK Admin_eXile
  27.   sockwrite -tn Tc PROP $ ROLE : $+ Guide Lancelot stoned
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement