Results 1 to 4 of 4
  1. #1
    derkrasseboy's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Location
    right there
    Posts
    117
    Reputation
    10
    Thanks
    7

    Question Console Application How do I make costum commands?

    Hello,
    Iam currently making an console application and i want it to execute script when someone writes for example -hello.. I tried doing it with If Console.ReadLine = "-hello" Then bla bla.. but that doesnt seem to work probably.. I have to type things often more than once and so on, can anybody give me a way to do that?
    Thanks

  2. #2
    Nine11's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    55
    Reputation
    10
    Thanks
    183
    You can make a structure or class that you can easily add these commands to and then loop through them to find command and the call event. I can show you how to do this on skype:Lucasheer715 if you would like.

  3. The Following User Says Thank You to Nine11 For This Useful Post:

    derkrasseboy (01-07-2016)

  4. #3
    derkrasseboy's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Location
    right there
    Posts
    117
    Reputation
    10
    Thanks
    7
    Thanks for the help Nine11 Solved my problem.

  5. #4
    Yemiez's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Sweden
    Posts
    2,566
    Reputation
    731
    Thanks
    16,280
    My Mood
    Devilish
    Solved...

Similar Threads

  1. [Release] HOW I CAN MAKE PORTABLE MY DOTNET APPLICATION LIKE SINGLE PORTABLE EXE
    By XTIANZKIE21 in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 1
    Last Post: 06-12-2012, 09:41 AM
  2. [Solved] How can i make Vindictus Console ???
    By kwonsanghoon in forum Vindictus Help
    Replies: 2
    Last Post: 10-05-2011, 05:00 AM
  3. How Would I make a me in console?[Solved]
    By mnpeepno2 in forum Visual Basic Programming
    Replies: 8
    Last Post: 12-31-2010, 03:31 PM
  4. C++, Making a Console Application
    By -:TKK:-WaSsUp in forum C++/C Programming
    Replies: 7
    Last Post: 10-26-2010, 05:38 AM
  5. hmmm, how do i make a key press ? what is the command ?
    By thekm1994 in forum C++/C Programming
    Replies: 39
    Last Post: 06-13-2010, 02:52 AM