You are here: start » ppl » statements » setlmr

SETLMR

SETLMR

	SETLMR conf#,msg#  
	

Set the last read pointers for the specified conference.
Example:

	Integer conf,msg
	if(newuser == TRUE) then                  ; If new user
			while(conf < HICONFNUM() ) DO     ; set all LMR's to
					join conf                 ; HI_MSG - 10
					SETLMR conf,HIMSGNUM()-10
					INC conf
			endwhile
	endif  
	

If conf# is greater than the number of actual confrences conf# will default to the highest conference number If msg# is greater than the highest message number in that conference, it will default to the highest message number in that conference. This could be used to set a new users mesg pointers to recent messages so they aren't replying to 3 years old messages. A useful feature would be to get the high conference number.
See also: HiConfNum, HiMsgNum, ActMsgNum, LoMsgNum

ppl/statements/setlmr.txt · Last modified: 2019/04/16 14:00
CC Attribution 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International