thank to a friend(anticcx) who all ways help me when i can't make the command to work
ok lets start
1st off all you need to stop the default taxes
adding this perm to every group you have
sample: setgperm Guest economytax.tax.avoid
now
the command
cmd delete tax
cmd create tax
cmd edit tax 1 %status% = playerstatus(%p%)
cmd edit tax 2 if %status%[\"op\"] = %true% then goto 10
cmd edit tax 3 message %p% §cYou do not have permission to run this command
cmd edit tax 4 exit
cmd edit tax 10 load %tax%
cmd edit tax 11 if %args%[1] = \"on\" then goto 16
cmd edit tax 12 if %args%[1] != \"off\" then exit
cmd edit tax 13 let %tax%[%p%] = \"off\"
cmd edit tax 14 save %tax%
cmd edit tax 15 goto 29
cmd edit tax 16 let %tax%[%p%] = \"on\"
cmd edit tax 17 save %tax%
cmd edit tax 18 %online% = onlineplayers()
cmd edit tax 19 %c% = 0
cmd edit tax 20 load %tax%
cmd edit tax 21 if %tax%[%p%] = \"off\" then goto 30
cmd edit tax 22 %pl% = %online%[%c%]
cmd edit tax 23 ascon /takemoney %p% 1
cmd edit tax 24 if %c% = size(%online%) then goto 27
cmd edit tax 25 let %c% = %c% + 1
cmd edit tax 26 goto 20
cmd edit tax 27 sleep 20
cmd edit tax 28 goto 20
cmd edit tax 29 message onlineplayers() §ctaxes are turned off now
cmd edit tax 30 exit
Note( Change the price to be charge on line 23 )
and the time that will take to charge again on line 27
if something is wrong let me know
ok lets start
1st off all you need to stop the default taxes
adding this perm to every group you have
sample: setgperm Guest economytax.tax.avoid
now
the command
cmd delete tax
cmd create tax
cmd edit tax 1 %status% = playerstatus(%p%)
cmd edit tax 2 if %status%[\"op\"] = %true% then goto 10
cmd edit tax 3 message %p% §cYou do not have permission to run this command
cmd edit tax 4 exit
cmd edit tax 10 load %tax%
cmd edit tax 11 if %args%[1] = \"on\" then goto 16
cmd edit tax 12 if %args%[1] != \"off\" then exit
cmd edit tax 13 let %tax%[%p%] = \"off\"
cmd edit tax 14 save %tax%
cmd edit tax 15 goto 29
cmd edit tax 16 let %tax%[%p%] = \"on\"
cmd edit tax 17 save %tax%
cmd edit tax 18 %online% = onlineplayers()
cmd edit tax 19 %c% = 0
cmd edit tax 20 load %tax%
cmd edit tax 21 if %tax%[%p%] = \"off\" then goto 30
cmd edit tax 22 %pl% = %online%[%c%]
cmd edit tax 23 ascon /takemoney %p% 1
cmd edit tax 24 if %c% = size(%online%) then goto 27
cmd edit tax 25 let %c% = %c% + 1
cmd edit tax 26 goto 20
cmd edit tax 27 sleep 20
cmd edit tax 28 goto 20
cmd edit tax 29 message onlineplayers() §ctaxes are turned off now
cmd edit tax 30 exit
Note( Change the price to be charge on line 23 )
and the time that will take to charge again on line 27
if something is wrong let me know