addmode - Script command