[SOLVED] Empty line when no url set
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting
 
HTCDesire  -  Sat Mar 03, 2012 12:35 pm Reply with quote
Hey!

i have this:
Code
 


in my script and i want it to work like :

If there is NO url set in the database it should NOT return a line on irc...

Output:
Code
 


and it currently does that Sad


Last edited by HTCDesire on Tue Mar 06, 2012 7:52 am; edited 1 time in total
Johannes13  -  Sat Mar 03, 2012 3:26 pm Reply with quote
I hate cross votes, Fire-fox.

Anyway. replace the thing down there with:

Code
 


there you go
HTCDesire  -  Sat Mar 03, 2012 3:39 pm Reply with quote
[SOLVED]

didnt know you where number of places Smile

dont know your username though Smile

But did it like this :
Code
 


EDIT:
Code
 


i have 2 sets of info thats is filled via irc with cmds. url1 / url2

But if url1 is filled, the above code works fine. but if url2 is filled the above code dont work... what to do to get the both urls to output if filled,
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting All times are GMT - 7 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
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.