Kod: Kodu kopyalamak için üzerine çift tıklayın!
dialog new_table {
title "New Project"
size -1 -1 102 45
option dbu
radio "Ses-1", 1, 2 4 50 10
radio "Ses-2", 2, 2 18 50 10
radio "Ses-3", 3, 2 30 50 10
}
alias ses if (!$dialog(new_table)) dialog -m new_table new_table
on *:dialog:new_table:*:*: {
if ($devent == sclick) {
if ($did == 1) set %aktifses $+(ses1.wav,¿,$did)
if ($did == 2) set %aktifses $+(ses2.wav,¿,$did)
if ($did == 3) set %aktifses $+(ses3.wav,¿,$did)
}
if ($devent == init) if (%aktifses) did -c $dname $gettok(%aktifses,2,191)
}
on *:text:*:?: if ($window(-2).state == minimized) || ($active != $nick) && ($isfile($shortfn($gettok(%aktifses,1,191)))) splay $shortfn($gettok(%aktifses,1,191))