Cmd Plugin

Posts here show up as comments to various articles.
User avatar
keymaster
Global Moderator
Global Moderator
Posts: 216
Joined: Thu May 24, 2012 2:47 am

Cmd Plugin

Postby keymaster » Fri Jan 04, 2013 5:24 am

A discussion for my current project, a cmd plugin programmed in c++.

There are tonnes of commands for the command line, so it is inpossible to replicate them all. Instead of re-making the entire cmd, I'll only (for now) be adding in new commands and replacing some old ones with upgraded versions.

What are some good commands that you would use for the cmd that aren't already in there?

Some obvious ones I've already done are things like
wait()
getip()
cddrive()
beep()

and I've remade a pile of the old commands to have additional features.

Now I've decided to do it in C++, I'll have to re-do all of these... But that shouldn't take to long :\

Anyway, I need suggestions!!!
p.s. There are some major differences in the way you use the normal cmd and the way you use this. The main being the cmd, the paramaters can be in different orders. In mine, they must be in the correct order.

One other thing, do you think I should do error reporting, or just return a blank screen when something breaks?
Daddy, why doesn't the magnet pick up your floppy discs?
User avatar
james438
Site Admin
Site Admin
Posts: 321
Joined: Tue Nov 24, 2009 11:13 pm
Gender: Male
Location: Iowa

Re: Cmd Plugin

Postby james438 » Fri Jan 04, 2013 7:41 am

Most programmers prefer error messages for debugging purposes. I think it really depends on who your target audience would be writing this code for.
User avatar
keymaster
Global Moderator
Global Moderator
Posts: 216
Joined: Thu May 24, 2012 2:47 am

Re: Cmd Plugin

Postby keymaster » Fri Jan 04, 2013 11:05 am

Only power users use the cmd, and a fair few of them are programmers, so I'd say I should go with error messaging...

If you have any ideas for commands that would be usefull, let me know :)
keebs
Daddy, why doesn't the magnet pick up your floppy discs?
User avatar
james438
Site Admin
Site Admin
Posts: 321
Joined: Tue Nov 24, 2009 11:13 pm
Gender: Male
Location: Iowa

Re: Cmd Plugin

Postby james438 » Sat Jan 05, 2013 2:56 am

Let me think on it a bit and see if I can think up a few ideas. I have only limited experience with cmd though.

Return to “Articles”

Who is online

Users browsing this forum: No registered users and 2 guests