Scripts are usually created automatically in RAMP, but to deal with them confidently you need to understand some scripting basics.
Basic Javascript syntax

 
switch(thumbs down)
{
case 1:
execute code block 1
break   
case 2:
execute code block 2
break
default:
code to be executed if n is
different from case 1 and 2
}
  
Types of scripts in  RAMP
This topic covers:

 
Application level tracing