Subj : id bulletins
To   : Ice
From : Digital Man
Date : Mon May 14 2001 07:23 pm

RE: id bulletins
BY: Ice to All on Mon May 14 2001 10:06 pm

> i have wrote a bulletin program in baja 2.10 but am having a error.
> in my code i have the following :
>
> cmdkey 1
>        chkfile "%zmenu/idbullet/bullet1.*"
>        if_true
>               cls
>               menu idbullet/bullet1
>               end_if
> end_cmd
>
> i have that set in the code for 1-20 but when i hit 2 it automatically print
> bullet2 instead of waiting for either a 0 for 20 or inter for 2
> and also if i hit say a letter or anyother key that isnt configged it exits
> program
> i've even tried getcmd and changing the bulletin numbers to letters with the
> following
>
> getcmd "?abcdefghijklmnopqrst"
>
> and still errors.
> i want it to be numbered bulletins 1-20 can anyone help me figure out the
> proper code so the bulletin program will work?

Use GETSTR or GETNUM instead of GETCMD.

Rob

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net