- 积分
- 14801
- 威望
- 222
- 魅力
- 218
- 经验
- 8524
- 热心度
- 0
- 注册时间
- 2007-8-2
- 最后登录
- 2019-7-2
- 主题
- 79
- 回帖
- 2778
- 精华
- 14
- 阅读权限
- 90
TA的每日心情 | 开心 2019-1-31 14:25 |
---|
签到天数: 130 天 连续签到: 1 天 [LV.7]血污怪

论坛嘉宾
  
- 积分
- 14801
  
|
发表于 2013-9-7 22:19:05
|
显示全部楼层
楼主说的东西,你是否已经验证过,虽然,我写的没有全面验证,但是,我所写的,都是根据Erm帮助来的。
!!OW:XXXX;
These are commands that apply to a specific player.
C?$; Get/Check current player
$ - Get or check current player (will return 0..7 - see Format E1).
Comments:
You can only get or check, but not set the value.
e.g., !!OW:C?i;
H#1/$2/#3; Calculate and get numbers of Heroes.
$1 - Owner (-1=current). See Format E1.
$2 - Start index of v variables to store info.
v[$2] = number of Heroes.
v[$2+1] = number of first Hero.
v[$2+2] = number of second Hero.
#3 is an index of a Hero the owner has.
= 0 - store number of all Heroes the owner has in v[#2]
> 0 - index, store the number of a Hero the owner has to v[#2] if there is no Hero with index, the v[#2] is not changed.There is NO check or get syntax!
Example:
!!OW:H1/99/0; store a number of Heroes the Blue player has to v99
!!OW:H1/100/1; store the number of the first Hero the Blue player has to v100
!!OW:H1/100/2; store the number of the 2nd Hero the Blue player has to v100
!!OW:H1/100/3; store the number of the 3rd Hero the Blue player has to v100
!!OW:H1/100/4; store the number of the 4th Hero the Blue player has to v100
N#1/#2/$;
N#1/#2/$/0;
Check/get/(set) active town
You can get a number of a town that is shown in one of 5 slots at the right side of the adventure map in the town list:
#1 - is an owner (-1=current)
#2 - is an index of the slot (0=top..4)
$ - is a town number (-1=no town,0..N=number of towns)
Comments:
You can use only GET or check syntax.
Example:
!!OW:N2/3/?y10; get the number of a town that is located in the forth slot for the Blue player and store it in y10.
Note: You can use forth dummy (which can be any number) parameter to use extended syntax |
|