A script that casts curse using the Hexbot api