A Staff is a cheap magic weapon, which you can choose to autocast with.
A staff can be bought in Varrock at the staff shop.