Top

Channel check on join with on/off


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Aug 15, 2007
Last Updated  Aug 15, 2007
Tags  checker 
  Bookmark and Share

Introduction

This is a channel check with on and off feature.
Commands -
!whois on - Turns Auto Whois on join on (Must be hop or higher.)
!whois off - Turns Auto Whois on join off (Must be hop or higher.)


Grab the Code

Comments

  (11)  RSS
Anti
Comments: 305
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 7:58 pm
I like the idea, but this would really flood your window, why not make a new window for it called @Whois then it would be awesome. :)
Firedog150
Comments: 11
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 8:15 pm
What do you mean?
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 8:17 pm
This is useful for small channels because it won\'t flood your windows so much. For large channels there will be a lot of users joining. Everytime one of those users join it will whois them in YOUR window, thus flooding it. This is a really useful snippet for users you really can\'t identify by the nick. Great job.
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 8:19 pm
Ah, nevermind. You can just shut it off for those large channels. ;x
Anti
Comments: 305
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 8:39 pm
Code:
ON *:JOIN:#: window +b @Whois 1000 700 
  if (%whoison [ $+ [ $chan ] ] != $null) {
    set %thisuser $nick
    set %chan2whois $chan
   @whois echo whois $nick
  }
}

Something like that :)
Anti
Comments: 305
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 8:45 pm
This isnt a whois whois it just tells you what chans there on. well done
Ghost-lit Warder
Comments: 136
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 8:46 pm
Ah. Didn\'t read the snippet clearly. x_o
Anti
Comments: 305
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 8:54 pm
Edited it a bit make it more stylish
Code:
ON *:JOIN:#: {
  if (%whoison [ $+ [ $chan ] ] != $null) {
    set %thisuser $nick
    set %chan2whois $chan
    whois $nick
  }
}
raw 319:*:{ 
  msg %chan2whois 11[15Channel Checker11] 11[15 $+ %thisuser Is On11] 11[15  $3- 11]
  unset %chan2whois
}

on *:text:.wON:#:{
  if ($nick isop $chan) || ($nick ishop $chan) {
    if (%whoison [ $+ [ $chan ] ] == $null) {
      set %whoison [ $+ [ $chan ] ] sup
      set %whoischecker [ $+ [ $chan ] ] on
      msg $chan 11[15Chan Checker Is Now On.11]
    }
    else notice $nick 11[15It\'s Already On11]
  }
  else notice $nick 11[15You Need To Be Op or Hop To Use Chan Checker.11]
}


on *:text:.wOFF:#:{
  if ($nick isop $chan) || ($nick ishop $chan) {
    if (%whoison [ $+ [ $chan ] ] != $null) {
      unset %whoison [ $+ [ $chan ] ]
      set %whoischecker [ $+ [ $chan ] ] off
      msg $chan 11[15Chan Checker Is Now Off.11]
    }
    else notice $nick 11[15It\'s Already Off11]
  }
  else notice $nick 11[15You Need To Be Op or Hop To Use Chan Checker.11]
}
Firedog150
Comments: 11
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 9:42 pm
I put the correct title on Thank you Anti
Anti
Comments: 305
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 9:44 pm
Hehehehe no problem :) All in a day\'s work :D rofl..
Monky
Comments: 52
 
mIRC Snippet:  Channel check on join with on/off
Posted on Aug 15, 2007 11:16 pm
Nicely done it think

Please Register or Login to start posting comments.
Bottom