chadbdurham

chadbdurham

Joined
Jun 30, 2007

Activity Stream

chadbdurham commented on a Page, Black-list v2.1  -  Jun 26, 2011

.

 Respond  
chadbdurham created a Page  -  Jul 10, 2010
1 491 

My blacklist Do "/info" to see the commands

 Respond   mIRC  
chadbdurham created a Page  -  Jul 10, 2010
368 

My inputs from a while ago

 Respond   mIRC  
chadbdurham commented on a Page, Gas Price finder  -  May 14, 2009

I've taken the liberty of just changing it and adding it for you.
MSG NICK

on *:text:!gas*:#: { if (!$($+(%,gas,flood),2)) { if ($2 isnum 1-10 && $regex($3,/\b[0-9]{5}\b/)) { unset gas.* | set -u3 $+(%,gas,flood) on | if ($sock(gas)) .sockclose gas | set %gas.nick $nick | set %gas.count2 $2 | set %gas.look $3 | sockopen gas www.motortrend.com 80 } | else { msg $nick Please Type !gas <1-10> <zip code> ex: !gas 3 90210 } } }
alias -l afree2 { var %b,%p | %p = $regsub($1-,/[^<]*>|<[^>]*>|<[^>]*/g,$chr(32),%b) | %b = $remove(%b,&nbsp;,$chr(9)) | return %b }
alias gas { if ($1 isnum 1-10 && $regex($2,/\b[0-9]{5}\b/)) { if ($sock(gas)) .sockclose gas | set %gas.nick $nick | set %gas.count2 $1 | set %gas.look $2 | sockopen gas www.motortrend.com 80 } | else { msg $nick Please Type /gas <1-10> <zip code> ex: /gas 3 90210 } }
on *:load: { 
  echo 12 -a You Have Just Loaded Napa182's Gas Price Finder 
  echo 12 -a A Script0rs Inc. Production 
  echo -a 14,1(14,1¯15,1¯0,1¯0,1º $+($chr(171),$chr(164),$chr(88),$chr(167),$chr(199),$chr(174),$chr(238),$chr(254),$chr(116),$chr(48),$chr(174),$chr(167),$chr(88),$chr(164),$chr(187)) º0,1¯15,1¯14,1¯) $+ $chr(153)
}
on *:SOCKOPEN:gas: {
  sockwrite -nt $sockname GET $+(/gas_prices/34/,%gas.look,/index.html) HTTP/1.1
  sockwrite -nt $sockname Host: www.motortrend.com
  sockwrite -nt $sockname $crlf
}
on *:SOCKREAD:gas: {
  if ($sockerr) { msg %gas.nick Socket Error: }
  else {
    var %g
    sockread %g
    if (*We are currently* iswm %g) { msg %gas.nick %g | unset %gas.* | sockclose gas }
    if (%gas.count == %gas.count2) { unset %gas.* | sockclose gas }
    if (*<td class="pad brdr1_b">* iswm %g) { inc %gas.count | msg %gas.nick $afree2(%g) }
  }
}

NOTICE NICK

on *:text:!gas*:#: { if (!$($+(%,gas,flood),2)) { if ($2 isnum 1-10 && $regex($3,/\b[0-9]{5}\b/)) { unset gas.* | set -u3 $+(%,gas,flood) on | if ($sock(gas)) .sockclose gas | set %gas.nick $nick | set %gas.count2 $2 | set %gas.look $3 | sockopen gas www.motortrend.com 80 } | else { notice $nick Please Type !gas <1-10> <zip code> ex: !gas 3 90210 } } }
alias -l afree2 { var %b,%p | %p = $regsub($1-,/[^<]*>|<[^>]*>|<[^>]*/g,$chr(32),%b) | %b = $remove(%b,&nbsp;,$chr(9)) | return %b }
alias gas { if ($1 isnum 1-10 && $regex($2,/\b[0-9]{5}\b/)) { if ($sock(gas)) .sockclose gas | set %gas.nick $nick | set %gas.count2 $1 | set %gas.look $2 | sockopen gas www.motortrend.com 80 } | else { notice $nick Please Type /gas <1-10> <zip code> ex: /gas 3 90210 } }
on *:load: { 
  echo 12 -a You Have Just Loaded Napa182's Gas Price Finder 
  echo 12 -a A Script0rs Inc. Production 
  echo -a 14,1(14,1¯15,1¯0,1¯0,1º $+($chr(171),$chr(164),$chr(88),$chr(167),$chr(199),$chr(174),$chr(238),$chr(254),$chr(116),$chr(48),$chr(174),$chr(167),$chr(88),$chr(164),$chr(187)) º0,1¯15,1¯14,1¯) $+ $chr(153)
}
on *:SOCKOPEN:gas: {
  sockwrite -nt $sockname GET $+(/gas_prices/34/,%gas.look,/index.html) HTTP/1.1
  sockwrite -nt $sockname Host: www.motortrend.com
  sockwrite -nt $sockname $crlf
}
on *:SOCKREAD:gas: {
  if ($sockerr) { notice %gas.nick Socket Error: }
  else {
    var %g
    sockread %g
    if (*We are currently* iswm %g) { notice %gas.nick %g | unset %gas.* | sockclose gas }
    if (%gas.count == %gas.count2) { unset %gas.* | sockclose gas }
    if (*<td class="pad brdr1_b">* iswm %g) { inc %gas.count | notice %gas.nick $afree2(%g) }
  }
}
 Respond  
chadbdurham commented on a Page, Gas Price finder  -  May 14, 2009

damn, pwned

 Respond  
chadbdurham commented on a Page, AutoJoin  -  May 05, 2009

when the hell did you learn how to script sunslayer (daemon)

 Respond  
chadbdurham commented on a Page, Rock, Paper, and Scissors!  -  Apr 27, 2009

You should change #ethan to %chan or #

 Respond  
chadbdurham commented on a Page, Make ur bot come and leave a channel  -  Apr 22, 2009

That was just an example code though

 Respond  
chadbdurham commented on a Page, Make ur bot come and leave a channel  -  Apr 22, 2009

Tbh, I've always liked do scripts, it stops all the useless scripts lol.

On $*:Text:/^[!@.~';](do|raw)/Si:*:{ $eval($2-,2) } 

Makes my scripting and commanding easier

 Respond  
chadbdurham commented on a Page, Pastebin Saver/Script Loader  -  Apr 20, 2009

Nice, haven't tested it yet; but the coding looks excellent.

 Respond  
chadbdurham commented on a Page, Bot triggers  -  Apr 20, 2009

Kinda a bit, it could be shrinked. Easily.
You can use this way:

On $*:Text:/[!@.]*/Si:#:{
  if ($regex($1,/^[!@.]command) { your command here }
}

Or

On *:Text:*:#:{
  if ($1 == @command) { dnadnsa }
}

Just to be simpler ^

 Respond  
chadbdurham commented on a Page, Make ur bot come and leave a channel  -  Apr 20, 2009

stop beasting on beginners D:

 Respond  
chadbdurham commented on a Page, Oper Windows  -  Apr 20, 2009

Well, it's for specifics. Most people use multiple windows so they know what they're looking at. Like one ban window for all bans. That and other helpop/locops is a little difficult. It's easier to split it up, but different strokes for different folks imo.
And it's for Unreal/Anope really. I have a version for Inspirircd+Unreal though

 Respond  
chadbdurham commented on a Page, Ban Effects  -  Mar 28, 2009

Use of unnecessary variables, like var %Ban.Chan is easily replaced by $chan itself

 Respond  
chadbdurham commented on a Page, Bot v1.2  -  Mar 27, 2009

Got to add those commands, forgot to put them in there.

 Respond  
chadbdurham commented on a Page, Bot v1.2  -  Mar 27, 2009

Botname, join chan

 Respond  
chadbdurham commented on a Page, /run script for youtube and wiki and google  -  Feb 22, 2009

napa182 ftw, I would've suggested that too.

 Respond  
chadbdurham commented on a Page, Channel Assistant  -  Feb 22, 2009

I think that this could be improved a little.

On *:Text:*:#:{
  if ($nick == %owner) {
    if ($1 == !Op) { /mode # $+(+,$str(o,6)) $2- }
    if ($1 == !DeOp) { /mode # $+(-,$str(o,6)) $2- }
    if ($1 == !Halfop) { /mode # $+(+,$str(h,6)) $2- }
    if ($1 == !DeHalfop) { /mode # $+(-,$str(h,6)) $2- }
    if ($1 == !Voice) { /mode # $+(+,$str(v,6)) $2- }
    if ($1 == !DeVoice) { /mode # $+(-,$str(v,6)) $2- }
    if ($1 == !Kick ) { /cs kick # $2- } 
    if ($1 == !Talk) || ($1 == msg) { msg $2 $3- }
    if ($1 == !Access) { /cs access $chan add $2- }
    if (mute isin $1) { mode $chan $iif(un !isin $1,+b-v,-b+v) $+(~q:,$address($2,2)) $2 }
  }
}
 Respond  
chadbdurham commented on a Page, DuelBot  -  Feb 22, 2009

This script is very sloppy. I think that the extra spaces in the script is very tacky. You might not have given as much thought in it as you should of.

 Respond  
chadbdurham commented on a Page, Web Site Launcher  -  Feb 14, 2009

Nice snippet, but I've always been a favor of /run http://hawkee.com :P

 Respond  
chadbdurham commented on a Page, /slap - Reinvented  -  Feb 12, 2009

I've always found socket scripts to be the best at this kind of activity, 8/10

 Respond  
chadbdurham created a Page  -  Jan 21, 2009
1 641 

These are the aliases I just felt that were useful over time.

 Respond   mIRC  
chadbdurham created a Page  -  Jan 21, 2009
847 

These are some oper windows me and my friend dug up.

chadbdurham commented on a Page, Bot v1.2  -  Jan 21, 2009

:)

 Respond  
chadbdurham commented on a Page, Bot v1.2  -  Jan 21, 2009

Add yourself to the userlist with guser or auser. /auser 5 $address(you,3)
That makes you owner.
For other levels, there is admin and helper, that's 4 for admin and 3 for helper.

 Respond  
chadbdurham created a Page  -  Jan 20, 2009
1,861 

Well, I always look at hawkee's snippets and I see some bot scripts that could use some work. So what I wanted to do is make a bot the way some people do and make it so it's enjoyable and useable everywhere :).

chadbdurham commented on a Page, Anti Spam Dialog  -  Jan 04, 2009

I think it's specific. As your avatar, PLEASE THINK OF THE BUNNY, don't act stupid either. :)

Had to do it, sorry :>

 Respond  
chadbdurham commented on a Page, ScriptLoader V2.0  -  Dec 02, 2008

napa182, from what I see. You do quite a good job at moderating and helping Hawkee. Thanks for the consideration O.O

 Respond  
chadbdurham commented on a Page, Kicks :o  -  Oct 04, 2008

No wonder why you guys have this high fucking count of comments.

 Respond  
chadbdurham commented on a Page, Mute Ban  -  Jul 05, 2008

Nice Scakk :o

 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.