|
my own ban list.
#34161
05/07/03 01:20 AM
|
Joined: Dec 2002
Posts: 14
JuZt3r
OP
Pikka bird
|
OP
Pikka bird
Joined: Dec 2002
Posts: 14 |
I want to ban list a hole chan, so i tried to make a script that adds everyone who join\write somthing in the chan. its like this. on *:join:#chan: { auser -a hatechan $nick } on *:text:**:#chan: { auser -a hatechan $nick } on @hatechan:join:#mychan: echo -at $nick ison hatechan! what am i doing wrong?
|
|
|
Re: my own ban list.
#34162
05/07/03 02:54 AM
|
Joined: Dec 2002
Posts: 3,547
SladeKraven
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Just out of curiosity why have you got an on TEXT event that triggers when anything is said in a channel then adds the user to the hatechan level. When they join they are automatically added to the user list so there is no need for that event because they would already be in the hatechan user list. Plus it should be on *:TEXT:*:#: { } not on *:TEXT:**:#: { }
|
|
|
Re: my own ban list.
#34163
05/07/03 03:02 AM
|
Joined: Dec 2002
Posts: 3,547
SladeKraven
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
I am gussing it wont work because you have two on JOIN events in one script. I tried your code and it wouldn't work for me either. Try this code, it should work.
on *:JOIN:#: {
guser 10 $nick 8
if (10 isin $level($address($nick,8))) && ($me isop $chan) {
echo -t *** $nick ison hatechan
}
}
|
|
|
Re: my own ban list.
#34164
05/07/03 08:34 AM
|
Joined: May 2003
Posts: 2,265
pheonix
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
alias banall { var %i 1 while (%i <= $nick($chan,0)) { auser hatechan $address($nick($chan,%i),1) inc %i } } /me wonders why you want to banlist a whole channel anyway :tongue:
new username: tidy_trax
|
|
|
Re: my own ban list.
#34165
05/07/03 09:38 AM
|
Joined: Dec 2002
Posts: 3,547
SladeKraven
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
* SladeKraven thinks something kinky between the original poster and the channel agents (if any) is gonna go down. 
|
|
|
Re: my own ban list.
#34166
05/07/03 09:49 AM
|
Joined: May 2003
Posts: 2,265
pheonix
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
me too
new username: tidy_trax
|
|
|
Re: my own ban list.
#34167
05/07/03 03:20 PM
|
Joined: Jan 2003
Posts: 3,012
KingTomato
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
well, it coud be similar to the whole "bad channel" theme. The user joins the "bad channel", then adds the whole room to a ban list. Then, they part the channel with that whole room ban-listed and can then take users who join and kick them if they saw them in the bad chan. >:D Simple enough
-KingTomato
|
|
|
Re: my own ban list.
#34168
05/07/03 03:27 PM
|
Joined: May 2003
Posts: 2,265
pheonix
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
ive used that a few times, but a lot of the time its for other purposes
new username: tidy_trax
|
|
|
|
|
|