Browser
menu channel {
Google: run $+(www.google.co.jp)}
Yahoo: run $+(www.yahoo.com)}
}
This may work as well (untested):
menu * {
Internet Loader: dialog -m net net
}
dialog net {
title "Internet Loader"
size -1 -1 300 185
option pixels
list 1, 0 90 300 100, hsbar, vsbar
text "Site Name" 15, 5 10 50 23
text "History" 7, 5 65 100 20
edit "" 5, 15 35 250 20
button "Search" 6, 250 62 50 20
}
alias interwebz dialog -m net net
}
on :DIALOG:net:init:0:{
did -a net 9 $active
var %dd = $numtok(%sites,44), %yy = 1
while ( %yy <= %dd ) {
did -a $dname 1 $gettok(%sites,%yy,44)
inc %yy }
}
on :DIALOG:net:sclick:*:{
if ($did = 1) { did -ra net 5 $did($dname,1).seltext }
if ($did = 6) { run http:// $+ $did(5) | set %sites $addtok(%sites,$did(5),44) | did -a net 1 $did(5) }
}