on *:dialog:modules:sclick:*: {
if ($did == 4) {
if ($did(1).sel == $null) halt
if ($did(1).sel == 2) .load -rs " $+ $scriptdirajoin.mrc " | modulelist.write
if ($did(1).sel == 3) .load -rs " $+ $scriptdiraident.mrc " | modulelist.write
}
if ($did == 5) {
if ($did(1).sel == $null) halt
if ($did(1).sel == 2) .unload -rs " $+ $scriptdirajoin.mrc " | modulelist.write
if ($did(1).sel == 3) .unload -rs " $+ $scriptdiraident.mrc " | modulelist.write
}
}
it loads ajoin.mrc, but it wont oad aident.mrc. the reason it starts at ==2 instead of ==1 is that i have it MDX configured in list mode.. the list headers count as a row.
some1 plz tell me why it wont load aident.mrc
P.S. This is for mIRC
P.P.S. i havent tested it yet with more than 2 scripts... dont know if that matters