I'd like to trigger an event with the name of a variable.
example
a particular channel use 'gold' as a currency, another 'Timmybucks'. So the variable is %currency.timmyschannel TimmyBucks and the other is %currency.rpgcentralchannel gold
I'd like the event to trigger on !(currency name). I should also probably have a default if the channel doesn't have a currency named, like $iif($($+(%,currency.,$chan),2)) == $null),dollars,$($+(%,currency.,$chan),2))<--I'm sure that is wrong/typo'd..but ya. I'm just not sure where to start with this. I hope my meaning is clear..thanks in advance.
Can I just plop an in line if statement like that on an on text event or is there some other mechanic to do it?