Tchatting.com Forums
mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks!

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2006, 11:18 AM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,116
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
WHOIS Snippet

On Join, This Snippet Will make Whois In A Private Window Called @Whois. I Also Added A Anti-Join Flood So The Script Will Not Be Triggered If 4 Or More Users Joins Within 5 Secs.



Code:
On *!:JOIN:#Channel: { 
 inc -u5 %joins 
 if (!%joins < 4) { 
    .enable cwhois 
    window @WHOIS 
    whois $nick $nick 
 } 
} 

#cwhois off 
;---Custom Output----- 
raw 301:*: { echo @WHOIS $2 is away: $3- | halt } 
raw 311:*: { echo @WHOISinfo $str(-,5) /whois $2 $str(-,5) | echo @WHOIS  | echo @WHOIS $2 is $+($3,@,$4-) | halt } 
raw 313:*: { echo @WHOIS $2 is an IRCop: $5- | halt } 
raw 312:*: { echo @WHOIS $2 using $3- | halt } 
raw 330:*: { echo @WHOIS $2 $4- $3 | halt } 
raw 317:*: { echo @WHOIS $2 has been idle $duration($3) $+ , signed on $asctime($4)  | halt } 
raw 319:*: { echo @WHOIS $2 is on $numtok($3-,32) Channel(s): $3- | halt } 
raw 318:*: { echo @WHOIS  | echo @WHOIS $str(-,5) End of /whois on $2 $str(-,5) | .disable #cwhois | halt } 
;--------------------------------- 
#cwhois end
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whois the best Soccer Player? Father The Lounge 62 17-04-2005 11:04 PM
Blacklist snippet (Join event, Op event , Nick-change event) anmlhckr mIRC :: SCRIPTING & HELP 5 11-03-2005 01:37 PM
Simple !seen Snippet Cult mIRC :: SCRIPTING & HELP 3 10-03-2005 12:05 PM

All times are GMT. The time now is 11:21 PM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
All data and information are copyright of DOTLeb Network