AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Computer Whiz | Bigjoe | Using one line |
March 31, 2006 10:16 PM |
|||
Re: Using one line > The above code is what I use to write it, and this is what I use to redisplay > it. > let f1 = !25 % "user.dat" > read x > close > Thats all it does is reads the first line > let y = 1 let z = 25 '<--------------------------Add this line here > let $100 = !10 > let y = y + z > let z = 25 > let $101 = !10 > let y = y + z > ley z = 35 > let $102 = !10 > print "BBs Name : ", $100 First of all, you need to initialize your z variable, in your case, to 30 (see commented line above). When you are running the script, the first time, z may be set to 0, thus getting a string length of 0, meaning blank (answers the part about it sometimes being blank). Second run and thereafter, if you don't have a clear in the beginning of the script, it is probably what you set it to last, which would be 35, so it would be taking 5 more characters than you wanted, thus having like the first name, some spaces, then the first 5 characters of the handle. Also, Steve's version looks simpler - I totally had forgotten about the MID script command...in fact I think I have always overlooked it, as it is never used in any of my scripts...lol...that may change now...heh. ComputerWhiz �Ŀ� ������Ŀ �Ŀ�Ŀ VA �Ŀ�Ŀ�Ŀ telnet://bbs.chris-co.org 24h/7d � �Ĵ��ٳ�Ŀ�ĺ � � �Ĵ�Ĵ�Ŀ Usurper v0.20d Sysop: ComputerWhiz ���� �� ���� ������2.10��������� VirtualMUD v0.00� @1205037 VirtualNET |
||||||
|
Previous Message | Next Message | Back to VBBS/VADV Script Discussion <-- <--- | Return to Home Page |
Execution Time: 0.0175 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |