Jump to content
  • 0

Global reg value euphy script


Fresh prince

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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 by AnnieRuru
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

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 ..

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

hahahaha ~~~ !!!
emistry wanna play with me, me happy <3
 

delete from global_reg_value where str regexp '^Build_[0-9]*(n)?.$$';
Edited by AnnieRuru
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

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 ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

And then it became very confusing :(

Both ways would end up working as like I wanted?

Thanks!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  295
  • Reputation:   6
  • Joined:  10/14/12
  • Last Seen:  

Thank you very much Miss Annie you've been so helpful, so as master Emistry.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...