Jump to content
  • 0

is it possible to use sql query in item-db script


Kudo

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

hi guys! i have a question.. is it possible to have an item in item_db.txt that uses a script of sql-query like adding new information in some column in phpmyadmin

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Try use callfunc in item bonus scripts.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

On 8/6/2020 at 8:33 AM, aksehc said:

hi guys! i have a question.. is it possible to have an item in item_db.txt that uses a script of sql-query like adding new information in some column in phpmyadmin

Create a custom function and call it using { callfunc "Test"},{ Bonus script2},{ bonus script 3};

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

16 minutes ago, Poring King said:

Create a custom function and call it using { callfunc "Test"},{ Bonus script2},{ bonus script 3};

thx for the info 1 more thing is i already make this script.. but i need another information.. like i use the old purple box(example box only) 
how to make this 1.. if i have already existing information in database my box will not open or you cant use the box and will tell you that you already have record on our database

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

15 minutes ago, aksehc said:

thx for the info 1 more thing is i already make this script.. but i need another information.. like i use the old purple box(example box only) 
how to make this 1.. if i have already existing information in database my box will not open or you cant use the box and will tell you that you already have record on our database

You can add set .OneClaimOnly,1;

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  100
  • Reputation:   0
  • Joined:  08/18/12
  • Last Seen:  

1 hour ago, Poring King said:

You can add set .OneClaimOnly,1;

can you give me an example how to use this? 

Edited by aksehc
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...