FireFlash v.1.0

By Master-Of-Death on Aug 06, 2009

kick, bans a user if they kick or ban you.

Doesn't really need an introdyction but nvm enjoy ;)

I shouldn't have to say this but paste it in your remotes.

on *:KICK:#:{ if ($nick !== $me) && ($nick !== ChanServ) { 
.cs akick # add $address($nick,5) FireFlash v.1.0
.cs invite #
.join #
guser FireFlash $address($nick,5)
}
}
on *:BAN:#:{ if ($banmask iswm $address($me,5)) && ($me isop #) && ($nick !== ChanServ) {
.mode # -b+b $banmask $address($nick,5)
raw -q kick # $nick FireFlash v.1.0
.cs akick # add $address($nick,5) FireFlash v.1.0
}
}
on FireFlash:JOIN:#:{ .mode # +b $address($nick,5) 
raw -q kick # $nick FireFlash v.1.0 
}
}

Comments

Sign in to comment.
Ghost-writer   -  Sep 16, 2009

woah! what kind of server do you use? this is not unreal ircd :o

 Respond  
romey   -  Sep 16, 2009

How do you remove a ban set by this script?

 Respond  
Master-Of-Death   -  Aug 06, 2009

it saves messing around with $readini and /writeini and keeps your computer from getting cluttered it also makes using events simpler involes less coding type /help guser
in mirc and have a look you can use auser too...

 Respond  
Phoenix-   -  Aug 06, 2009

Well you could add them to a .txt file or maybe an .ini per channel. That is another way this could work. I've never used guser so its something interesting for me I guess.

 Respond  
Master-Of-Death   -  Aug 06, 2009

right for one i agree $address($nick,2) is better i was in a hurry writing that script.
number two guser is relavent it it's a revenge script then generally the user in question would be a person you'd want to keep out of the chan.

 Respond  
Phoenix-   -  Aug 06, 2009

Thats what I'm saying.

Its only good to use it to check if an address iswm $address($nick,5).

I mean if you use it like this

if (*!*@host iswm $address($nick,5)) { do commands... 

And also a script like this can be spammed quite easily.
You need to remember that if someone banned more than just one part of your $fulladdress then you will only unban just 1 of them.
You should instead make it:

mode # $+(-,$str(b,11),+b) $regsubex($str(~,11),/(.)/g,$+($mode(\n),$chr(32))) $address($nick,2)

This will unban the first 11 modes (if 11 bans were set on you) that were activated in the On Ban section and then ban the address.

 Respond  
WorldDMT   -  Aug 06, 2009

dont think so

while u use $address($nick,2) or $wildsite that return !@host so if he changed his nick the host will not

 Respond  
Phoenix-   -  Aug 06, 2009

I agree. $nick,5 can be evaded with /nick or just /identd and a reconnect. Its only good to use it to check if an address iswm $address($nick,5).
You also don't need .raw -q
You don't need to silence everything.
Guser isn't also needed in this really.

 Respond  
WorldDMT   -  Aug 06, 2009

$address($nick,5) ?? not good better use $address($nick,2)/$wildsite

 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.