Set an array with the IDs of the items you want and then use rand to generate a number to be used
setarray .@var[0],1234,5678,8901;
getitem .@var[rand(0,3)],1;
Test the second line out. I haven't scripted in a while and not quite sure if rand will work inside.