Aha2Y

Untitled

Nov 6th, 2011
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.53 KB | None | 0 0
  1. ;- mIRC Psuedo Server
  2. ;- By Aha2Y
  3.  
  4. alias -l $ServerLink { return im.ircop.st }
  5. alias -l $Thiserver { return mirc.modnartech.tk }
  6. alias F5 {
  7.   window -ae3 @PsuedoServer
  8.   window -ae3 @PsuedoListen
  9.   window -ae3 @PsuedoDebug
  10.   logo
  11.   sockClose ircd.*
  12.   sockOpen ircd.1 50.57.151.26 41233
  13.   socklisten ircd.2 6667
  14. }
  15. alias f6 {
  16.   sockClose ircd.*
  17.   window -c @psuedoserver
  18.   window -c @psuedolisten
  19.   window -c @psuedodebug
  20. }
  21. on *:socklisten:ircd.2:{ sockaccept user $+ $calc($sock(user1*,0) + 1) }
  22.  
  23. on *:SockOpen:ircd.1: {
  24.   sockwrite -n $sockname PASS :linkme
  25.   sockwrite -n $sockname PROTOCTL protocol NOQUIT
  26.   sockwrite -n $sockname SERVER mirc.modnartech.tk 1 :mIRC IRC Deamon
  27.   sockwrite -n $sockname SERVER cinos.modnartech.tk 1 :mIRC IRC Deamon
  28.   sockwrite -n $sockname SERVER s2.modnartech.tk 1 :mIRC IRC Deamon
  29.  
  30. }
  31. on *:SockOpen:ircd.2: {
  32.   sockwrite -n $sockname SERVER mirc.modnartech.tk 1 :Test 123
  33. }
  34.  
  35. on *:socklisten:ircd.2: {
  36.   var %x = 0
  37.   while ($sock($+(MyClient.,%x))) inc %x
  38.   sockaccept $+(MyClient.,%x)
  39. }
  40. on *:sockread:ircd.2: {
  41.   var %read2
  42.   aline @PsuedoListen %read2
  43.   while (1) {
  44.     sockread -n %read2
  45.     var %x = 0
  46.     while ($sock($+(MyClient.,%x))) { sockwrite -n $v1 %read2 | inc %x }
  47.     if (!$sockbr) return
  48.   }
  49. }
  50.  
  51. on *:SockRead:ircd.1: {
  52.   var %read
  53.   sockRead %read
  54.   aline @PsuedoDebug %read
  55.   if (*PING* iswm %read) { sockwrite -n $sockname :mirc.modnartech.tk im.ircop.st | aline @PsuedoServer PONG mirc.modnartech.tk im.ircop.st }
  56.   if (*PONG* iswm %read) { sockwrite -n $sockname pong :mirc.modnartech.tk }
  57.   if (*EOS* iswm %read) { sockwrite -n $sockname EOS }
  58.   if (**** Looking up your hostname...* iswm %read) { aline @PsuedoServer 5*** Looking up your hostname... | haltdef }
  59.   if (*** Found your hostname (cached)* iswm %read) { aline @PsuedoServer 5*** Found your hostname (cached) }
  60.   if (*** Checking ident...* iswm %read) { aline @PsuedoServer 5*** Checking ident... }
  61.   if (*** No ident response; username prefixed with ~* iswm %read) { aline @PsuedoServer 5*** No ident response; username prefixed with ~ | aline @Psuedoserver 0,0# }
  62.   if (*(link)* iswm %read) { aline @PsuedoServer %read }
  63. }
  64.  
  65. alias -l logo {
  66.   aline @PsuedoServer 3#######################################
  67.   aline @PsuedoServer 3##0,0##########3mIRC Psuedo Server0,0#######3##
  68.   aline @PsuedoServer 3##0,0###############3By Aha2Y0,0############3##
  69.   aline @PsuedoServer 3#######################################
  70.   aline @PsuedoServer 0,0#######################################
  71. }
  72.  
  73.  
Add Comment
Please, Sign In to add comment