Jump to content
  • 0

Requesting for Emperium Points


Famous

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

Can I request for this script every time the breaker will break the emp during woe he can het points that can trade to example TCG

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  218
  • Reputation:   16
  • Joined:  01/24/12
  • Last Seen:  

You could set a variable after OnAgitBreak: like...

set empbrk,empbrk+1;

And then you could have a TCG Exchanger that'll be based on the 'empbrk' variable.

if(empbrk >= 1) goto menu;
mes "I'm sorry but you haven't broke an emperium yet. Come talk to me when you do.";
close;

menu:
mes "Current exchange rates are 1 Emp Break for 10 TCGs. Would you like to trade?";
switch(select("Yes:No thanks!")) {
case 1:
mes "Here ya go!";
set empbrk,empbrk-1;
getitem xxx,10; // Change xxx to item id of TCG.
close;

case 2:
close;
}
}

Edited by Eden
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

done :) thanks!!

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