Thread Rating:
  • 4 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SF Coders Official Group [Applications: OPEN!]
#45
That was one of my easiest scripts though lol, that one is simple, it gets more difficult when you are dealing with raw packets

Code:
[script]
n0=on 1:load: {
n1=  echo -a 9,1Advanced Whois Script Loaded
n2=}
n3=
n4=raw 301:*: {
n5=  echo -a 9,1·9,1Away9:0 $3-
n6=  halt
n7=}
n8=raw 307:*: {
n9=  echo -a 9,1·9,1Registred9:0 Yes
n10=  halt
n11=}
n12=raw 310:*: {
n13=  echo -a 9,1·9,1IRC helper9:0 Yes
n14=  halt
n15=}
n16=raw 311:*: {
n17=
n18=  echo -a 9,1-------------[ /whois $2 ]-------------
n19=  echo -a 9,1·9,1Username9:0 $6-
n20=  echo -a 9,1·9,1Vhost9:0 $3 $+ 9@0,1 $+ $4
n21=  halt
n22=}
n23=raw 378:*: {
n24=  echo -a 9,1·9,1Localhost9:0 $6  
n25=  echo -a 9,1·9,1IP9:0 $7
n26=  halt
n27=}
n28=raw 379:*: {
n29=  echo -a 9,1·9,1Usermodes9:0 $6-
n30=  halt
n31=}
n32=raw 671:*: {
n33=  echo -a 9,1·9,1Secure Connection9:0 Yes
n34=  halt
n35=}
n36=raw 312:*: {
n37=  echo -a 9,1·9,1Network9:0 $network
n38=  echo -a 9,1·9,1Server9:0 $3
n39=  echo -a 9,1·9,1Description9:0 $4-
n40=  halt
n41=}
n42=
n43=raw 313:*: {
n44=  echo -a 9,1·9,1Network rank9:0 $5-9
n45=  halt
n46=}
n47=
n48=raw 319:*: {
n49=  echo -a 9,1·9,1Channels9:11 $Replace($3-,~,0~11,&,0&0,@,0@11,%,0%11,+,0+11)
n50=  halt
n51=}
n52=raw 317:*: {
n53=  echo -a 9,1·9,1Signed On9:0 $asctime($4,dddd mm/dd/yyyy HH:nn:ss TT)
n54=  echo -a 9,1·9,1Idle Time9:0 $duration($3)
n55=  echo -a 9,1·9,1Total Online Time9:0 $duration($calc($ctime - $4))
n56=  halt
n57=}
n58=raw 335:*: {
n59=  echo -a 9,1·9,1Bot9:0 Yes
n60=  halt
n61=}
n62=raw 318:*: {
n63=  haltdef
n64=  var %whois.Clones $ial($address($2,2),0)
n65=  if (%whois.Clones > 1) {
n66=    echo -a 9,1·9,1User9:0 $2 have $calc($ial($address($2,2),0) - 1) clones on $server
n67=    var %iee $ial($address($2,2),0)
n68=    while %iee {
n69=      if ($gettok($ial($address($2,2),%iee),1,33) != $2) {
n70=        echo -a 9,1·9,1Clones Detected9:0 $addtok($replace($ial($v1),!,$chr(40)),$chr(32),41)
n71=      }
n72=      dec %iee
n73=    }
n74=  }
n75=}

There you go, here's an example straight from one of my script .ini files. Some chars won't show as the encoding for posts probably won't recognize some of the characters in my script.
Reply


Messages In This Thread
RE: SF Coders Group [Applications: OPEN!] - by AceInfinity - 09-05-2011, 03:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Read] Group Information for Applications Omniscient 74 37,202 01-18-2020, 04:03 AM
Last Post: rickhart
  New Group - Aces Peter L 40 10,538 10-09-2014, 10:25 AM
Last Post: xadamxk
  Emotional Helpers Official Group Recruitment BlackChaos 8 2,676 04-16-2014, 04:38 PM
Last Post: Callum
  Geek Squad Official Announcement Grin 11 3,548 11-05-2012, 03:57 PM
Last Post: Nickelodeon
  Emotional Helpers [Official Group] -Closed! Sam 260 151,167 05-06-2012, 12:12 AM
Last Post: DAMINK™

Forum Jump:


Users browsing this thread: 8 Guest(s)