Jump to content
  • 0

Put Scripts In Succession


dezmay

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  11/17/16
  • Last Seen:  

Now i have numerous working event script thanks to everyone. May question would be. How can i put all those scripts in a single file so they will run in succession? Like the second event will not run if the first one is not finish yet?

Thank you for so much learning and help.

Edited by dezmay
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

you are looking for euphy event manger which is paid script but not available(which is not available anymore) even if someone got its having bugs with the latest version! hope someone fix it
or you can use the free event manger release by stolao script 
 

Edited by Cyro
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  11/17/16
  • Last Seen:  

thank you i'll try Stolao.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  11/17/16
  • Last Seen:  

4 hours ago, Cyro said:

you are looking for euphy event manger which is paid script but not available(which is not available anymore) even if someone got its having bugs with the latest version! hope someone fix it
or you can use the free event manger release by stolao script 
 

anyhow on how to change the prize to cashpoint?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

Change getitem to 

set #CASHPOINTS,#CASHPOINTS+100;

Edited by Cyro
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  11/17/16
  • Last Seen:  

54 minutes ago, Cyro said:

Change getitem to 

set #CASHPOINTS,#CASHPOINTS+100;

Stolao done it differently no getitem and prize being sent via mail.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

you do two things to make it work

1)edit the script and make it give rewards directly instead of updating sql with query_sql 
2)make an item which can be usable/ tradble with npc for cash points  

3000,Gcoin,Credit Coin,0,5000,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+500;specialeffect2 590; dispbottom  "You got 500CP, now"+strcharinfo(0)+" have "+#CASHPOINTS+" Cashpoints in Total";},{},{}

this db code is for usable cash coin/

edit your lua file as you need

Edited by Cyro
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  11/17/16
  • Last Seen:  

7 hours ago, Cyro said:

you do two things to make it work

1)edit the script and make it give rewards directly instead of updating sql with query_sql 
2)make an item which can be usable/ tradble with npc for cash points  


3000,Gcoin,Credit Coin,0,5000,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+500;specialeffect2 590; dispbottom  "You got 500CP, now"+strcharinfo(0)+" have "+#CASHPOINTS+" Cashpoints in Total";},{},{}

this db code is for usable cash coin/

edit your lua file as you need

thank you so much i'll try. one more. how can i make other event script run when the first event ended via announcement?

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