Advertisement
makimaki

Untitled

May 6th, 2010
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 5.90 KB | None | 0 0
  1. ;   ##################################
  2. ;  #**** MULTI SERVER CONNECTION ***#
  3. ; #***********  eXile *************#
  4. ;##################################
  5. ;Join Any IRC Based server rahter its ircx or ircd
  6. ;todo
  7. ;raws for buzzen and chatcore
  8. ;away and return
  9. ;open new window past 11 rooms
  10. ;auto join and que
  11. ;menus
  12. ;commands
  13. ;proxie and bots.
  14. on *:start:{  
  15.   .dll dll\Titleicon.dll SetIcon -m images\eXx.ico
  16.   .dll dll\Titletext.dll SetMainTitleBar ..:: eXile (Multi Server) MakiMaki & seraphim ::..
  17.   .timestamp -f 0hh3:0nn3:0ss
  18.   echo -sa 1 eXile Starting.....
  19.   echo -sa 1 Multi Server Script By  12MakiMaki and 11seraphim
  20.   echo -sa 1 Thanks to 12alder, 5err0r, 4p0d, and 15Warrior. Thank you guys for everything.
  21. }
  22. ;on *:exit: {  }
  23.  
  24. ;   ##################################
  25. ;  #**** BUZZEN STUFF CONNECTION ***#
  26. ; #***********  eXile *************#
  27. ;##################################
  28. on ^*:logon:*: { if ($server == irc.buzzen.net) { .raw authtype $+(ircwx1,$crlf,user) $me $me $me $+(:,anon) | .raw loginh email $md5() }
  29.   ;if ($server == irc.t-chats.net) { .raw authtype $+(IRCVERS IRC8 MSN-OCX!9.02.0310.2401,AUTH GateKeeper I :GKSSP\0) | .raw loginh email $md5() }
  30. }
  31. raw whisper:*:{ if (!$window($nick)) { /query -n $nick } | set %buzzenwhisper. $+ $nick $1 | var %m = $regsubex($3-, /\[(?:style\x20.*?|/style)\]/gi,$null) | echo -t $nick $nick $+ : %m | haltdef }
  32. raw *:*: { if (buzzen isin $network) && ($1 == $me) && ($left($2,2) == $chr(37) $+ $chr(35)) && ($3- === No such channel) { .raw create $2 } }
  33. on *:CLOSE:?: { if (%buzzenwhisper. [ $+ [ $target ] ]) { unset %buzzenwhisper. [ $+ [ $target ] ] } }
  34. alias access.add { ACCESS $1 ADD $2 $gettok($ial($$3,1),2,33) 0 : $+ $me $+ 's access }
  35.  
  36. ;   ##################################
  37. ;  #*** ChatCore STUFF CONNECTION **#
  38. ; #***********  eXile *************#
  39. ;##################################
  40. alias ckprof { set %cp 0 | var %profsock $+(ckprof,$+($rand(1,99999),$rand(A,Z),$rand(a,z))) | sockopen %profsock www.chatcore.com 80 | sockmark %profsock $1 $2 }
  41. on *:sockopen:ckprof*: {
  42.   if ($sockerr) { sockclose $sockname | halt }
  43.   sockwrite -n $sockname GET /profile.php?user= $+ $gettok($sock($sockname).mark,2,32) HTTP/1.1
  44.   sockwrite -n $sockname User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8)
  45.   sockwrite -n $sockname Host: www.chatcore.com
  46.   sockwrite -n $sockname $crlf
  47. }
  48. on *:sockread:ckprof*: {
  49.   if ($sockerr > 0) return | var %ckprof | sockread %ckprof
  50.   if ($regex(%ckprof,/You do not have permission to view this profile/)) { echo $gettok($sock($sockname).mark,1,32) $gettok($sock($sockname).mark,2,32) has a private profile | sockclose $sockname }
  51.   if ($regex(%ckprof,/The profile you are looking for has been deleted or does not exist/)) { echo $gettok($sock($sockname).mark,1,32) No profile information for $gettok($sock($sockname).mark,2,32) found | sockclose $sockname }
  52.   if ($regex(%ckprof,/<\/table>/)) && (%fps. [ $+ [ $sockname ] ]) {
  53.     echo $gettok($sock($sockname).mark,1,32) : $gettok($sock($sockname).mark,2,32) $+ 's asl is $iif(!%fpa. [ $+ [ $sockname ] ],Unknown,%fpa. [ $+ [ $sockname ] ]) / $iif(!%fpg. [ $+ [ $sockname ] ],Unknown,%fpg. [ $+ [ $sockname ] ]) / $iif(!%fpl. [ $+ [ $sockname ] ],Unknown,%fpl. [ $+ [ $sockname ] ])
  54.     /unset %fp*
  55.     sockclose $sockname
  56.   }
  57.   if ($regex(%ckprof,/<div class='profile_field_value'>(.*) <br \/><\/div>/)) && (%fp. [ $+ [ $sockname ] ] == l1) { set %fpl. [ $+ [ $sockname ] ] $regml(1) | set %fp. [ $+ [ $sockname ] ]  6  | unset %fp. [ $+ [ $sockname ] ] | set %fps. [ $+ [ $sockname ] ] 1 }
  58.   if ($regex(%ckprof,/<b>Location:<\/b>/)) { set %fp. [ $+ [ $sockname ] ]  l1 }
  59.   if ($regex(%ckprof,/<div class='profile_field_value'>(.*) <br \/><\/div>/)) && (%fp. [ $+ [ $sockname ] ] == g1) { set %fpg. [ $+ [ $sockname ] ] $regml(1) | unset %fp. [ $+ [ $sockname ] ] | set %fps. [ $+ [ $sockname ] ] 1 }
  60.   if ($regex(%ckprof,/<b>Gender:<\/b>/)) { set %fp. [ $+ [ $sockname ] ]  g1 }
  61.   if ($regex(%ckprof,/(.*)<\/td>/)) && (%fp. [ $+ [ $sockname ] ] == a1) { set %fpa. [ $+ [ $sockname ] ] $right($gettok($regml(1),1,32),-1) | unset %fp. [ $+ [ $sockname ] ] | set %fps. [ $+ [ $sockname ] ] 1 }
  62.   if ($regex(%ckprof,/(.*)field_id=4&field_value=(.*)'>(.*)<\/a> <br /><\/div>/)) { set %fp. [ $+ [ $sockname ] ]  a1 }
  63.  
  64. }
  65.  
  66.  
  67. ;   ##################################
  68. ;  #*** THEMED EVENT ALL SEVRERS ***#
  69. ; #***********  eXile *************#
  70. ;##################################
  71. on *:INPUT:?: { if ($Left($1, 1) != /) && (buzzen isin $network) {
  72.     .raw WHISPER %buzzenwhisper. [ $+ [ $target ] ] $target $1-
  73.     echo $target $timestamp $me $+ : $1- | halt
  74.   }
  75.   if ($Left($1, 1) != /) {
  76.     privmsg $active $1-
  77.     echo $active $timestamp $me : $1- | halt
  78.   }
  79. }
  80.  
  81. on *:INPUT:#: {
  82.   if ((/* !iswm $1) || (/me == $1)) {
  83.     var %p = $left($nick($chan,$me).pnick,1)
  84.     if (%p == $left($me,1)) unset %p
  85.     if (/me != $1) {
  86.       if  ($network == Buzzen) { privmsg $chan $+([style ff:Comic Sans MS;],$1-,[/style]) }
  87.       if  ($network == ChatCore) { privmsg $active ##*# $+ %f $+ ~ $+ %c $+ ~ $+ %b $+ ~ $+ %i $+ #*## $+ $1-  }
  88.     echo  -ti2 $chan  14 $+ $me $+ 0: $1- | halt }
  89.  
  90.   }
  91. }
  92.  
  93. on ^*:JOIN:#: {
  94. if ($network == ChatCore) && (Guest isin $nick)  { msg # Welcome $nick $+ ,  I see you have not yet registered. Register now to fully enjoy all that ChatCore has to offer. http://chatcore.com/signup.php :) } }
  95.  
  96. on ^*:text:*:#: {  var %m = $regsubex($1-, /\[(?:style\x20.*?|/style)\]/gi,$null)
  97.   if (($me isin $1-) && ($version !< 6.31) && (!%tip. [ $+ [ $nick ] ]) && (($appstate == tray) || ($chan != $active))) {
  98.     inc -eu2 %alert.flood
  99.     if (%alert.flood < 2) {
  100.       $tip('Tray Tip', 4Name Alert14 $chr(40)  $network  $chr(41) , 1  $nick  : $regsubex($1-, /\[(?:style\x20.*?|/style)\]/gi,$null) - 12  $chan , 10)
  101.       set -eu15 %tip. [ $+ [ $nick ] ] true
  102.     }
  103.   }
  104. echo  -ti2 $chan   15 $nick $+ 0: $ccstrip(%m) |  halt }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement