Thanks a lot, Lulu, helped me a lot, but there is one more trouble. This plugin will keep growing and growing... How can I maintain it, if it is so big? It will propably run over 3k lines?
All right, I have the answer, no need to this talking to myself thing:
Put the parts of your plugins to separate inline files, that you include when nesesery. Like in pokemod:
You can include anything with this line:
PHP Code:
#include "somewhere/some_file.inl"
Okay. So I restarted the plugin from crap over 5 times now, and always getting better, so I'm gonna upload the purse upgrade thingy tonight( 3am in Hungary now ), so keep watching if interested...