Finding rollover adventures

I can use 'modref adventures' in the CLI to see this number, but how do I get it into a variable so that my script can merrily announce that all is well and I'm looking at x number of rollover adventures?

Thanks!
 
Top