viewing paste Unknown #1636 | Python (console mode)

Posted on the
1 2 3 4 5 6 7 8 9 10 11
class TestNPC(NPC):
        def __init__(self):
                this.setClass(1002)
       
        def __click__(pc):
                pc.message("[Test NPC]\n")
                pc.message("Testing")
                pc.close()
 
def main(server):
        server.registerNPC("prontera", 150, 150, TestNPC)
Viewed 233 times, submitted by unknown.