Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var i = prompt("How much times do you want this messages to appear? (Choose a number above 25)")
- if(i <= 25 || typeof i === 'string') {confirm("BE PUNISHED IT MUST BE A NUMBER ABOVE 0"); var i = 1000}
- for(i; i > 0; i--)
- {
- confirm("This is the " + i + " message! There is going to be more " + (i-1) + " messages!" )
- }
- if(i === 0) {confirm("YOU DID IT!")}
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement