Advertisement
Aha2Y

Untitled

Mar 6th, 2012
430
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.99 KB | None | 0 0
  1. ;- mIRC Psuedo Server
  2. ;- By Aha2Y
  3.  
  4. alias LinkServer { return to.domain.com }
  5. alias Thiserver { return from.domain.com }
  6.  
  7. alias F6 {
  8.   sockclose ircd.*
  9.   window -c @psuedoserver
  10.   window -c @psuedolisten
  11.   window -c @psuedodebug
  12. }
  13.  
  14. alias F5 {
  15.   window -ae3 @PsuedoServer
  16.   window -ae3 @PsuedoListen
  17.   window -ae3 @PsuedoDebug
  18.   sockClose ircd.*
  19.   sockOpen ircd.link $LinkServer 41233
  20.   socklisten ircd.listen 6668
  21. }
  22. on *:SockOpen:ircd.link: {
  23.   sockwrite -n $sockname PASS :lolno
  24.   sockwrite -n $sockname PROTOCTL protocol NOQUIT NS
  25.   sockwrite -n $sockname SERVER Servername1 1 :IRCD Fucker by Aha2Y
  26.   sockwrite -n $sockname SERVER Servername2 1 :IRCD Fucker by Aha2Y
  27.   sockwrite -n $sockname SERVER Servername 1 :IRCD Fucker by Aha2Y
  28. }
  29.  
  30. alias addserver {
  31.   var %i = 1
  32.   while (%i <= $1-) {
  33.     sockwrite -n ircd.link SERVER s $+ %i $+ .aha2y.nl.vu 1 : IRC Deamon Fucker, By Aha2Y
  34.     inc %i
  35.   }
  36. }
  37.  
  38. on *:socklisten:ircd.listen:{ sockaccept user $+ $calc($sock(user1*,0) + 1) | aline @sockListen $1- }
  39. on *:SockRead:ircd.link: {
  40.   var %read
  41.   sockRead %read
  42.   aline @PsuedoDebug %read
  43.   if (*PING* iswm %read) { sockwrite -n $sockname : $LinkServer | aline @PsuedoServer PONG $Thiserver $LinkServer }
  44.   if (*PONG* iswm %read) { sockwrite -n $sockname pong : $+ $Thiserver }
  45.   if (*EOS* iswm %read) { sockwrite -n $sockname EOS }
  46.   if (**** Looking up your hostname...* iswm %read) { aline @PsuedoServer 5*** Looking up your hostname... | haltdef }
  47.   if (*** Found your hostname (cached)* iswm %read) { aline @PsuedoServer 5*** Found your hostname (cached) }
  48.   if (*** Checking ident...* iswm %read) { aline @PsuedoServer 5*** Checking ident... }
  49.   if (*** No ident response; username prefixed with ~* iswm %read) { aline @PsuedoServer 5*** No ident response; username prefixed with ~ | aline @Psuedoserver 0,0# }
  50.   if (*(link)* iswm %read) { aline @PsuedoServer %read }
  51. }
  52.  
  53. on *:SockRead:ircd.listen: {
  54.   var %read
  55.   sockRead %read
  56.   aline @PsuedoListen %read
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement