moduleDepends(p("[text server]","[api]","commands")) global textRequest def textRequest(self,command,args): if len(args) < 2: return ["error","nonfatal","syntax","Correct syntax: " +command+ ",,,[arg1],[arg2],..."] response = [command,args[0]] + textCommandRun(self,args[1:]) return response textCommandAddHandler("req",textRequest)