Add optional time parameter to parent removetemp command
Closed this issue ยท 13 comments
As it is possible to accumulate time of temp parent it would be useful to be able to remove part of the time of temp parent.
The command would look like this: /lp user parent removetemp [time]
You have to tell the Command that you want to add the new amount to the current amount. That should be no different than adding an amount. Which can be done by simply adding accumulate
right after the time.
I am sorry, I forgot to add accumulate. Strange is that this command /lp user koca2000 parent addtemp vip -2m accumulate have added 2 minutes. Sorry for bad formatting. I am sending this message from phone.
Worth a shot. Then it seems to be not possible at the moment and like a fair suggestion.
Hello, is there anything new on this system? I think it's still important (automatic menu, need to remove time etc etc...), thank you.
When we place the order:
/lp user Extazii parent addtemp vip zddz20d accumulate
The plugin will not take into account the "-" and will add +20 minuts, I tested by putting any letter, for example:
/lp user Extazii parent addtemp vip zddz20d accumulate
he's still gonna add another 20 days.
if that helps.
unsettemp
is kind counter intuitive. removetemp
would be better I think. Maybe even just allow negative time values for addtemp
unsettemp
is the name of the previous command - I've just added an extra argument for duration ;)