It would be nice to have a command that should be followed by another command, and would allow the alias/event calling the command to keep any local variables set by the called alias. Example (above is most likely unclear :P):
Code:
on *:text:*:*: {
keepvars getinfo $nick
if ($1 == %localvar) {
.msg $iif($chan,$chan,$nick) %response
}
}
alias -l getinfo {
if ($hget(info,$1)) {
var %localvar = $gettok($v1,1,32), %response = $gettok($v1,2-,32)
}
}