home *** CD-ROM | disk | FTP | other *** search
- string name ; declare the name variable.
- string prompt ; declare the prompt variable.
-
- prompt = "@X0A(@X0C@MINLEFT@@X0A min. left) (H)elp, Chat Command"
-
- inputstr prompt,name,@X0A,60,mask_ascii(),highascii+lfbefore
-
- if (upper(left(name,2)) = "HA") then
- prompt = tokenstr() ; Call to tokenstr() to destroy any command line paramaters to the handle command.
- kbdstuff "HA"
- else
- if (name = "") then
- kbdstuff chr(13)
- else
- kbdstuff name+tokenstr()
- endif
- endif
-
- end
-