Whois System By A1Team

By A-1-T-E-A-M on Jan 17, 2007

When you have to add this snippet to script copy/paste my snippet in notpad and add in your script.

raw 301:*: {
  haltdef
echo -a 12-=4 $2 Away: $3-
}
raw 307:*: {
  haltdef  
echo -a 12-=4 $2 Register Nick
}
raw 310:*: {
  haltdef
  echo -a 12-=4$2 Is Irc Helper
}
raw 311:*:{
  haltdef
  echo -s 4*12*4*12*4*12*4*12* 4*12*4*12*4*12*4*12* 
  echo -a 12-= 4whois for: $2
  echo -a 12-= 4Name: $6-
  echo -a 12-=  4Ip Adress: $3 $+ 4 $+ @ $+ 15 $+ $4 ( $+ 4 $+ $wcc($3 $+ @ $+ $4) $+ )
}
raw 312:*:{
  haltdef
  echo -a 12-= 4Server: $3 
}
raw 313:*: {
  haltdef
  echo -a 12-=4$2 E  $5 $6 $7 $8 $9
  if (%ircopzvuk = on) { .splay $mircdir\sounds\ircop.wav }
}
raw 314:*:{
  haltdef
  echo -a -
  echo -a - 4*12*4*12*4*12*4*12* 4*12*4*12*4*12*4*12* 
echo -a 12-= 4whowas for: $2
  echo -a 12-= 4Name: $6-
  echo -a 12-= 4Ip Adress: $3 $+ 4$+ @ $+ 1 $+ $4
}
raw 317:*:{
  haltdef
  echo -a 12-= 4Idle Time:4 $duration($3) 
  echo -a 12-= 4Signed On:4 $asctime($4,dddd dd/mm/yyyy HH:nn:ss) 4- Vreme online: $duration($calc($ctime - $4)) 
}
raw 318:*:{
  haltdef
  echo -a 12-=4 End Of Whois For $2
  echo -a -
echo -a 4*12*4*12*4*12*4*12* 4*12*4*12*4*12*4*12*
}
raw 319:*:{
  haltdef
  echo -a 12-= 4Channels: $3-
}
raw 330:*: {
  haltdef
  echo -a 12-= 4AuthName: $3
}
raw 338:*:{
  haltdef
  echo -a 12-= 4 Real Hostmask:$3
  echo -a 12-= 4 Real IP:$4
}
raw 369:*:{
  haltdef
  echo -a 12-=4 End Of Whois For  $2
}
raw 401:*:{
  haltdef
  echo -a 12-= nick " $+ $2 $+ " 4 not online!
}
raw 406:*:{
  haltdef
  echo -a 12-=4 nick " $+ $2 $+ " has 4 NOT been online recently.
}
raw 402:*:{
  echo -a $cxs(3) $+  $+ %xsbrack $+ $cxs(1) $2  $+ $cxs(2) $+ nema takov nick-a | halt
}

Comments

Sign in to comment.
Qc   -  Jan 17, 2007

Where is the benefit of using one event and conditions? If you use one event for *, mIRC has to execute the code for every raw, regardless if it\'s for a /whois or /list or whatever, which can throw away quite some performance. With more events, mIRC does these conditions in its own code instead of script, which is much faster.

More
 Respond  
A-1-T-E-A-M   -  Jan 17, 2007

Ok tnx for comment and for commplimenst you can visit me on irc on #A1 , #A1Team ( Undernet ) with nickname A1Team.

More
 Respond  
Roy911   -  Jan 17, 2007

Not bad, but next time, try keeping all the raws in one ON RAW event.

Eg:

raw :: { if ($numeric == 301) { echo -a 12-=4 $2 Away: $3- } etc. halt }

More
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.