Raised This Month: $ Target: $400
 0% 

[SOLVED]For-Loops, Contain, len++ MOTD's


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-29-2005 , 22:21  
Reply With Quote #5

Quote:
Originally Posted by Charr
The !=-1 worked, and how do you use format inside of a for-loop, cause I used:
Code:
len = format(motd,sizeof(motd)-len,...)
And it didnt work since the len value is the same for each line, so only the last line shows.
its
Code:
len += format(motd[len] , sizeof(motd)-len,...)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode