Code:

alias ShowSwitchbar return $iif($gettok($readini($mircini, Options, n5), 23, 32), $true, $false)
alias SwitchbarPosition {
  var %Position = $gettok($readini($mircini, Options, n4), 21, 32)
  if (%Position == 3) return Right
  elseif (%Position == 2) return Left
  elseif (%Position == 1) return Top
  else return Bottom
}

if ($ShowSwitchbar) { commands }
if (($ShowSwitchbar) && ($SwitchbarPosition == Left)) { commands }


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C