(Information and examples taken from the DroidScript documentation)
The Vibrate method vibrates the phone/tablet with a given pattern.
app.Vibrate( pattern );
The vibrate pattern is passed in as a text parameter with comma separated integer values given in milliseconds with this format: pause,vibrate,pause,vibrateā¦
function OnStart() { app.Vibrate( "0,100,30,100,50,300" ); }