Simple and can be useful sometimes.
Say you had "//echo -a $uptime(system)" in your editbox, but you would like to make it "//echo $duration($uptime(system))" you can highlight it and press CTRL+F2 and type $duration into the input dialog and it does it for you :P
/*
* 100% by FelicianoX (#mSL @ irc.swiftirc.net)
* You can change cF2 to cF3 or F3 or whatever you want.
*/
alias cF2 {
if ($editbox($active).selstart != $editbox($active).selend) {
var %id = $input(Surround with identifier:, eyv, Identifier Surrounder ;P), %v1 = $v1, %v2 = $v2
set -nu %eb $editbox($active)
if (%id) {
editbox -a $mid($+($mid($(#,) $+ %eb, 1, %v1),%id,$chr(40),$mid(%eb, %v1, $calc(%v2 -%v1)), $chr(41), $mid(%eb, %v2)), 2)
}
}
}