Thanks guys, put the knowledge to good use 
Code:
;; ============ Num.lsp ===============
;;
;; FUNCTION:
;; Will sequentially place numerical
;; text upon mouse click, with optional
;; prefix and suffix.
;;
;; SYNTAX: num
;;
;; AUTHOR:
;; Copyright (c) 2009, Lee McDonnell
;; (Contact Lee Mac, CADTutor.net)
;;
;; PLATFORMS:
;; No Restrictions,
;; only tested in ACAD 2004.
;;
;; VERSION:
;; 1.0 ~ 05.04.2009
;;
;; ====================================
(defun c:num (/ vlst ovar dVars tmpVars pt)
(setq vlst '("OSMODE" "CLAYER")
ovar (mapcar 'getvar vlst))
(setvar "OSMODE" 0)
(or (tblsearch "LAYER" "NumText")
(vla-put-color
(vla-add
(vla-get-layers
(vla-get-ActiveDocument
(vlax-get-acad-object))) "NumText") acYellow))
(setq dVars '(sNum inNum Pref Suff))
(mapcar '(lambda (x y) (or (boundp x) (set x y))) dVars '(1 1 "" ""))
(setq tmpVars (list (getreal (strcat "\nSpecify Starting Number <" (rtos sNum 2 2) ">: "))
(getreal (strcat "\nSpecify Increment <" (rtos inNum 2 2) ">: "))
(getstring (strcat "\nSpecify Prefix <" (if (eq "" Pref) "-None-" Pref) ">: "))
(getstring (strcat "\nSpecify Suffix <" (if (eq "" Suff) "-None-" Suff) ">: "))))
(mapcar '(lambda (x y) (or (or (not x) (eq "" x)) (set y x))) tmpVars dVars)
(while (setq pt (getpoint "\nClick for Text... "))
(Make_Text pt (strcat Pref (rtos sNum 2 2) Suff))
(setq sNum (+ sNum inNum)))
(mapcar 'setvar vlst ovar)
(princ))
(defun Make_Text (txt_pt txt_val)
(entmake (list '(0 . "TEXT")
'(8 . "NumText")
(cons 10 txt_pt)
(cons 40 (max 2.5 (getvar "TEXTSIZE")))
(cons 1 txt_val)
'(50 . 0.0)
(cons 7 (getvar "TEXTSTYLE"))
'(71 . 0)
'(72 . 1)
'(73 . 2)
(cons 11 txt_pt))))
Bookmarks