Jump to content
  • 0

Build saver/loader script : Prevent build loading after rebirth ?


Auryn

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  147
  • Reputation:   1
  • Joined:  01/26/12
  • Last Seen:  

Hi, I apologise in advance about my poorly furnished english.

I tried putting a rebirth condition, not allowing non rebirth player to use the script to prevent exploits, but i'm now really sure about what I am doing.

Here it is :

(In French, cause I am..)

if (ADVJOB == 1) goto memo;

mes "[Mémorisateur]";
mes "Désolé, cette fonction est disponible aux joueurs rebirth uniquement.";
close;

memo:
set .BMMode,7;
set .MaxSlots,5;
set .StatRename,1;
setarray .BMCosts[1],
"3500", // Switch Builds Cost
"3500"; // Save Build Cost

mes "[Mémorisateur]";
mes ( isday() ? "Bonjour "+ strcharinfo(0) +"," : "Bonsoir "+ strcharinfo(0) +"," );
next;
mes "[Mémorisateur]";
mes "Je peux sauvegarder vos builds, et vous permettre de le changer pour un autre, préalablement enregistré.";
next;
mes "[Mémorisateur]";
mes "Je peux mémoriser ^FF00005^000000 de vos builds.";
while(1){
switch( select( ( .BMMode & 1 )?"^5533FFChanger de Build^000000 - [^FF00003.500 zeny^000000]":"",
( .BMMode & 1 )?"^5533FFSauvegarder Build^000000 - [^FF00003.500 zeny^000000]":"")){
	(Etc...)

I don't know anything about it " (ADVJOB == 1) ", I supposed it would mean what I was looking for but it seems not to.

If someone could explain to me the meaning of it, i would be very happy to read him.

From a french friend.

Edited by Auryn
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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