the register_concmd you should put in warcraft3.sma
and the public wc3_setxp...
you can put also in warcraft3.sma
then compile the warcraft3.sma with the compiler in you scripting folder
open the folder compiled located in the scripting folder
and move the warcraft3.amxx to plugins folder and overwrite it with the old one and you are done