Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
Reply
Posted 2006-08-28, 08:57 AM in reply to Lenny's post starting "Nice one, thanks. :)"
=P It's so easy to use, I forget I'm scripting. I'd suggest, if your going to start writing scripts, making comment lines whenever and wherever you do something. Like...

code said:
#Now to read the .ini file, hello.ini
module INI
def self.read(filename, variable)
File.open(filename).each{ |row|
if row =~ Regexp.new("^" + variable + "=.*$")
return row.scan(Regexp.new("^" + variable + "=(.*)$"))[0]
end
}
end
end

for i in 0..5
puts INI.read("hello/Hello.ini","hello" + i.to_s)
end
No, of course I didn't just write that. I was just using a snippet from another script and putting the pound sign to signify a comment which is unreadable to the program, but is readable to you. This .ini shit is higher than what I can do anyway.
Old
Profile PM WWW Search
Atnas shows clear signs of ignorance and confidence; the two things needed to succeed in lifeAtnas shows clear signs of ignorance and confidence; the two things needed to succeed in life
 
 
Atnas
 



 
Reply
Posted 2006-08-28, 01:25 PM in reply to Atnas's post starting "=P It's so easy to use, I forget I'm..."
Pound sign? The pound sign is "£". I think you mean the hash symbol -- #
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2006-08-28, 04:53 PM in reply to Lenny's post starting "Pound sign? The pound sign is "£". I..."
HA! Oh Lenny, you crack me up. Unless of course, you're serious...Hmmmm....Suspisious. I'm watching you Lenny. *Plants a tracking device in Lenny's left butt cheek*
Goro goro!
Old
Profile PM WWW Search
llamallover2021 is neither ape nor machine; has so far settled for the in-betweenllamallover2021 is neither ape nor machine; has so far settled for the in-between
 
 
llamallover2021
 



 
Reply
Posted 2006-08-28, 06:59 PM in reply to llamallover2021's post starting "HA! Oh Lenny, you crack me up. Unless..."
Oh... Heh. I umm... Thought that was called the pound sign? Like on a telerphoney? Hmmm. I live quite the sheltered life.
>.>
<.<
<>.<>
Seriously. I did. Either I don't know shit or shit don't know me... I apoligize, O mighty angered Brit.
Old
Profile PM WWW Search
Atnas shows clear signs of ignorance and confidence; the two things needed to succeed in lifeAtnas shows clear signs of ignorance and confidence; the two things needed to succeed in life
 
 
Atnas
 



 
Reply
Posted 2006-08-29, 12:16 PM in reply to Atnas's post starting "Oh... Heh. I umm... Thought that was..."
On a telephone it's still called the "hash" key.

And I'm not angered. Too full of sugar to be angered.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2006-08-29, 12:32 PM in reply to Lenny's post starting "On a telephone it's still called the..."
lol, thats true lenny. The pound key is this *, well at least on a telemaphone.

Fuck programming languages, that shit takes to much effort, just play WoW instead....lol j/k.


Play WoW....
"why I've gotta be one of the cool kids just to walk by/
- without being tripped, thrown down on the ground and kicked/
Insulting me for no reason, I was treated like shit/
The teachers let it happen/
I've even seen some of them teachers laughing/
That's why I had a smile on my face when I started blastin/" - Ill Bill - The Anatomy of a School Shooting
Old
Profile PM WWW Search
Original Sin is neither ape nor machine; has so far settled for the in-betweenOriginal Sin is neither ape nor machine; has so far settled for the in-between
 
Original Sin
 



 
Reply
Posted 2006-08-29, 12:40 PM in reply to Original Sin's post starting "lol, thats true lenny. The pound key is..."
You know what? We're all wrong, in a way.

http://en.wikipedia.org/wiki/Number_sign
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum 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 -6. The time now is 04:00 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.