Jump to content
  • 0

jack en poy


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

how do you make the jack en poy that comes in svn eathena that when you win 7 straight it would give an alice doll =D

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

prontera,156,182,5 script Jack en Poy 100,{

mes "[Jack en Poy]";
mes "Hi do you like to play jack en poy?";
next;
menu "Yes",L_YES,"No",L_NO;
L_NO:
next;
mes "[Jack en Poy]";
mes "Ok Comeback again.";
close;
L_YES:
next;
mes "[Jack en Poy]";
if(.@wincount == 7) {
mes "Wow your good!! ";
getitem 5137,1;
set .@wincount,0;
close;
}
mes "OK here goes";
set .@npcpoy, rand(1,3); // 1 = Rock , 2 = Paper, 3 = Scissors
set .@yourspoy, rand(1,3);
next;
mes ".....";
next;
if(.@npcpoy == 1 && .@yourspoy == 2) {
emotion e_paper, 1;
emotion e_rock, 0;
mes "You win!";
set .@wincount, .@wincount+1;
goto L_YES;
}
if(.@npcpoy == 1 && .@yourspoy == 3) {
emotion e_scissors, 1;
emotion e_rock, 0;
mes "You lose!";
set .@wincount, 0;
mes "Sorry dude! better luck next time!";
close;
}
if(.@npcpoy == 2 && .@yourspoy == 1) {
emotion e_rock, 1;
emotion e_paper, 0;
mes "You lose!";
set .@wincount, 0;
mes "Sorry dude! better luck next time!";
close;
}
if(.@npcpoy == 2 && .@yourspoy == 3) {
emotion e_scissors, 1;
emotion e_paper, 0;
mes "You win!";
set .@wincount, .@wincount+1;
goto L_YES;
}
if(.@npcpoy == 3 && .@yourspoy == 1) {
emotion e_rock, 1;
emotion e_scissors, 0;
mes "You win!";
set .@wincount, .@wincount+1;
goto L_YES;
}
if(.@npcpoy == 3 && .@yourspoy == 2) {
emotion e_paper, 1;
emotion e_scissors, 0;
mes "You lose!";
set .@wincount, 0;
mes "Sorry dude! better luck next time!";
close;
}
mes "Its a draw!";
goto L_YES;
}

how about this i made mine but this still needs an improvement :)

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