/pay (menu) simple commands (you know me i do simple commands)

#1
are you tired of typing the username and sending money tone randome names
and losing your money in game
then use this and player will love to pay 😂




cmd delete paymoney
cmd create paymoney


cmd edit paymoney 1 let %player% = %p%
cmd edit paymoney 2 if varset(%args%[1]) then %player% = %args%[1]
cmd edit paymoney 3 %all% = onlineplayers()

cmd edit paymoney 31 let %form%[\"type\"] = \"custom_form\"
cmd edit paymoney 32 let %form%[\"title\"] = \"§c§lPAY TO PLAYER\"
cmd edit paymoney 35 let %item1%[\"type\"] = \"dropdown\"
cmd edit paymoney 36 let %item1%[\"text\"] = \"§l§aPLAYERS\"
cmd edit paymoney 37 let %item1%[\"options\"] = %all%

cmd edit paymoney 38 let %item2%[\"type\"] = \"input\"
cmd edit paymoney 39 let %item2%[\"text\"] = \"§$ §eENTER AMOUNT TO PAY\"
cmd edit paymoney 41 let %item2%[\"placeholder\"] = \"AMOUNT\"

cmd edit paymoney 53 let %content%[] = %item1%
cmd edit paymoney 54 let %content%[] = %item2%
cmd edit paymoney 58 let %form%[\"content\"] = %content%
cmd edit paymoney 60 let %response% = dialog(%player%, %form%)

cmd edit paymoney 61 if %response% = %false% then exit

cmd edit paymoney 62 %index% = %response%[0]
cmd edit paymoney 63 %name% = %all%[%index%]
cmd edit paymoney 64 %amt% = %response%[1]

cmd edit paymoney 65 if varset(%name%) and varset(%amt%) then goto 100
cmd edit paymoney 66 exit
cmd edit paymoney 100 /pay %name% %amt%

note : if you want to use the same command ( /pay )
then simple do thisv

cmd create pay
cmd add pay /pay money

other way if you change the name pay money to just pay
that will not work
so do as i say before