Forum for English speaking Miranda NG users > Support/Help
Online Status Tipper Variables
(1/1)
mccabedd:
Hi all,
I have the LastSeen, Tipper and Variables plugins installed, and have set up tipper to show:
Last Online: %lastseen_date% @ %lastseen_time%
Last Active: %lastseen_ago% ago
Now, If a user is online, it does not make sense to show Last Online or Last Active. As such, I am trying to create two variables where:
If Status = Online, dont show Last Online or Last Active
If Status = Away, dont show Last Online, but show Last Active
Have been playing around with !if(x,y,z) and other variables, but cannot get my head around it all.
Can anyone help..?
Robyer:
Try starting with this in Tipper's item:
?if(?strcmp(%Status%,Offline),YES,NO)
It will show YES or NO if user is Offline. (Note "Offline" is translated string, so it must fit with your langpack).
Also you have to check "Process Tipper variables first" (or something like that, I don't know real translation of that checkbox).
Then you can write something like:
--- Code: ---?if(?strcmp(%Status%,Offline),Last Online: %lastseen_date% @ %lastseen_time%
Last Active: %lastseen_ago% ago,)
--- End code ---
mccabedd:
Thank you ever so much! :)
Took a little bit of trial and error, but managed to sort it all out.
Thanks again.
Navigation
[0] Message Index
Go to full version