my question is how to make kore detect the maps when i type in the @whereis id command in the console
example:
c @whereis 1001
the console then displays:
Scorpion spawns in:
moc_fild20 (70)
moc_fild17 (5)
how can i make kore detect the moc_fild20 using reg exp? i tried this code:
Code: Select all
automacro autowarp{
console /(.*)_(.*)/
run-once 1
call {
$try = $.lastMatch1
$try1 = $.lastMatch2
do c @warp $.lastMatch1_$.lastMatch2
}
}