mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 2,812
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
I would like to place multiple lines of text into a multiline editbox via the /editbox command.

It's possible to paste multiple lines of text to a multi-lined editboxes, and one can also press Alt+Enter to create a new line of typed text, but there is presently no way to do this via script or alias.

Eg: /editbox -a Line1 $+ $CRLF $+ Line2

The above will send the text to the channel despite /editbox having an -n switch for this expressed purpose, instead of populating the editbox with two lines of text.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Jul 2006
Posts: 4,144
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,144
I support this suggestion.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jul 2006
Posts: 4,144
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,144
I'd like to add to this.

I'd like to be able to handle alt + enter inside the on input event to create a newline with automatic editbox.
I can check $mouse.key from the on input event for the alt key but without this, it's impossible to put a new line in the editbox.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard