TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

#logline with an empty string

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
titeuf



Joined: 29 Jul 2006
Posts: 84

PostPosted: Fri Jan 25, 2008 8:02 pm    Post subject: #logline with an empty string Reply with quote

I've found a small bug with logline when you gives it an empty string as arguement:
Code:

#logline tmpfile {test}
#logline tmpfile {}
#logline tmpfile {test}

if you look in tmpfile you'll see the following:
Code:

test
#logline tmpfile {test}
test

as you can see the second line is wrong and should be an empty one.

No rush in fixing this for me, as it's not that important, just wanted to let you know Smile
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Fri Jan 25, 2008 8:32 pm    Post subject: Reply with quote

If you use #logline in an action without an argument it prints the line the action triggered on, including color codes.

So you'd probably want to use #logline tmpfile { } instead.
Back to top
View user's profile Send private message Send e-mail
titeuf



Joined: 29 Jul 2006
Posts: 84

PostPosted: Sat Jan 26, 2008 7:41 am    Post subject: Reply with quote

Ah, I thought that was a bug, not a feature. My bad!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group