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

If/Then statement plugin

Place your requests for plugins here

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo

Post Reply
rcompart
Posts: 3
Joined: April 6th, 2006, 4:47 pm

If/Then statement plugin

Post by rcompart »

I wish there was a plugin that worked like basic and had those functions. I'd like it so if my fans were running above 700RPMs it would display "Pass" or "Fail" and not the speed which never changes.

Thanks

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

Warn if plugin is available! :wink:

goto http://www.eserver.gr to get it

rcompart
Posts: 3
Joined: April 6th, 2006, 4:47 pm

Post by rcompart »

Not exactly what I was looking for but very close.

I need something that can handle If/Then/Else arguments such as the following:

IF X>700 THEN OUTPUT "OK"
IF X<700 THEN OUTPUT "FAIL"

It would also be nice if there was a way to make it so you could do the following as well:

IF X>2250 THEN OUTPUT "HIGH"
IF X<=2250 AND X>1500 THEN OUTPUT "MED"
IF X<=1500 AND X>750 THEN OUTPUT "LOW"
IF X<=750 THEN OUTPUT "FAIL"

That would be awesome since I made a temp probe for all the case fans and I'm working on one for the CPU and VGA.[/u]

limbo
Plugin Author
Posts: 1604
Joined: February 13th, 2005, 7:38 pm
Location: Athens - Greece
Contact:

Post by limbo »

But you can use a nested call with Warn if to create what you want!

rcompart
Posts: 3
Joined: April 6th, 2006, 4:47 pm

Post by rcompart »

how? I tried to put two statements in one line and it didn't work

If you can give me a quite tutorial or a example to get me on my way I'd really apreciate it.

Post Reply