
alias shell {
  return immagini\fast.ico
}

alias xpopdll {
  if ($isid) return $dll($mircdiraddons\dll\xpopup\XPopup.dll,$1,$2-)
  else dll " $+ $mircdiraddons\dll\xpopup\XPopup.dll"  $1 $2-
}

alias uxpop dll -u $mircdiraddons\dll\xpopup\XPopup.dll

alias xpop {

  if ( $isid ) {
    return $xpopdll( _xpop, $1 $prop $2- )
  }
  else {
    xpopdll xpop $2 $1 $3-
  }
}

alias xpopup {

  if ( $isid ) {
    return $xpopdll( _xpopup, $1 $prop $2- )
  }
  else {
    xpopdll xpopup $2 $1 $3-
  }
}

alias mpopup {
  xpopdll mpopup $1 $2
}

alias PannelloControllo {
  if ($xpopup(agg).ismenu) { xpopup -d agg }
  xpopup -c agg custom 
  xpopup -x agg +dp
  xpopup -s agg +m $mouse.dx $mouse.dy

}

alias mtest {
  xpopup -i mirc 0 $shell
  mpopup mirc 1
  xpopup -t mirc custom
  xpopup -b mirc $mircdiraddons/dll/xpopup/mc.bmp

}

alias mtest2 {
  xpopup -i mircbar 0 $shell
  mpopup mircbar 1
  xpopup -t mircbar custom
  xpopup -b mircbar $mircdiraddons/dll/xpopup/mc.bmp
}
