mIRC Home    About    Download    Register    News    Help

Print Thread
timed ban #110798 10/02/05 07:45 PM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
Hey. I was just wondering, how do i set a time limit on a ban. I know that if you go into the channel modes dialog, you can set the time limit on a ban, so there must be a way to do it as a popup. For example, what would be the code to ban someone for 15 minutes. Also, does it go my seconds or minutes. Let me know please! Thanks in advance.


"God sometimes puts us in the dark for us to see the light"
Re: timed ban #110799 10/02/05 07:52 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
You could use a /timer, but /ban has this functionality built in:

Code:
ban -u<time in seconds> channel type address


Eg:

Code:
//ban -u900 #channel 2 somenickname


If you want to kickban someone:

Code:
ban -ku<time in seconds> channel type nick reason


Eg:

Code:
//ban -ku900 #channel 2 somenickname You just got kickbanned for 15 minutes :o)


New username: hixxy
Re: timed ban *DELETED* #110800 10/02/05 08:01 PM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
Post deleted by alhammer


"God sometimes puts us in the dark for us to see the light"
Re: timed ban #110801 10/02/05 08:08 PM
Joined: Feb 2005
Posts: 681
M
mIRCManiac Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
on *:TEXT:wd:#: {
if (%did.wd) return
set -u30 %did.wd $true
msg # wd
}

Last edited by mIRCManiac; 10/02/05 08:13 PM.
Re: timed ban #110802 10/02/05 08:18 PM
Joined: Feb 2005
Posts: 194
A
alhammer Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Feb 2005
Posts: 194
Gracias (is that spelled right? I dont speak spanish. lol)


"God sometimes puts us in the dark for us to see the light"
Re: timed ban #110803 27/02/05 12:25 AM
Joined: Feb 2005
Posts: 1
S
Swami_Joe Offline
Mostly harmless
Offline
Mostly harmless
S
Joined: Feb 2005
Posts: 1
I was wondering, I want to do 2 types of kickbans..one for 4hours and one for 72 hours. Is 'u' the only variable for time durations..for seconds? is there any other variable for mins or hours?

72 hours is u259200 <--will that be recognized?

Also, I am wondering how mayb "types" of bans are there? 1,2,3,4 etc.. and what each type stand for? what is it if I ban type 3 or 4 or etc? Is there a webpage link with this information?

Thanks smile

Re: timed ban #110804 27/02/05 01:29 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Seconds is the only type /ban recognises and yes your -u one will work.

You can find the address types by playing with $mask() (/help $mask)


New username: hixxy