|
@@ -68,32 +68,34 @@ act ''+iif(settingmode = 1, '<center><b>Install new mod</b></center>','Install n
|
|
gt 'mod_setting'
|
|
gt 'mod_setting'
|
|
end
|
|
end
|
|
|
|
|
|
-act ''+iif(settingmode = 1, '<center><b>Disable all mods</b></center>','Disable all mods')+'':
|
|
|
|
- if input('Are you sure? ALL mod will be disabled!<br>please input <b>qqq</B> to confirm') = 'qqq':
|
|
|
|
- if mod_list > 0:
|
|
|
|
- mod_i=mod_list
|
|
|
|
- :mod_data_remover
|
|
|
|
- if $mod_name[mod_i] ! '':
|
|
|
|
- $mod_su_name = 'mod_<<$mod_name[mod_i]>>_onremove'
|
|
|
|
- if LOC($mod_su_name): gs $mod_su_name
|
|
|
|
- end
|
|
|
|
- if mod_i > 0:
|
|
|
|
- mod_i-=1
|
|
|
|
- jump 'mod_data_remover'
|
|
|
|
|
|
+if mod_list > 0:
|
|
|
|
+ act ''+iif(settingmode = 1, '<center><b>Disable all mods</b></center>','Disable all mods')+'':
|
|
|
|
+ if input('Are you sure? ALL mod will be disabled!<br>please input <b>qqq</B> to confirm') = 'qqq':
|
|
|
|
+ if mod_list > 0:
|
|
|
|
+ mod_i=mod_list
|
|
|
|
+ :mod_data_remover
|
|
|
|
+ if $mod_name[mod_i] ! '':
|
|
|
|
+ $mod_su_name = 'mod_<<$mod_name[mod_i]>>_onremove'
|
|
|
|
+ if LOC($mod_su_name): gs $mod_su_name
|
|
|
|
+ end
|
|
|
|
+ if mod_i > 0:
|
|
|
|
+ mod_i-=1
|
|
|
|
+ jump 'mod_data_remover'
|
|
|
|
+ end
|
|
|
|
+ killvar '$mod_su_name'
|
|
|
|
+ killvar 'mod_i'
|
|
end
|
|
end
|
|
- killvar '$mod_su_name'
|
|
|
|
- killvar 'mod_i'
|
|
|
|
- end
|
|
|
|
|
|
|
|
- killqst
|
|
|
|
- set mod_list=0
|
|
|
|
- killvar '$mod_name'
|
|
|
|
- killvar '$mod_version'
|
|
|
|
- killvar '$mod_author'
|
|
|
|
- killvar '$mod_desc'
|
|
|
|
- killvar '$mod_opt'
|
|
|
|
- msg 'All mod disabled. You can re-install them later.'
|
|
|
|
- gt 'mod_setting'
|
|
|
|
|
|
+ killqst
|
|
|
|
+ set mod_list=0
|
|
|
|
+ killvar '$mod_name'
|
|
|
|
+ killvar '$mod_version'
|
|
|
|
+ killvar '$mod_author'
|
|
|
|
+ killvar '$mod_desc'
|
|
|
|
+ killvar '$mod_opt'
|
|
|
|
+ msg 'All mod disabled. You can re-install them later.'
|
|
|
|
+ gt 'mod_setting'
|
|
|
|
+ end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
--- mod_setting ---------------------------------
|
|
--- mod_setting ---------------------------------
|