Guest User

Untitled

a guest
Sep 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 4.96 KB | None | 0 0
  1. on *:LOAD:{
  2.   echo -a 4*** TNA iPGN JOINER LOADED ***
  3.   echo -a 4*** TNA iPGN JOINER LOADED ***
  4.   ipgnjoiner
  5. }
  6. alias ipgnjoinlol { join #ipgn-comp | join #ipgn-comp2 | join #ipgn-comp3 }
  7. alias ipgnleavelol { leave #ipgn-comp | leave #ipgn-comp2 | leave #ipgn-comp3 }
  8. alias joineroff { set %joiner off | set %replacer off | set %dellast1 off | set %dellast2 off | set %dellast3 off }
  9. alias ipgnjoiner { set %statname $$?="Enter your iPGN stat name (used for dellast):" }
  10.  
  11. menu channel {
  12.   TNA IPGN Joiner
  13.   .Join Channels
  14.   ..Join : ipgnjoinlol
  15.   ..Part : ipgnleavelol
  16.   .Join Game
  17.   ..On : set %joiner on | echo -a 4*** JOINER ENABLED ***
  18.   ..Off : set %joiner off | echo -a 4*** JOINER DISABLED ***
  19.   .Join Replace
  20.   ..On : set %replacer on | echo -a 4*** REPLACER ENABLED ***
  21.   ..Off : set %replacer off | echo -a 4*** REPLACER DISABLED ***
  22.   .Join Dellast
  23.   ..Channel
  24.   ...1 : set %dellast1 on | %joiner off | echo -a 4*** DELLAST ENABLED ***
  25.   ...2 : set %dellast2 on | %joiner off | echo -a 4*** DELLAST ENABLED ***
  26.   ...3 : set %dellast3 on | %joiner off | echo -a 4*** DELLAST ENABLED ***
  27.   ...All : set %dellast1 on | set %dellast2 on | set %dellast3 on | %joiner off | echo -a 4*** DELLAST ENABLED ***
  28.   ..Off : set %dellast1 off | set %dellast2 off | set %dellast3 off | echo -a 4*** DELLAST DISABLED ***
  29.   .Everything
  30.   ..On : set %joiner on | set %replacer on | set %dellast1 on | set %dellast2 on | set %dellast3 on | %joiner off | echo -a 4*** EVERYTHING ENABLED ***
  31.   ..Off : joineroff | echo -a 4*** EVERYTHING DISABLED ***
  32.   .-
  33.   .Edit Stat Name : ipgnjoiner
  34. }
  35. on *:TEXT:*:#:{
  36.   if (%joiner == on) && (129 isin $10) && (s isin $11) && (l isin $11) && (o isin $11) && (t isin $11) && ($chan == #ipgn-comp) && ($nick == [iPGN-Bot][1]) {
  37.     .timer 1 1 /msg $chan !me
  38.   }
  39.   if (%joiner == on) && (129 isin $10) && (s isin $11) && (l isin $11) && (o isin $11) && (t isin $11) && ($chan == #ipgn-comp2) && ($nick == [iPGN-Bot][2]) {
  40.     .timer 1 1 /msg $chan !me
  41.   }
  42.   if (%joiner == on) && (129 isin $10) && (s isin $11) && (l isin $11) && (o isin $11) && (t isin $11)  && ($chan == #ipgn-comp3) && ($nick == [iPGN-Bot][3]) {
  43.     .timer 1 1 /msg $chan !me
  44.   }
  45.   if (%replacer == on) && (requested isin $3) &&  (replacement isin $5) && (for isin $6) && ($chan == #ipgn-comp) && ($nick == [iPGN-Bot][1]) {
  46.     .timer 1 1 /msg $chan !me
  47.   }
  48.   if (%replacer == on) && (requested isin $3) &&  (replacement isin $5) && (for isin $6) && ($chan == #ipgn-comp2) && ($nick == [iPGN-Bot][2]) {
  49.     .timer 1 1 /msg $chan !me
  50.   }
  51.   if (%replacer == on) && (requested isin $3) &&  (replacement isin $5) && (for isin $6) && ($chan == #ipgn-comp3) && ($nick == [iPGN-Bot][3]) {
  52.     .timer 1 1 /msg $chan !me
  53.   }
  54.   if (%joiner == on) && (%statname isin $2) && (!dellast isin $6) && ($chan == #ipgn-comp) && ($nick == [iPGN-Bot][1]) {
  55.     set %dellast1 on
  56.   }
  57.   if (%joiner == on) && (%statname isin $2) && (!dellast isin $6) && ($chan == #ipgn-comp2) && ($nick == [iPGN-Bot][2]) {
  58.     set %dellast2 on
  59.   }
  60.   if (%joiner == on) && (%statname isin $2) && (!dellast isin $6) && ($chan == #ipgn-comp3) && ($nick == [iPGN-Bot][3]) {
  61.     set %dellast3 on
  62.   }
  63.   if (%dellast1 == on) && (*People who played in the last game are now allowed to join* iswm $1-) && ($chan == #ipgn-comp) && ($nick == [iPGN-Bot][1]) {
  64.     .timer 1 1 /msg $chan !me
  65.   }
  66.   if (%dellast2 == on) && (*People who played in the last game are now allowed to join* iswm $1-) && ($chan == #ipgn-comp2) && ($nick == [iPGN-Bot][2]) {
  67.     .timer 1 1 /msg $chan !me
  68.   }
  69.   if (%dellast3 == on) && (*People who played in the last game are now allowed to join* iswm $1-) && ($chan == #ipgn-comp3) && ($nick == [iPGN-Bot][3]) {
  70.     .timer 1 1 /msg $chan !me
  71.   }
  72.   if (%joiner == on) && ($me isin $2) && (has isin $4) && (been isin $5) && (added isin $6) && (to isin $7) && (the isin $8) && (game isin $9) {
  73.     msg $me 4*** JOINED $chan ***
  74.     beep 6
  75.     join #teamtNa
  76.     joineroff
  77.   }
  78.   if (%dellast1 == on) && ($me isin $2) && (has isin $4) && (been isin $5) && (added isin $6) && (to isin $7) && (the isin $8) && (game isin $9) {
  79.     msg $me 4*** JOINED $chan ***
  80.     beep 6
  81.     join #teamtNa
  82.     joineroff
  83.   }
  84.   if (%dellast2 == on) && ($me isin $2) && (has isin $4) && (been isin $5) && (added isin $6) && (to isin $7) && (the isin $8) && (game isin $9) {
  85.     msg $me 4*** JOINED $chan ***
  86.     beep 6
  87.     join #teamtNa
  88.     joineroff
  89.   }
  90.   if (%dellast3 == on) && ($me isin $2) && (has isin $4) && (been isin $5) && (added isin $6) && (to isin $7) && (the isin $8) && (game isin $9) {
  91.     msg $me 4*** JOINED $chan ***
  92.     beep 6
  93.     join #teamtNa
  94.     joineroff
  95.   }
  96.   if (%replacer == on) && ($me isin $2) && (has isin $4) {
  97.     msg $me 4*** JOINED $chan ***
  98.     beep 6
  99.     join #teamtNa
  100.     joineroff
  101.   }
  102.   if (%replacer == on) && (%statname isin $2) && (has isin $4) && (the isin $5) && (closest isin $6) {
  103.     msg $me 4*** REPLACE IN $chan ***
  104.     beep 6
  105.     join #teamtNa
  106.     joineroff
  107.   }
  108. }
Add Comment
Please, Sign In to add comment