Auto gline script
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting
 
Arkadietz  -  Mon Dec 05, 2011 4:32 pm Reply with quote
Hello, i want a simple gline script for auto request

So if someone request some gline from sort
*** Notice -- Plamen!Plamen@irc.1irc.net on irc.1irc.net is requesting gline for [*@196.200.24.130] [Proxy Flood. (req. by Plamen)

i want to respond on this gline automaticly and example is

/quote gline *@196.200.24.130 [Proxy Flood. (req. by Plamen)

P.S I want to describe exactly which host i want, if plamen is with other nick for example dwadawd but his host is Plamen@irc.1irc.net the script check on his host not on his nick!

I'm trying something from sort
on *:SNOTICE:*requesting*gline*: { if (Plamen@irc.1irc.net isin $fulladdress) { /gline $1 $8 $9 } }
but without success!
Jethro  -  Mon Dec 05, 2011 4:48 pm Reply with quote
I'd do this with regex if I were you:

Code

 
Arkadietz  -  Mon Dec 05, 2011 5:02 pm Reply with quote

Jethro wrote

I'd do this with regex if I were you:

Code

 


okay, but where is the place where i can describe the correct host ? the host on the man that i trust?

if my mirc see someone do for example: *** Notice -- fafwswd!Plamen@irc.1irc.net on irc.1irc.net is requesting gline for [*@196.200.24.130] [Proxy Flood. (req. by Plamen]

make automaticly: /quote gline *@196.200.24.130 [Proxy Flood. (req. by Plamen)]

i want to make it the same but automaticly
Jethro  -  Mon Dec 05, 2011 5:06 pm Reply with quote
That's precisely what my example does to catch the server notice and ban its IP with the reason provided via :

Quote

*** Notice -- fafwswd!Plamen@irc.1irc.net on irc.1irc.net is requesting gline for [*@196.200.24.130] [Proxy Flood. (req. by Plamen]
the code will then does the glining as follows:

Code

 
if the "quote" is a command on your network when glining a person, just change it to:

Code

 
Otherwise you don't have to do a thing. The code example I've shown you above will do everything for you automatically.
Arkadietz  -  Mon Dec 05, 2011 5:22 pm Reply with quote

Jethro wrote

That's precisely what my example does to catch the server notice and ban its IP with the reason provided via :

Quote

*** Notice -- fafwswd!Plamen@irc.1irc.net on irc.1irc.net is requesting gline for [*@196.200.24.130] [Proxy Flood. (req. by Plamen]
the code will then does the glining as follows:

Code

 
if the "quote" is a command on your network when glining a person, just change it to:

Code

 
Otherwise you don't have to do a thing. The code example I've shown you above will do everything for you automatically.


well, but ask you how to perform specific command host ie a person with a specific host, not everyone who request gline. I want to req glines only for person that i want not everyone!

With this code:
on $*:snotice:/(?i)requesting (gline) for \[(.+)\](.+)/S: $regml(1) $regml(2) $regml(3)

if i'm right i req gline for everyone my idea is to req only to hosts that i want
Jethro  -  Mon Dec 05, 2011 6:41 pm Reply with quote
I misread your explanation earlier. If the notice is sent from the server, shouldn't it be a bot nickname? The local notice is sent from nickserv, memoserv, etc..
Arkadietz  -  Mon Dec 05, 2011 7:09 pm Reply with quote
Okay again!
This is the hole procedure:

[gline][22:01:02] *** Notice -- NightWish!~exile@Where.The.Wild.Roses.Grow on eu.bgit.net is requesting gline for [*@196.200.24.130] [supp]
[gline][22:20:08] *** Notice -- Kiril!kiril@kiril.FreeBSD.org on irc.PLCNeT.org is requesting gline for [*@196.200.24.130] [supp]
[gline][22:20:47] *** Notice -- NightWish!~exile@Where.The.Wild.Roses.Grow on eu.bgit.net is requesting gline for [*@196.200.24.130] [supp]
[gline][22:21:15] *** Notice -- Plamen!Plamen@irc.1irc.net on irc.1irc.net is requesting gline for [*@196.200.24.130] [Proxy Flood. (req. by Plamen]
[gline][22:21:16] *** Notice -- Plamen!Plamen@irc.1irc.net on irc.1irc.net has triggered gline for [*@196.200.24.130] [supp]

I want to request gline automatically at specific people, ie people with specific hosts. assume that Plamen request gline can not use his nickname. may be another like Nick / quote gline ip / host reason to automatically for him. The idea is not even my computer so I can gline automatically rebutted these people that I want.

If my client / mIRC sees that the user can get a host of examples Where.The.Wild.Roses.Grow gline I put it to automatically request using the command / quote gline gline that is placed as (* @ 10.10.10.1) he and the reason he was chosen as: (fark off spam).

This command does not want to write by hand, but to run automatically -->
[gline] [22:20:08] *** Notice - Kiril! kiril@kiril.FreeBSD.org on irc.PLCNeT.org is requesting gline for [* @ 196.200.24.130] [supp]
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
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.