Get Level
This is a command to return the current race level of the user.
The correct syntax is:
<variable> = wcs.Command(<userid>).GetLevel()
- Variable - A local variable that will store the race level of the user. This can be anything you want to call it.
- Userid - The user's ID of the player who you wish to retrieve their level
Example:
def player_say(ev):
if ev['text'] == "mylevel":
racelevel = wcs.Command(ev['userid']).GetLevel()
es.msg('Your race level is %s'%racelevel)
Comments (0)
You don't have permission to comment on this page.