mIRC Homepage
Posted By: anth DCC Trusted users list - 04/05/03 12:47 AM
It would be really nice to have some /command to add (and remove) people to DCC trusted users list.

Or just turn that trusted user thing into a new kind of special user level so adding/removing people could be done with /auser and /ruser.
Posted By: codemastr Re: DCC Trusted users list - 04/05/03 04:00 AM
That would really bypass one of the primary functions of the trusted list imho. I make SomeLameScript, I have:

ON *:START:{
/dcc trust codemastr
}

Now I'm able to send this user files without his/her knowledge. The purpose of the trusted list isn't so you can script it, it is so the user has control over who can send files.
Posted By: anth Re: DCC Trusted users list - 04/05/03 04:14 AM
Sure you have a point there codemastr.

But think about this, if you can send a file to somebody without his/her knowledge then his/her security has already been compromised.

So it would made writing a nasty script easy, but doing that _already is_ easy. You can just put some /sreq or /run command into that script and that is just as harmful.

And if we think about this further, you can disable /run from mirc options, so you could also have option there to disable that "dcc trust" command which would solve that "newbie accepting every incoming file"- problem.
Posted By: codemastr Re: DCC Trusted users list - 04/05/03 04:20 AM
Maybe the problem is I fail to see why you would ever need a script to interact with the trusted list for any reason other than to do something the user doesn't want you to do...
Posted By: anth Re: DCC Trusted users list - 04/05/03 04:28 AM
Well I do use that list myself and it would be a lot easier to manage with simple nicklist popup menu than going there thru options.
Posted By: codemastr Re: DCC Trusted users list - 04/05/03 04:31 AM
Well I suppose that'd be useful for some, what about perhaps adding it to the address book? Typing alt+b then entering the name into a box doesn't seem like a ton of work.
Posted By: neophyte Re: DCC Trusted users list - 04/05/03 06:34 AM
What I am thinking you mean, is that you have a trusted user list for receiving DCC files from, that will ignore all DCC sends from untrusted users (those not in the list), but will allow you to receive DCC files from those that are trusted.


However, the ignore feature in mIRC pretty much can do this already.


Simply use /ignore -d *!*@* to ignore all DCC's from any address, and then use /ignore -x nicknameoraddress to exclude that user/address from being ignored.

/help /ignore will show you all the ignore switches.
Posted By: anth Re: DCC Trusted users list - 04/05/03 08:00 AM
Actually I have trust list for autogetting and strangers get a dialog.

It just feels strange when everything else in mirc can be controlled with script and then there is this one thing that can not.
I want total control! cool
Posted By: neophyte Re: DCC Trusted users list - 04/05/03 11:14 AM
But you do have total control.


That's why there is a script "language" for mIRC... To give you greater freedom at improving, or "adding" extra features/functions that you want.


I do think a DCC trusted user system is good, but at the same time, why bother making something up, or "re-inventing" the wheel, if you have access to code that allows you to "mould" parts of this program into the way you want it to work.
Posted By: Jerk Re: DCC Trusted users list - 05/05/03 04:28 AM
I Think you can already do this. It isn't in the help file but in Versions.txt under 6.01:

Quote:
46. Added /dcc trust [-r] <on | off | nick | address | level>
to add/remove items to dcc trust dialog, and $trust(N) to
return items in trust list.
Code:
ON *:START:{
  .dcc trust code*!*@*
}
© mIRC Discussion Forums