Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

ConditionalDisplay

Announcements of new plugins or updates.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
AlexV
Plugin Author
Posts: 10
Joined: March 12th, 2005, 11:54 am

ConditionalDisplay

Post by AlexV »

ConditionalDisplay

This is a simple plugin with only one function. What it does is look at the first parameter, and if it is not empty, or 0, returns the contents of the second parameter. Otherwise, if the first parameter *is* empty or 0, returns nothing.

If there is a way to do this without requiring a plugin, I didn't spot it. I could bodge something with actions, but I didn't want to change the screen for various reasons.

Anyway, provided here for anyone to use if they feel like it, source is in the zip file along with the dll.

Written in Visual C# Express 2005, so you will need the .net 2 runtimes installed.

Post Reply