def message(self, u): if self.state == 0 and u == "v0rt3x": self.state = 1 queueconv(conversations["vortex1"]) global gamestate gamestate["localhost"].state = 2 return None return Host.message(self, u)
def message(self, u): if u == "v0rt3x" and self.state == 3: self.state = 4 queueconv(conversations["vortex3"]) unlockcommand("copy") return None elif u == "v0rt3x" and self.state == 4 and "d4eff2b.txt" in self.files: self.state = 5 queueconv(conversations["vortex4"]) unlockcommand("open", opn) global gamestate gamestate["localhost"].addfile("decrypt.exe") return None elif u == "v0rt3x" and self.state == 4: return "I don't got the data yet" elif u == "v0rt3x" and self.state == 6: self.state = 7 queueconv(conversations["vortex5"]) return None return Host.message(self, u)