mIRC Homepage
Posted By: deferenz kinda foolish. - 24/02/04 12:24 PM
you know when you press the up arrow how it returns the last thing you typed to the editbar? well, what exactly stores that information?

is it possible to manipulate that information to return some random input from somewhere?

sry its stonedisly b.zar
Posted By: AdmWiggin Re: kinda foolish. - 24/02/04 01:28 PM
you could use an on:input event, and store all that information as it comes to each line of a file, then use the id that returns a random line in a file... just a suggestion...

sorry that i dont know the name of that id right off :tongue:
Posted By: DaveC Re: kinda foolish. - 24/02/04 10:16 PM
you could load it with info yourself using /EDITBOX
while also ignoring the text using ON INPUT
so the only effect is its stored in the "back input buffer" (i dont know the offical name)

A note on this, you can say anything in any window using editbox, but the "back input buffer" only works on the active window, which may mean your actions would be noticeable, may not be as well as it would happen fast.
Also you can only load one line at a time into it, so you wouild need to load the first line, allow the on input to cacth it, then load the next from that on input.
Posted By: Raccoon Re: kinda foolish. - 25/02/04 04:19 AM
Strictly speaking, it is not possible to access or manipulate the text in the back buffer of the input box.

If you are trying to hide information for privacy/paranoia reasons (ie, so another user can't simply press UP to see what you last typed), you can use [color:000099]/clear -h <window>[/color]

Use this script example to prevent access to all input box back buffers.

[color:006600]On *:INPUT:*: clear -h $active[/color]

- Raccoon
© mIRC Discussion Forums