http://wiki.openkore.com/index.php/Macro_plugin#Ifmacro checknum {
$num = @rand(1, 3)
if ($num == 1) call one
if ($num == 2) call two
if ($num == 3) call three
}
macro one {
log $num is 1
}
macro two {
log $num is 2
}
macro three {
log $num is 3
}
is this really will work?
do the same :
my massege ismacro resp {
$t = @random (1, 2)
if ($t == 1) call onea
if ($t == 2) call twoa
}
[macro] resp error: error in 1: syntax error in if statement
========================= solution - update plugins by TortoiseSVN ^^ thanks