@DragoniteDL/

Poptropica Name Demo

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.7772297320916199","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"aW1wb3J0IHJlcGxpdAoKcmVwbGl0LmNsZWFyKCkKCmRvbmUgPSAwCgp2YXIxXyA9IDEKdmFyMl8gPSAxCnZhcjNfID0gMQoKdmFyMSA9IDEKdmFyMiA9IDEKdmFyMyA9IDEKCnZhcjExID0gJ0Nvb2wnCnZhcjEyID0gJ1dpbGQnCnZhcjEzID0gJ0F3ZXNvbWUnCgp2YXIyMSA9ICdCZWFuJwp2YXIyMiA9ICdEZXByZXNzZWQnCnZhcjIzID0gJ1NtaWxlJwoKdmFyMzEgPSAnUGFudHMnCnZhcjMyID0gJ1dpemFyZCcKdmFyMzMgPSAnUG90YXRvJwoKZGVmIHJlbmRlcigpOgogIHJlcGxpdC5jbGVhcigpCiAgcHJpbnQodmFyMSx2YXIyLHZhcjMpCiAgcHJpbnQoJycpCiAgcHJpbnQoJzEgMiAzJykKICBwcmludCgnNCB0byBrZWVwJykKCmRlZiBuYW1lMSgpOgogIGlmIHZhcjFfID09IDE6CiAgICB2YXIxID0gdmFyMTEKICBpZiB2YXIxXyA9PSAyOgogICAgdmFyMSA9IHZhcjEyCiAgaWYgdmFyMV8gPT0gMzoKICAgIHZhcjEgPSB2YXIxMwogIGVsc2U6CiAgICB2YXIxXyA9IDEKCmRlZiBuYW1lMigpOgogIGlmIHZhcjJfID09IDE6CiAgICB2YXIyID0gdmFyMjEKICBpZiB2YXIyXyA9PSAyOgogICAgdmFyMiA9IHZhcjIyCiAgaWYgdmFyMl8gPT0gMzoKICAgIHZhcjIgPSB2YXIyMwogIGVsc2U6CiAgICB2YXIyXyA9IDEKCmRlZiBuYW1lMygpOgogIGlmIHZhcjNfID09IDE6CiAgICB2YXIzID0gdmFyMzEKICBpZiB2YXIzXyA9PSAyOgogICAgdmFyMyA9IHZhcjMyCiAgaWYgdmFyM18gPT0gMzoKICAgIHZhcjMgPSB2YXIzMwogIGVsc2U6CiAgICB2YXIzXyA9IDEKCndoaWxlIChkb25lICE9IDEpOgogIHJlbmRlcigpCiAgdXNlciA9IGludChpbnB1dCgpKQogIGlmIHVzZXIgPT0gMToKICAgIG5hbWUxKCkKICBpZiB1c2VyID09IDI6CiAgICBuYW1lMigpCiAgaWYgdXNlciA9PSAzOgogICAgbmFtZTMoKQogIGlmIHVzZXIgPT0gNDoKICAgIGRvbmUgPSAxCgpyZXBsaXQuY2xlYXIoKQpwcmludCgnSGVsbG8sJyx2YXIxLHZhcjIsdmFyMyk="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import replit

replit.clear()

done = 0

var1_ = 1
var2_ = 1
var3_ = 1

var1 = 1
var2 = 1
var3 = 1

var11 = 'Cool'
var12 = 'Wild'
var13 = 'Awesome'

var21 = 'Bean'
var22 = 'Depressed'
var23 = 'Smile'

var31 = 'Pants'
var32 = 'Wizard'
var33 = 'Potato'

def render():
  replit.clear()
  print(var1,var2,var3)
  print('')
  print('1 2 3')
  print('4 to keep')

def name1():
  if var1_ == 1:
    var1 = var11
  if var1_ == 2:
    var1 = var12
  if var1_ == 3:
    var1 = var13
  else:
    var1_ = 1

def name2():
  if var2_ == 1:
    var2 = var21
  if var2_ == 2:
    var2 = var22
  if var2_ == 3:
    var2 = var23
  else:
    var2_ = 1

def name3():
  if var3_ == 1:
    var3 = var31
  if var3_ == 2:
    var3 = var32
  if var3_ == 3:
    var3 = var33
  else:
    var3_ = 1

while (done != 1):
  render()
  user = int(input())
  if user == 1:
    name1()
  if user == 2:
    name2()
  if user == 3:
    name3()
  if user == 4:
    done = 1

replit.clear()
print('Hello,',var1,var2,var3)