This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

I need some help with a script badly

Old posts that have not been replied to for several years.
Locked
s
stockman

I need some help with a script badly

Post by stockman »

Can someone help me by creating a script, I know absolutely nothing about coding.

I need to be able to prevent someone from getting my stock list.

The problem is I don't want to ban all the people just ones that I choose for reason unknown at this point. I don't want to ban them from the channel just from getting the list.

here's the procedure to get the list.

user enters stocklist in the channel and a bot dcc's the list to them.

Can anyone help me with some script to add to the bot, I have done a search and have found nothing.

Thanks I appreciate any help.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Re: I need some help with a script badly

Post by user »

stockman wrote:here's the procedure to get the list.
Where?

Here's a solution that requires no scripting (except changing a variable in the conf) ...assuming the command to fetch the list is bound to "-"

1: set allow-dk-cmds 0 (in your config)
2: .+user nolist4u
3: .chattr nolist4u +d
4: .+host *!*banned@hostmask.* (repeat as many times as you like)
Have you ever read "The Manual"?
s
stockman

Re: I need some help with a script badly

Post by stockman »

user wrote:
stockman wrote:here's the procedure to get the list.
Where?

Here's a solution that requires no scripting (except changing a variable in the conf) ...assuming the command to fetch the list is bound to "-"

1: set allow-dk-cmds 0 (in your config)
2: .+user nolist4u
3: .chattr nolist4u +d
4: .+host *!*banned@hostmask.* (repeat as many times as you like)
Thanks user.
I have looked at the manual but it was over my head.

I not sure what you meant ...assuming the command to fetch the list is bound to "-"

But the bot creates the list and put it in a stocklist file on the shell. then when the stocklist command is entered in the channel it sends the stocklist to the user by dcc.
s
stockman

Re: I need some help with a script badly

Post by stockman »

user wrote:
stockman wrote:here's the procedure to get the list.
Where?

Here's a solution that requires no scripting (except changing a variable in the conf) ...assuming the command to fetch the list is bound to "-"

1: set allow-dk-cmds 0 (in your config)
2: .+user nolist4u
3: .chattr nolist4u +d
4: .+host *!*banned@hostmask.* (repeat as many times as you like)
Thanks user.
I have looked at the manual but it was over my head.

I not sure what you meant ...assuming the command to fetch the list is bound to "-"

But the bot creates the list and put it in a stocklist file on the shell. then when the stocklist command is entered in the channel it sends the stocklist to the user by dcc.

What you suggest is a lot to remember.
s
stockman

Re: I need some help with a script badly

Post by stockman »

user wrote:
stockman wrote:here's the procedure to get the list.
Here's a solution that requires no scripting (except changing a variable in the conf) ...assuming the command to fetch the list is bound to "-"
)
Sorry I had to inquire around to find out what you were saying, forgive me I'm just not the smartest when it comes to this.

!stocklist is the command to get the list not -stocklist.
Locked