PDA

View Full Version : toggle variable names



kelmk
August 3rd, 2003, 03:15 AM
I'm trying to keep track of two sets of variables in girder. When I select a show to watch in myHTPC, I send several payloads to girder. I have a Var manip script

channum = pld1
channame = pld2
title = pld3

What I want to do is keep track of the previous channel so when I press recall, which switches back and forth between two channels, it displays the right info via xpOSD.

If I add

lastchannum = channum
lastchanname = channame
lasttitle = title

before the first set of variables, it will work once but gets lost after that.
It's probably easy but it's late :)