Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Scripting.

Name: Anonymous 2008-11-26 0:03

Right, So, got a unique situation, Got some faggot on IRC that i need to block in certain channels only. Using mIRC 6.21 and I just can't get it.

on ^*:text:*:#:{
  if ($address($nick,2) iswm Hiro!@[nethere]-a2c76621.res.rr.com) { haltdef }
  if ($address($nick,2) iswm Hiro!@Tempest.Swordsman) { haltdef }
  if ($address($nick,2) iswm Hiro!@[nethere]-f1099540.res.rr.com) { haltdef }
  if ($chan !isin %hirowhitelist) { haltdef }
}
on ^*:action:*:#:{
  if ($address($nick,2) iswm Hiro!@[nethere]-a2c76621.res.rr.com) { haltdef }
  if ($address($nick,2) iswm Hiro!@Tempest.Swordsman) { haltdef }
  if ($address($nick,2) iswm Hiro!@[nethere]-f1099540.res.rr.com) { haltdef }
  if ($chan !isin %hirowhitelist) { haltdef }
}


Heres the base, the issue is, it ignores in ALL channels, not just the ones on his variable.

Name: Anonymous 2008-11-26 13:50

The pleasure of being blocked inside

Name: Anonymous 2008-12-10 17:38

no 1 carez

Name: Anonymous 2008-12-11 19:49

Name:Rahul Brahmbhatt
Cell Phone: 678.717.8790
MySpace: http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=381320113
AIM: extraordinary747

Do something about it, annoy this asshole!

Name: Anonymous 2008-12-14 8:40

Try this:
on ^*:text:*:#:{
  if ($chan !isin %hirowhitelist) {
    if ($address($nick,7) iswm Hiro!*@*.res.rr.com) || ($address($nick,7) iswm Hiro!*@Tempest.Swordsman) {
      haltdef
    }
  }
}

First, it checks to see if # is in the whtielist variable, then it checks the pattern Hiro!*@*.res.rr.com to $address(n,7) (nicname!*@address.here) if both of these return then it'll haltdef.

Name: Anonymous 2008-12-14 8:41

try this
on ^*:text:*:#:{
  if ($chan !isin %hirowhitelist) {
    if ($address($nick,7) iswm Hiro!*@*.res.rr.com) || ($address($nick,7) iswm Hiro!*@Tempest.Swordsman) {
      haltdef
    }
  }
}

checks whitelist and address
uses address,7
uses wildcard in the ip-range

Name: Anonymous 2008-12-14 8:42

shit, sorry-- lagging a lot from bittorrent, ignore the double post (the same for the on text can be applied to the action)

Name: jjj 2009-03-10 16:49

ok so who ever put that number and stuff on here better fess up or ima bring the police into this. got me? who the fuck did it?!?!??!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List