I want to add time to a user in userman
By code
New Terminal

I want to add time to a user in userman
By code
New Terminal

Please help me
Impossible to resolve ??? ![]()
up up
/tool user-manager user add add-credit=
?
my Credits
1d
3d
5d
my users
user1 Credit=d3
user2 Credit=d3
user3 Credit=d3
I want add credit 3d to the user 2
/tool user-manager user add add-credit=3d name=user2
But this code does not work
Thank you sergejs
/tool user-manager credit print
Is there name 3d?
3d = time
credit
[host@SS] /tool user-manager credit> print
# SUBSCRIBER NAME TIME FULL-PRICE EXTEND-PRICE
0 host Qemah3_3day 3d 2500 2500
1 host Qemah4_1day 1d 1000 1000
2 host Qemah1_30day 4w2d 17000 17000
[host@SS] /tool user-manager credit>
user
[host@SS] /tool user-manager user> print
Flags: X - disabled, A - active, I - incomplete
1 subscriber=host name="user1" password="1234" rate-limit=" 64000/512000" uptime-used=1d14h11s
download-used=3442988178 upload-used=132995046 last-seen=feb/19/2010 10:54:42 credit-count=1
credit-left=0s credit-duration=4w2d credit-price=17000 credit-till-time=feb/28/2010 18:39:46
credit-time-added=0s
I want add credit Qemah3_3day to the user1 By code
So what happen when you specify add-credit=Qemah3_3day?
I want to code “New Terminal” who is doing the job
So adjust the cord that was given to you in this thread with the correct names.
/tool user-manager user add add-credit=Qemah3_3day name=user1
[host@SS] > /tool user-manager user add add-credit=Qemah3_3day name=user1
subscriber: host
failure: such username already exists
[host@SS] >
Remove the ‘add’ and keep ‘add-credit’.
You can use commands,
/tool user-manager user print
/tool user-manager user set <client_number> add-credit= Qemah3_3day
Yes, this is wonderful
![]()
Thank you very much, Mr sergejs
Code works great
/tool user-manager user set user1 add-credit= Qemah3_3day
/tool user-manager user set user2 add-credit= Qemah3_3day
/tool user-manager user set user3 add-credit= Qemah3_3day
Thank you very much, Mr sergejs