This is a really simple script, the only thing it does is to set the weight of the currently selected points to 100%.

main {
selmode(DIRECT);
editbegin();
vmap = VMap(VMWEIGHT,0) || error(“Please select a weight map first.”);
foreach(sp, points) {
vmap.setValue(sp, 1.0);
}
editend();
}

http://vimeo.com/moogaloop.swf?clip_id=8276292&server=vimeo.com&show_title=0&show_byline=0&show_portrait=0&color=ff9933&fullscreen=1

Download LScript