If someone comes onto your server and attempts to /oper up and fails with the password (4 minutes allowed time), this script warns them the first time, kills the second, and glines the third time.
on *:SNOTICE:*Failed OPER attempt by*: {
.notice $me Failed Oper Attempt
.notice $me $2-
inc -u240 %op.att.fail.[$+[$8-]] 1
if ( %op.att.fail.[$+[$8-]] <= 1 ) {
.msg $8 Oper Attempt Failure. Repeated Failures are Unwise
}
elseif ( %op.att.fail.[$+[$8-]] == 2 ) {
.kill $8 $8 $+ $9 Failed in attempt to Oper
}
elseif ( %op.att.fail.[$+[$8-]] >= 3 ) {
.gline $8- 30d Failed Oper attempt
}
}
on *:SNOTICE:*Failed OPER attempt by*: {
.notice $me Failed Oper Attempt
.notice $me $2-
inc -u240 %op.att.fail. $+ $5
if (%op.att.fail. [ $+ [ $5 ] ] <= 1 ) { .msg $5 Oper Attempt Failure. Repeated Failures are Unwise }
elseif ($v1 == 2 ) { .kill $5 $5 $+ $6 Failed in attempt to Oper }
elseif ($v1 >= 3 ) { .gline $5- 30d Failed Oper attempt }
}
i was wondering if you could make a script similar to this but.something that includes a trigger that only you cold use to activate the script for example
on :TEXT:!fail-attempt-on*:#: {
and then the script would be activated i would try to make it myself but i am not very good at scripting and i am still learning.
i would appreciate it if you could make a script like this
oh and nice job with the script ;]