mIRC Home    About    Download    Register    News    Help

Print Thread
#38157 24/07/03 05:51 PM
Joined: Mar 2003
Posts: 10
_
Pikka bird
OP Offline
Pikka bird
_
Joined: Mar 2003
Posts: 10
ok, I have an away flood protection, but it's only set to ban someone for flooding for 5 minutes. how do I set it to ban longer? like..24 hours or something. cause in mine and my friends room people come in there and try to flood all the time.

#away on
raw 821:*: { if (%flood. [ $+ [ $unaway ] ] == $null) {
set -u5 %flood. [ $+ [ $unaway ] ] 1
return }
else { inc %flood. [ $+ [ $unaway ] ] }
if (%flood. [ $+ [ $unaway ] ] > 2 && %flood.check == $null) {
set -u5 %flood.check 1
access $comchan($nick,1) add deny $address($nick,1) 5 unawayflood
kick $comchan($nick,1) $nick unaway flood detected :-s [ban set 5 min] }
}
raw 822:*: { if (%flood. [ $+ [ $away ] ] == $null) {
set -u5 %flood. [ $+ [ $away ] ] 1
return }
else { inc %flood. [ $+ [ $away ] ] }
if (%flood. [ $+ [ $away ] ] > 3 && %flood.check == $null) {
set -u5 %flood.check 1
access $comchan($nick,1) add deny $address($nick,6) 5 awayflood
kick $comchan($nick,1) $nick away flood detected :-s [ban set 5 min] }
}
#away end

#38158 24/07/03 05:53 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Umm raw 821 and 822 have nothing to do with /away, and also there is no /access command in IRC.

#38159 24/07/03 05:55 PM
Joined: Mar 2003
Posts: 10
_
Pikka bird
OP Offline
Pikka bird
_
Joined: Mar 2003
Posts: 10
well i got this code from a friend and it works on my chat room..can you tell me a script for that then? that will ban for 24 hours?

#38160 24/07/03 05:56 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well based on some Google searching I just did, it looks like you're using MSN. MSN does NOT allow mIRC, and it is the policy on this board not to help people to break MSN's rules.

#38161 24/07/03 06:01 PM
Joined: Mar 2003
Posts: 10
_
Pikka bird
OP Offline
Pikka bird
_
Joined: Mar 2003
Posts: 10
no, im not using msn, i havent actually tried it..but what i meant was the friend that i got it from gave me that code..he uses msn though i think..but i dont..he told me that it worked cause he tried it out..so all i was wanting to know was is there a way to get an away flood protection to ban 24 hours?

#38162 24/07/03 06:03 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well not really. IRC has no "/access" command like MSN does. If you set a ban, and you want it to be removed after 24 hours, you have to be in the channel when the 24 hours ends so that _you_ can remove the ban. But anyway, as I said, thats the least of your problems. None of that script will work on a non-MSN server simply because there is no such thing as numerics 821 and 822. IRC does NOT notify you of when someone [un]sets away.

#38163 24/07/03 06:27 PM
Joined: Mar 2003
Posts: 10
_
Pikka bird
OP Offline
Pikka bird
_
Joined: Mar 2003
Posts: 10
ok well i dont know much about scripting ...so i didnt mean to post anything that wasnt aloud..i thought it was. sorry. frown

#38164 24/07/03 06:44 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
don't let codemastr get you down. it's not that what you're asking for isn't "allowed", it's that it isn't possible/feasible (unless you are in your channel 24/7 and you are continually checking who is away).

edit: basically, it is possible to do something like this, but imo, it would be far more trouble than it would be worth.

Last edited by feud; 24/07/03 07:31 PM.

------
deep down, i'm really superficial.
#38165 24/07/03 06:53 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
I wasn't putting anyone down. I pointed out that those commands are MSN commands, and that mIRC is not allowed on MSN. Once he said that he isn't using MSN, then I simply told him that what he is doing isn't possible. And it's more than just because you have to be connected 24/7, it's because, as I said, you are not notified when someone sets away or unaway.

#38166 24/07/03 07:19 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
on msn you are notified however.

#38167 24/07/03 08:52 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Yes I know, but then that does go back to the "not allowed" thing since mIRC is not allowed on MSN, and from what I've seen here, it is the policy not to help people who are using mIRC on MSN.

#38168 25/07/03 04:54 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Where did you get the script from and what network do you use? The answers to these will be able to confirm whether the script will be useful or not.

#38169 25/07/03 12:47 PM
Joined: Dec 2002
Posts: 124
B
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
we know it's not allowed, nor was i helping. The Moderators should just delete such posts heh.

#38170 25/07/03 02:08 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
where he got it: "well i got this code from a friend"
what network: "no, im not using msn, ..."

as codemastr pointed out, raws 821 and 822 do not have to do with /away and thus are not useful if he's not using msn.


------
deep down, i'm really superficial.
#38171 25/07/03 02:34 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
what network: "no, im not using msn, ..."

That says what he wasn't using, not what he was using. You all assume too much. Also codemastr did not say that 821 and 822 do not relate to /away (the fact of which I am already well aware), he said there is "no such thing as 821 and 822". This could be right or wrong depending on the server. Just a reminder on one thing: contrary to popular belief, MSN is not the only place you will find IRCX style commands. With extra functionality will come extra numerics.

#38172 25/07/03 02:41 PM
Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
codemastr did not say that 821 and 822 do not relate to /away

read the second post in this thread.

additionally, if there is a network that uses 821 or 822 for away functionality, then thats news to me.


------
deep down, i'm really superficial.
#38173 26/07/03 05:50 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
apparently you didnt do enough google searching considering ircX allows /access and /prop just like msn.
it also allows you to see who is/isnt away.

Last edited by pheonix; 26/07/03 05:52 PM.

new username: tidy_trax
#38174 26/07/03 05:51 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
#away on
raw 821:*: { if (%flood. [ $+ [ $unaway ] ] == $null) {
set -u5 %flood. [ $+ [ $unaway ] ] 1
return }
else { inc %flood. [ $+ [ $unaway ] ] }
if (%flood. [ $+ [ $unaway ] ] > 2 && %flood.check == $null) {
set -u5 %flood.check 1
access $comchan($nick,1) add deny $address($nick,1) 1520 unawayflood
kick $comchan($nick,1) $nick unaway flood detected :-s [ban set 5 min] }
}
raw 822:*: { if (%flood. [ $+ [ $away ] ] == $null) {
set -u5 %flood. [ $+ [ $away ] ] 1
return }
else { inc %flood. [ $+ [ $away ] ] }
if (%flood. [ $+ [ $away ] ] > 3 && %flood.check == $null) {
set -u5 %flood.check 1
access $comchan($nick,1) add deny $address($nick,6) 1520 awayflood
kick $comchan($nick,1) $nick away flood detected :-s [ban set 5 min] }
}
#away end


new username: tidy_trax

Link Copied to Clipboard