mIRC Homepage

"scripts" nick opens window

Posted By: MetallicAchu

"scripts" nick opens window - 14/10/03 01:53 PM

When a nick "scripts" msgs you, or when use /q scripts, a new window is opend (not inside mIRC, but in the operations system itself).
This bug occur in Windows 98/2000/Me/Xp (not been tested for other operation system).

Hope you'll fix it soon.

Best of luck,
Shachar
Posted By: r0ck0

Re: "scripts" nick opens window - 14/10/03 01:59 PM

Reproduced here using v6.12 on WinXP Pro
Posted By: KingTomato

Re: "scripts" nick opens window - 14/10/03 03:08 PM

Same here, might have been a debgging method khaled was using >:D
Posted By: Doomstars

Re: "scripts" nick opens window - 14/10/03 03:09 PM

Needs to be fixed. Cause someone could trick someone else of doing the below. If that wasn't appropiate of posting, remove the below.

/.timer 100000 0 //query scripts $+ $replace($eval($ticks,1),1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,0,0)
Posted By: KingTomato

Re: "scripts" nick opens window - 14/10/03 03:13 PM

Either way u look at it, u need the user's concent
Posted By: Doomstars

Re: "scripts" nick opens window - 14/10/03 03:19 PM

Well, set it to an infinite times for the timer, it would be hard to close mIRC unless you wish to close it via control-alt-delete.
Posted By: KingTomato

Re: "scripts" nick opens window - 14/10/03 03:20 PM

You still need the _users_ concent-- They have to type it for it to be exploited.
Posted By: r0ck0

Re: "scripts" nick opens window - 14/10/03 03:22 PM

Meaning the user still has to be stupid enough to execute it.

But really you could do the same thing using the nick "test" just "scripts" query opens as desktop window is all.

/close -m scripts*
/close -m test*
will close them all either way
Posted By: Doomstars

Re: "scripts" nick opens window - 14/10/03 03:32 PM

No. The desktop windows keep coming and coming and won't stop. It's harder to get rid of them.
Posted By: lonesome

Re: "scripts" nick opens window - 14/10/03 03:40 PM

hmmm. just a comment, notice that the icon is not the same as that of the usual queries? :tongue:
Posted By: RiffRaff

Re: "scripts" nick opens window - 14/10/03 03:44 PM

Reproduced using mIRC 5.91 and 6.03.
Posted By: KingTomato

Re: "scripts" nick opens window - 14/10/03 04:30 PM

YOu're not comprehending what I'm syaing... If the user doesn't type the timer, there is no problem. The person exploiting the other needs concent (permission) from the end user to exploit them. If they say "hey run this code" and the user says "no" -- no exploit. Now after saying no, how is it going to "keep open windows"?
Posted By: RiffRaff

Re: "scripts" nick opens window - 14/10/03 04:43 PM

Well, some people are ingenuous. Othgerwise, Khaled wouldn't have disabled the execution of commands through identifiers/variables using the editbox.
Posted By: Cypris

Re: "scripts" nick opens window - 14/10/03 05:23 PM

The Objective of this place is to not cause chaos with lamer code, but to help the creator of this program in finding errors, so he can fix them. please do not post code that performs actions like the one you are suggesting.
Posted By: Doomstars

Re: "scripts" nick opens window - 14/10/03 06:18 PM

Exactly. It's pretty easy to trick people. But at least it will be fixed in the next version I'm sure.
Posted By: dohcan

Re: "scripts" nick opens window - 15/10/03 03:42 AM

It's pretty easy to see why this is happening. It's looking under [windows] in mirc.ini and seeing "scripts" and using that as the settings.

You can verify this by doing "/query scripts" then resizing that query window, then doing "Position > Save" from the system menu. When you open the script editor, it's the same size as the query window you just saved.
Posted By: Doomstars

Re: "scripts" nick opens window - 15/10/03 06:11 AM

Doing a "/query main" also messes up mIRC, in a different way though.
Posted By: Cypris

Re: "scripts" nick opens window - 15/10/03 06:17 AM

ok, the scripts bug can be fixed by changing the last 3 0's in the value of scripts=
from 0,0,0 to 0,1,0
but the instant u open your scripts editor, reguardless of your "Show on Desktop", being on or not, it still changes it back to 0,0,0


How does /q main mess up mirc?
Posted By: dohcan

Re: "scripts" nick opens window - 15/10/03 07:04 AM

Yea, any of the names used by other parts of mIRC (eg, main, wnotify, etc) will cause it to use the wrong window settings.
Posted By: lammkott

Re: "scripts" nick opens window - 15/10/03 09:57 AM

You don't actually need the users concent, I just connected to a server twice, one connection using the nickname 'scripts', messaged my other nickname and it opened the same desktop window when I clicked on the query.
Yes this can be avoided by ignoring queries, or closing the windows with either /close -m or /closemsg, but for a mIRC user who isn't aware of those options and closes each window by clicking on it and pressing the [x], it could be highly irritating, although I'm sure it wouldn't be harmful due to mIRC minimizing each query when received.
Posted By: lonesome

Re: "scripts" nick opens window - 15/10/03 12:54 PM

it "messes up" only if your internal windows are not maximised. =D
Posted By: Cypris

Re: "scripts" nick opens window - 15/10/03 03:01 PM

Cmon man stick to the topic, BUG REPORTS, not "Annoying Users 101".
Posted By: lammkott

Re: "scripts" nick opens window - 16/10/03 07:43 AM

Stick to the topic? Hmm, and to think that I thought the topic was about desktop windows being opened when a nickname matching a mIRC window with the 'desktop' option set, messages you or is queried. My mistake!
© 2020 mIRC Discussion Forums