daemon_n, попробуй pri/print для !!IF:M^^; или du/dump для !!IF:M^%^;
Version 2.9.6
[+] SN and RD receivers syntax was improved. Now any command can use string concatenation (like d&z2),
integer modification (like d*5), SN:W string variable in the form of [?]s^var name^, SN:W integer
variable in the form of [?]i^var name^.
Examples:
- Concatenate string with existing variable and display result.
!!SN:W^report^/^Today we met a few strangers. They were^;
!!SN:W^report^/d&^ orcs^;
!!IF:M^%S(report)^; Today we met a few strangers. They were orcs
- Get current MP3 theme into named variable
!!MP:C?s^theme^;
!!IF:M^Current theme is %S(theme)^;
- Multiply number of creatures in the first slot of recruit dialog by 10 and display it
!!RD:C0/?t/d*10; type not changed, number multiplied by 10
!!RD:C0/?t/?i^numMons^;
!!IF:M^There are %I(numMons) creatures to hire^;
[+] Added support for SN:W variables interpolation inside ^...^. %S(var_name) for string values, %I(var_name)
for integer values. The total length of interpolated string must not exceed 1 MB.
[+] Replaced Heroes 3 random generator routine with world-wide known Mersenne Twister, generating
qualitative uniformly distributed sequences with huge periods.
[+] Added new ERM command BM:U6/?$, returning stack actual speed, including slow spell effect.
Note, BM:S always returns speed without slow spell effect.
[*] VR:T is deprecated and is equal to VR:R now. To get current time in milliseconds the following code can be used:
!!UN:C6529876/4/?t; t = timeGetTime function address
!!SN:Et/1; v1 = result
Use VR:R0/#new_seed to reseed random number generator.
Скачать