so assuming your variable in the command is the dollar amount of the cheque, change
command /chequebancar <text>:
to
command /chequebancar <number>:
then after "give player 1" do something like
code_language.skript:
set {cheque::%player%} to arg-1
then, in your right click event, do
code_language.skript:
add {cheque::%player%} to balance of player
delete {cheque::%player%}
[doublepost=1532041316,1532041061][/doublepost]like this:
code_language.skript:
command /cheque ajuda:
trigger:
send "&6-----------[ Ajuda cheque ]-----------"
send "&f/chequebancar <money>: &aPara bancar um cheque com qualquer quantia de dinheiro"
send "&6-----------[ Ajuda cheque ]-----------"
command /chequebancar <number>:
trigger:
give player 1 paper of fortune 1 named "&aCheque" with lore "&3Cheque de: &f%arg 1%$ ||&3De: &f%player% || ||&7Clique botão direito para adicionar a quantia a sua conta"
set {cheque::%player%} to arg-1
message "&aFoi criado um cheque de %arg 1%$" to player
On right click holding a paper:
if name of tool of player is "&aCheque":
add {cheque::%player%} to balance of %player%
delete {cheque::%player%}
remove 1 paper from the player