1 - how do you call it a lot of better when all you did, was put it into a dialog?
2 - if someone closes the dialog before the result, it will return an error
- /did: invalid parameters
3 - no error message in case of the user does not exist
4 - there are no checks to check if $did(3).text is $null, if not, clicking on button 4 it will return
- /run: insufficient parameters
5 - there is no need to set a var like this
set %ytl http://www.youtube.com/user/ $+ $did(3).text
a tip
if ($did == 4) && ($did(3).text != $null) {
url http://www.youtube.com/user/ $+ $did(3).text
}