Fresh prince Posted January 14, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 15, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 15, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 15, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 15, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
Fresh prince Posted January 16, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Author Share Posted January 16, 2014 And then it became very confusing Both ways would end up working as like I wanted? Thanks!! Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 16, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Fresh prince Posted January 16, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Author Share Posted January 16, 2014 Thank you very much Miss Annie you've been so helpful, so as master Emistry. Quote Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.