Seems I can get somewhere with the following code. Still requires a lot of work, though.
on *:input:*: {
if !$ctrlenter {
haltdef
editbox -n /
.timergetinput 1 0 getinput
}
}
alias getinput {
echo -a Editbox: $replace($editbox($active), $chr(32), $chr(160))
editbox -a
}
Does anyone know why the above code would generate an error when using ".timer" instead of ".timergetinput"? I get "THELS#CHANNEL Unknown command" or "THELS Unknown command" when trying it in the status window, Thels being my IRC nickname of course.