Posted: Tue Jun 14, 2005 4:11 pm Post subject: File
I have a command. When the user enters !create THEIRMESSAGEHERE
it will create a directory called whatever their SN is. Inside the directory will be a .txt file called whatever their sn is. Then, they can enter !open to view the message.
I want to change it so that to create a file, they need to enter !create THEIRMESSAGETITLE:THEIR MESSAGE
And to open a file, they need to enter !open MESSAGETITLE
I know how to do the open command, I just need help with the !create command. I think it involves spliting. If I could get the the title into one variable, and the message into another, I could take it from there.
I am on a different computer, so when I get a chance, I will post the code I currently have.