The Daily Click ::. Forums ::. Klik Coding Help ::. Command Input Interface
 

Post Reply  Post Oekaki 
 

Posted By Message

vetmora120



Registered
  07/01/2010
Points
  273
18th March, 2011 at 14:51:06 -

Hi!

I'm trying to create an interface where you can input commands and it carries out the related process. It does this searching through an ini file and if the command exists, then it carries out the right action.

The problem is that no matter what I've tried it doesn't seem to be doing the ini search at all. I have posted the file
to show what I'm doing. Sorry, it's very messy at the moment because I was trying to see what was happeing. The ini file is also in there. The search function I was describing is under the Command Line group.

http://dl.dropbox.com/u/9919361/example.rar

Another side thing I tried to add is a list of values. If you type server_list and press enter a list comes up. What I was trying to do is make it so you can enter any of the entry values into the input and it will add it to the list in the top right if there is less than 4 slots available. Then it adds the values of that entry in the ini file to the slot. Each entry should only be able to be added once.

Any ideas/suggestions/examples/help will be greatly appreciated.

Thanks in advance

Edited by vetmora120

 
n/a

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
19th March, 2011 at 07:10:58 -

Hey,

I've haven't had a chance to take a proper look into your code but I did find this:

Image

If you move your cursor over this action, MMF2 crashes. Every time. Happened on 2 different computers.

So I'm guessing the code got corrupted somehow.

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
19th March, 2011 at 08:23:17 -

either that or you've got an older version of the ini++ object.

 
n/a

vetmora120



Registered
  07/01/2010
Points
  273
19th March, 2011 at 10:21:14 -

Thanks guys, got it fixed now. Just copied all my code into a new file.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click