featurelist.orgfeaturelist.org
 
U
D
5 points - posted 3448 days ago by Omega_K2 - status: Active - 0 comments watch embed this
es.getcmduserid should return 0 if used after a command registered by es.regcmd.<br>
This would be useful because you do not need to have a seperate function for the server command.<br>
This would be unnecessary than:<br><br>

<python>
def servercmd&#40;&#41;:
function(0)

def cmd&#40;&#41;:
function(es.getcmduserid())

def function(userid):
some code
</python>