Okay, I figured out the whole thing, but I have one problem. If the user selects the option to pick his/her own text, they can do it. Then, it will alert them the amount of enities that have been changed to the 00DTEXT layer. But the problem is that is nothing is selected, or all of the text is filtered out because it is mtext, it will error out instead of saying "0 text enities changed" Why is this?? Here is the routine (defun c:isodtext ()   (command "._undo" "begin")   (if (not (tblsearch "layer" "00DTEXT"))     (command "_.layer" "make" "00DTEXT" "c" "yellow" "" "")     )   (initget "Whole Select");cannot write "No Point"....space will throw the code off!   (setq wholeselect (getkword " Do You Want to [S]elect Your Own Area To Analyze for DTEXT or Have it Select the [W]hole Drawing for You? ")) (if (= wholeselect "Whole")       (progn (setq DTEXT (sslength (ssget "x" '((0 . "TEXT")))))         (COMMAND "_.CHANGE" "P" "" "P" "LA" "00DTEXT" "") (COMMAND "_.CHANGE" "P" "" "P" "C" "BYLAYER" "")         (alert (strcat (itoa DTEXT) " Dtext Enities Have Been Placed on the 00DTEXT Layer. Please Change to Mtext Enities ")) );end progn     );end if (if (= wholeselect "Select")       (progn (setq DTEXT (sslength (ssget '((0 . "text")))));ask user to select area for analysis         (COMMAND "_.CHANGE" "P" "" "P" "LA" "00DTEXT" "") (COMMAND "_.CHANGE" "P" "" "P" "C" "BYLAYER" "")         (alert (strcat (itoa DTEXT) " Dtext Enities Have Been Placed on the 00DTEXT Layer. Please Change to Mtext Enities ")) );end progn     );end if   (command "._undo" "end")   (princ)   )[/S]