Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Message
| There is a way, if you compile it yourself. The source is here: http://www.gammon.com.au/downloads/dlareaeditor.htm
In the file CheckCommandSyntax.cpp appears to be a list of things it checks against, like "ispc" like this:
const t_specialconditions SpecialConditions [] =
{
// no vnums
{ "rand", eCondNone, eCondNone, true },
{ "otypehere" },
{ "otyperoom" },
{ "otypecarry" },
{ "otypewear" },
{ "otypeinv" },
{ "number" },
{ "name" },
// room argument, eg. mobinroom (10300) > 4
{ "economy", eCondRoom },
{ "mobinroom", eCondRoom },
// mob argument
{ "timeskilled", eCondMobile },
{ "ismobinvis", eCondMobile, eCondNone, true },
{ "mobinvislevel", eCondMobile },
{ "ispc", eCondMobile, eCondNone, true },
{ "isnpc", eCondMobile, eCondNone, true },
{ "ispkill", eCondMobile, eCondNone, true },
{ "isdevoted", eCondMobile, eCondNone, true },
{ "canpkill", eCondMobile, eCondNone, true },
{ "ismounted", eCondMobile, eCondNone, true },
{ "isgood", eCondMobile, eCondNone, true },
{ "isneutral", eCondMobile, eCondNone, true },
{ "isevil", eCondMobile, eCondNone, true },
{ "isfight", eCondMobile, eCondNone, true },
{ "isimmort", eCondMobile, eCondNone, true },
{ "ischarmed", eCondMobile, eCondNone, true },
{ "isfollow", eCondMobile, eCondNone, true },
{ "isaffected", eCondMobile },
...
You could add new things to that list. However you would need to compile it with a compiler that supports MFC.
Microsoft previously released a free version of Visual Studio which supports MFC. See: http://www.gammon.com.au/forum/?id=13695
If that is still available, you may be able to compile with that. I don't know how easy that would be, and you need to do something with the resources. It has been so long ago (14 years!) that I can't really help much more than that, sorry. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|