--You have to create commands folders and the easiest way for that is:--
1) In console Command: write "cmdcreate test"
--Now you have all the folders. They were created automatically and additionaly you got Cmdtest.cs--
--Cmdtest.cs contains sample code. It is actually a framework for your coding, but it's another topic--
2) Open notepad
3) Copy to the notepad a code of the command you want ot use, for example ,i've posted one, here>> viewtopic.php?f=11&t=320
4) Now save the file into mcdzienny/extra/commands/source directory as Cmd[name].cs
--It's time for changing code into some computer only known data ^^--
5) In console Command: write "compile [name]"
--Okey we have now *.dll file, it's in the mcdzienny/extra/commands/dll/ (for the record)--
6) In console Command: write "cmdload [name]"
--Command loaded. Hurray!--
--Now you can use it, simply use command /[command mask]--
**
[command mask] may be different than [name] (but it shouldn't be so)
how to find this mask? it's simple, it's in the code in the beginning:
- Code: Select all
public override string name { get { return "do"; } }
look for similar text in the fists lines of the code and there you have info "string name (...) "do" (...)"
/do is your actual command in this example
**
TIP
** USE ONLY TRUSTED CODE ** for your computer safety