mIRC Home    About    Download    Register    News    Help

Print Thread
#27546 01/06/03 10:25 PM
Joined: Jan 2003
Posts: 14
T
tendre Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Jan 2003
Posts: 14
hi..

I have a script written.. and all of it works.. except the timed ban.. it bans.. but doesnt do the time..
could someone peek please and see what i did wrong ?

ban $chan $nick -u15 # $$1 3

#27547 01/06/03 10:29 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
ban -u15 # $$1 3

#27548 01/06/03 10:54 PM
Joined: Jan 2003
Posts: 14
T
tendre Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Jan 2003
Posts: 14
i have tried that.. but taking out the $chan $nick .. makes the ban not work

#27549 01/06/03 10:57 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
well, the ban format in your code is wrong
also, $nick is working only in some events and NOT popups (if u call it from popups)

#27550 02/06/03 12:42 AM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
ban -uN $chan $nick mask reason


example:

/ban -u60 #thpam Lambo 3 you smell


/help /ban


--------
mIRC - fun for all the family (except grandma and grandpa)
#27551 02/06/03 12:46 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Well why not try the following...

For ChanServ (If channel is registered): /ChanServ Ban #channelhere nicknamehere

You can also add this to your remotes (Alt+R):

Code:
  
on *:BAN:[color:red]#Channel[/color]: {
  timer 1 300 msg ChanServ unban $chan $bnick
}


For channels without ChanServ: /mode # +b <nickname or user address>

Add the following to remotes:

Code:
  
on *:Ban:[color:red]#Channel[/color]: {
  timer 1 300 mode $chan -b &lt;nickname or user address&gt;
}


*NOTE: Red text indicates where you put your channel name

These bans will unban after five minutes. Just pick the set that best fits your needs you can alter the time to what ever you want before it unbans that person. They are cheesy yet simple but it should work. Just remember that no ban is permanent there are always going to be users who evade bans.


#27552 02/06/03 01:57 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Since when can you specify a /kick reason in a /ban, neophyte?

Last edited by Raccoon; 02/06/03 02:14 AM.

Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#27553 02/06/03 02:06 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
He didn't, Neophyte did. :tongue:

#27554 02/06/03 03:29 AM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
bleh... you can't....


sorry bout that. was getting confused with some of my aliases.


--------
mIRC - fun for all the family (except grandma and grandpa)
#27555 02/06/03 05:03 AM
Joined: Jan 2003
Posts: 14
T
tendre Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Jan 2003
Posts: 14
thank you guys !!!!!


Link Copied to Clipboard