项目

一般

简介

Givegold » 历史记录 » 修订 3

修订 2 (yangdefeng, 2022-05-17 15:23) → 修订 3/5 (yangdefeng, 2022-05-17 15:27)

_*%{color:green}giveGold%*_ 

 调整<$goldCount>数量 修改goldCount数量 

 标签:命令定义|giveGold 

 *格式* 
 |命令名 			 |参数1 			 |参数2 		 | 
 |giveGold 		 |操作符(+,-,=) 	 |数目 		 | 

 说明: 
 * 参数1 
 操作符(+,-,=) 
 ** +:增加相应数值 
 ** -:减小相应数值 
 ** =:赋值相应数值 

 * 参数2 
 数目 

 *%{color:deepskyblue}脚本示例:%* 

 bq. [<notextile>@</notextile>giveGold1] 
 #act 
 giveGold + 10 
 sendMsg 6 数量:<$goldCount> 

 bq. [<notextile>@</notextile>giveGold2] 
 #act 
 giveGold - 10 
 sendMsg 6 数量:<$goldCount> 

 bq. [<notextile>@</notextile>giveGold3] 
 #act 
 giveGold = 50 
 sendMsg 6 数量:<$goldCount>