Shadow0049 Posted November 16, 2004 Report Share Posted November 16, 2004 (edited) 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 Edited November 16, 2004 by Shadow0049 Link to comment Share on other sites More sharing options...
Warrior124 Posted November 17, 2004 Report Share Posted November 17, 2004 I don't know if this will help, but try using if ($did(1).sel == 3) .load -rs $scriptdiraident.mrc instead of if ($did(1).sel == 3) .load -rs " $+ $scriptdiraident.mrc " Link to comment Share on other sites More sharing options...
Shadow0049 Posted November 17, 2004 Author Report Share Posted November 17, 2004 didnt work.. i still need help! Link to comment Share on other sites More sharing options...
tidy trax Posted December 5, 2004 Report Share Posted December 5, 2004 (edited) on *:dialog:modules:sclick:*: { if ($did == 4) { if ($did(1).sel == 2) { .load -rs " $+ $scriptdirajoin.mrc" modulelist.write } elseif ($did(1).sel == 3) { .load -rs " $+ $scriptdiraident.mrc" modulelist.write } } elseif ($did == 5) { if ($did(1).sel == 2) { .unload -rs " $+ $scriptdirajoin.mrc" modulelist.write } elseif ($did(1).sel == 3) { .unload -rs " $+ $scriptdiraident.mrc" modulelist.write } } } Edited December 5, 2004 by tidy trax Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now