A vary simple and naive on input remote that simply msgs the input to the channel:
on *:INPUT:#:{ msg $chan $1- }
The problem with this code is that it can't handle multiple spaces because tokenization with $1- eats them up.
In on text events with incoming text this can be solved with $rawtext which contains the ACTUAL text.
What can be done in an on input event? $editbox returns $null (the editbox is cleared before the remote is triggered). How can I get the ORIGINAL input text with the multiple spaces and all?
This is a problem in theme engines, nick completers and so many common addons that handle input text. Isn't there a way around it?
I hope this hasn't been discussed earlier... My search gave no such previous discussions...