caspa Posted May 3, 2012 Posted May 3, 2012 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 Quote
deathscythe13 Posted May 4, 2012 Posted May 4, 2012 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 Quote
Question
caspa
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
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.