Jump to content
  • 0

Global reg value euphy script


Question

7 answers to this question

Recommended Posts

Posted (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 by AnnieRuru
Posted

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
Posted (edited)

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
Posted

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

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...