getmagnetic - Script command