def do_0reloadscript(self, pc, openchattext): arg = simplehandle(pc, openchattext, "reloadscript") if arg: print "[ map ]", "reloading script ...", eventobj.servermessage(pc, "reloading script", True) #fast = True pc.e.eventhandle.loadscript(os.getcwd() + "/Script") print "over" eventobj.servermessage(pc, "over")
def do_0reloadscript(self, pc, openchattext): arg = simplehandle(pc, openchattext, "reloadscript") if arg: print "[ map ]", "reloading script ...", eventobj.servermessage(pc, "reloading script", True) #fast = True pc.e.eventhandle.loadscript(os.getcwd() + "/Script") print "over" eventobj.servermessage(pc, "over")
def do_0servermessage(self, pc, openchattext): arg = simplehandle(pc, openchattext, "servermessage", "!sm servermessage") if arg: eventobj.servermessage(pc, arg)
def do_0servermessage(self, pc, openchattext): arg = simplehandle(pc, openchattext, "servermessage", "!sm servermessage") if arg: eventobj.servermessage(pc, arg)