Fresh prince Posted January 14, 2014 Posted January 14, 2014 Hello i would like to delete all save builds in Sir Euphy's build manager script. Please help me properly wipe the save builds. http://rathena.org/board/topic/64394-✰-euphys-scripts-✰/ Thank you very much! Quote
AnnieRuru Posted January 15, 2014 Posted January 15, 2014 (edited) delete from global_reg_value where str in ( 'Build_1$', 'Build_1n$', 'Build_2$', 'Build_2n$', 'Build_3$', 'Build_3n$', 'Build_4$', 'Build_4n$' );if you set .@BuildCount,4; of course Edited January 15, 2014 by AnnieRuru Quote
Emistry Posted January 15, 2014 Posted January 15, 2014 maybe you can try DELETE FROM `global_reg_value` WHERE `str` LIKE 'Build_%' ; it should be able to remove all regarding your setting for the .@buildcount .. 2 Quote
AnnieRuru Posted January 15, 2014 Posted January 15, 2014 (edited) hahahaha ~~~ !!!emistry wanna play with me, me happy <3 delete from global_reg_value where str regexp '^Build_[0-9]*(n)?.$$'; Edited January 15, 2014 by AnnieRuru 1 Quote
Emistry Posted January 15, 2014 Posted January 15, 2014 hahahaha ~~~ !!! emistry wanna play with me, me happy <3 delete from global_reg_value where str regexp '^build_[0-9]*(n)?.$$'; OMG...regexp ... >.< /me hate regexp ..coz i rarely success to write the regexp ... /.\ Annie is bullying me ... Quote
Fresh prince Posted January 16, 2014 Author Posted January 16, 2014 And then it became very confusing Both ways would end up working as like I wanted? Thanks!! Quote
AnnieRuru Posted January 16, 2014 Posted January 16, 2014 Both ways would end up working as like I wanted?in fact, all 3 answers are correct one my 1st one on post#2, only correct if .@BuildCount = 4 but on post#3 and post#4 can delete the entries no matter how many your .@BuildCount is all correct answer just using different command like I said in other topic if there are more than 1 scripter replied to your topic it also means more than 1 answer/solution to your question Quote
Fresh prince Posted January 16, 2014 Author Posted January 16, 2014 Thank you very much Miss Annie you've been so helpful, so as master Emistry. Quote
Question
Fresh prince
Hello i would like to delete all save builds in Sir Euphy's build manager script.
Please help me properly wipe the save builds.
http://rathena.org/board/topic/64394-✰-euphys-scripts-✰/
Thank you very much!
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.