@@ -227,7 +227,6 @@ msg_base = {
227227 e . number + " back. :(\n" ) ;
228228 }
229229 break ;
230- < << << << HEAD
231230 case '%' :
232231 //add a bit here so that a user w/level greater than 80 can
233232 //reset pointers for other users, as well (if we keep the
@@ -237,23 +236,29 @@ msg_base = {
237236 console . putmsg ( yellow + "Resetting scan_ptr for: " +
238237 base . cfg . code + "\n" ) ;
239238
240- board . scan_ptr = 1 ;
241- = === ===
242- case '%' : //reset message pointer back to the start
243- if ( user . security . level >= 80 ) {
244- var board = msg_area . sub [ base . cfg . code ] ;
245- if ( userSettings . debug . misc ) {
246- console . putmsg ( yellow + "Resetting scan_ptr for: " +
247- base . cfg . code + "\n" ) ;
248- }
249-
250239 board . scan_ptr = 1 ;
251240 } else {
252241 console . putmsg ( red + "Unable to reset scan_ptr for: " +
253242 base . cfg . code + " for " + user . alias + " due to " +
254243 "security level restrictions." ) ;
255- > >>> >>> 1816 c5648f9bb1e4b94c2249aa32aba94220874e
256244 }
245+ case '0' :
246+ case '1' :
247+ case '2' :
248+ case '3' :
249+ case '4' :
250+ case '5' :
251+ case '6' :
252+ case '7' :
253+ case '8' :
254+ case '9' : //we're going to read message by number here
255+ //there will, of course, have to be some error checking for
256+ //trying to hit out of bounds messages if dispMsg() doesn't
257+ //already have it
258+ console . putmsg ( green + high_intensity + "Go to message #> " ) ;
259+ console . ungetstr ( uchoice ) ; //put it back on the input stack
260+ msg_base . dispMsg ( new MsgBase ( bbs . cursub_code ) ,
261+ console . getnum ( maxMsgs ) , false ) ;
257262 break ;
258263 default :
259264 console . putmsg ( normal + yellow + "Invalid choice\n" ) ;
@@ -539,7 +544,7 @@ msg_base = {
539544 } catch ( e ) {
540545 console . putmsg ( red + "Unable to open Mail> sub:\t" + e . message +
541546 "\n" ) ;
542- throw new dDocException ( "dispMsg() Error" ,
547+ throw new docIface . dDocException ( "dispMsg() Error" ,
543548 "Unable to open mail sub: " + e . message , 2 ) ;
544549 }
545550 }
0 commit comments