First download XSE from here: http://www.pokecommunity.com/showpost.php?p=7619598&postcount=17
It is the most updated version. Just do it even if you already have XSE. Then in advance map goto settings, choose script editor. Then find your XSE folder.
It is the most updated version. Just do it even if you already have XSE. Then in advance map goto settings, choose script editor. Then find your XSE folder.