Raised This Month: $ Target: $400
 0% 

Loose Indentation


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-04-2010 , 23:12   Re: Loose Indentation
Reply With Quote #7

@Ludariss, if you just copy the code that you posted here and replace the original with it then I bet it will work.

Quote:
Originally Posted by nikhilgupta345 View Post
The if's were indented with spaces, so i indented them with tab. I did that for give_item also. Also, loose indentations are just warnings, usually not gonna mess up the plugin or anything, it'll still work. But just makes it more neat
First of all, your indentation is horrible. Second, anything copied from this forum by highlighting it will give you all spaces regardless of how you have it in your text editor.


The OP's indentation is perfect but what is causing the warning is likely the combination of spaces and tabs.
__________________
fysiks is offline
 



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:17.


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