Advertisement
Guest User

mIRC WHOIS Information - onjoin

a guest
Jun 1st, 2016
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. ;mIRC WHOIS Information
  2. ;Active On-Join Check
  3. ;Displays Nick, Fullname, Ident@IP, Clones, Network Info, Connect time & Idle
  4. ;Displays if logged in as a regular Cservice User or IRCop
  5. ;Displays Channel & Common Channels, Client info and if away
  6.  
  7. ON !*:JOIN:#: { inc -u5 %check.floodpro 1 | whois $nick $nick }
  8. if (%check.floodpro == 5) { /.disable #whoisonjoin | .timer 1 60 /.enable #whoisonjoin }
  9.  
  10. menu nicklist {
  11. — $1 —:whois $$1 $$1
  12. }
  13. raw 311:*:{
  14. haltdef
  15. window @whois
  16. echo @whois $timestamp 5•---------------• 14[Begin Whois Info:8 $2 $+ 14] 5•---------------•
  17. echo @whois $timestamp 14|---› 14Nick:1 $2
  18. echo @whois $timestamp 14|---› 14FullName:1 $6-
  19. echo @whois $timestamp 14|---› 14Ident@IP:1 $3 $+ 14 $+ @ $+ 01 $+ $4
  20. var %clone = $kanalclone($2)
  21. if (%clone == $null) echo @whois $timestamp 14|---› 14Clones:1 (No Clone)
  22. else echo @whois $timestamp 14|---› 14Clone:1 ( $+ $numtok(%clone,44) $+ ) user 04/01 %clone
  23. haltdef
  24. }
  25. raw 313:*: {
  26. haltdef
  27. window @whois
  28. echo @whois $timestamp 14|---› 14Network Info:1 $3 $4 $5 $6 $7 $8 $9
  29. }
  30. raw 314:*:{
  31. haltdef
  32. window @whois
  33. echo @whois $timestamp 14|---› 9•---------------•
  34. echo @whois $timestamp 14|---› 14Nick:7 $2
  35. echo @whois $timestamp 14|---› 14FullName:7 $6-
  36. echo @whois $timestamp 14|---› 14Ident@Ip:7 $3 $+ 14 $+ @ $+ 01 $+ $4
  37. var %clone = $kanalclone($2)
  38. if (%clone == $null) echo @whois $timestamp 14|---› 14Clones:5 (No Clone)
  39. else echo @whois $timestamp 14|---› 14Clone:1 ( $+ $numtok(%clone,44) $+ ) user 04/01 %clone
  40. haltdef
  41. }
  42. raw 317:*:{
  43. haltdef
  44. window @whois
  45. echo @whois $timestamp 14|---› 14Connect Time:1 $asctime($4) 04/1 $duration($calc($ctime - $4))
  46. echo @whois $timestamp 14|---› 14Idle:1 $duration($3)
  47. }
  48. raw 318:*:{
  49. haltdef
  50. window @whois
  51. .timer -h 1 200 echo @whois $timestamp 5•---------------• 14[End of Whois Info:8 $2 $+ 14] 5•---------------•
  52.  
  53.  
  54. }
  55. raw 319:*:{
  56. haltdef
  57. window @whois
  58. echo @whois $timestamp 14|---› 14Joined Channels:11 $3-
  59. echo @whois $timestamp 14|---› 14Common Channels:10 $ortak_k($2) 04/01 Total:04 $comchan($2,0) 01Chan(s)
  60. }
  61. raw 338:*:{
  62. haltdef
  63. window @whois
  64. echo @whois $timestamp 14|---› 14Real Ip:01 $4 $5 $6
  65. }
  66. raw 320:*:{
  67. haltdef
  68. window @whois
  69. echo @whois $timestamp 14|---› 14Swhois:1 $2-
  70. }
  71. raw 330:*: echo @whois $timestamp 14|---› 14CService Login:1 $2 $4 $5 $6 $7 $3 | halt
  72. raw 378:*:{
  73. haltdef
  74. window @whois
  75. echo @whois $timestamp 14|---› 14Real Ip:01 $3 $4 $5 $6 $7
  76. }
  77. raw 379:*:{
  78. haltdef
  79. window @whois
  80. echo @whois $timestamp 14|---› 14Modes:01 $6
  81. }
  82. raw 671:*:{
  83. haltdef
  84. window @whois
  85. echo @whois $timestamp 14|---› 14Connection:1 $3-
  86. }
  87. raw 276:*:{
  88. haltdef
  89. window @whois
  90. echo @whois $timestamp 14|---› 14Client :1 $3 $4 $5 $6 $7
  91. }
  92. raw 327:* {
  93. window @whois
  94. echo @whois $timestamp 14|---› 14Client Info:1 Java User
  95. halt
  96. }
  97. raw 301:*: {
  98. haltdef
  99. window @whois
  100. echo @whois $timestamp 14|---› 14Away:1 ( $+ $3- $+ )
  101. }
  102. raw 310:*: {
  103. haltdef
  104. window @whois
  105. echo @whois $timestamp 14|---› 14Ircop:1 $3 $4 $5 $6
  106. }
  107. raw 335:*: {
  108. echo @whois $timestamp 14|---› 14Bot:1 Yes (+B).
  109. halt
  110. }
  111. alias kanalclone {
  112. if ($ial($address($1,2),0) == 1) return
  113. var %nickler = 0 | var %clone = $1
  114. while (%nickler < $ial($address($1,2),0)) { inc %nickler | var %clone = $addtok(%clone,$ial($address($1,2),%nickler).nick, 44) }
  115. return %clone
  116. }
  117.  
  118. alias ortak_k {
  119. if ($server == $null) { echo @whois $timestamp 14|---› 14No such server. }
  120. elseif ($chan($me) == 0) { echo @whois $timestamp 14|---› 14No such channel. }
  121. elseif (!$1) { echo @whois $timestamp 14|---› 14No such nick. }
  122. elseif ($comchan($1,0) == 0) { echo @whois $timestamp 14|---› 14No such nick/channel. }
  123. else {
  124. var %oid 1
  125. set %orka $comchan($1,0)
  126. unset %knms
  127. while (%oid <= %orka) {
  128. set %knms $comchan($1,%oid) $+ $chr(32) $+ %knms
  129. inc %oid
  130. }
  131. return %knms
  132. }
  133. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement