this is two alias that i'm using as identifiers
prevtok {
var %tok = $iif($prop,$prop,1)
return $gettok($2-,$calc($findtok($2-,$1,%tok,32) - 1),32)
}
nextok {
var %tok = $iif($prop,$prop,1)
return $gettok($2-,$calc($findtok($2-,$1,%tok,32) + 1),32)
}
exemple:
(IRPG) Saga` (Gemini No Saga) a atteint le level 15 !!! Prochain level dans 0 jours, 01:32:39.
the red part could have one or many world so
$nextok(level,$1-) return 15
$nextok(level,$1-).2 return dans
it may be help someone else or be implemented in mIRC