Scripting is for actual scripts written in RGSS used in the script editor of rpg maker.
I suggest you look at some beginner eventing tutorials to familiarize yourself with some of the basic commands. It will make things a lot easier for you.
As for your questions, there is a command in the eventing list that allows you manually bring up an encounter. Exactly where it is depends on the maker you're using, but in VX Ace, it's at the top of the third page called "Battle Processing".
"Show Text" will be the first command on the first page of event commands.