Group Identifier Procedure


Author: Pigman168
Created: 2014-03-18T17:41:34-0400
Edited: 2014-03-18T17:41:34-0400
Denizen Version: 0.9.4
Views: 13
Downloads: 807
Likes: 1


WGET
Description: # This is a procedure to get the players GP groupname of the world he is currently in.
# The tag for getting this would be:
# <proc[PlayerGroup].context[<player.name>|<player.world.replace[w@]>]>
# Version: Current (0.9.4)

"PlayerGroup":
  type: procedure
  definitions: player|world
  script:
  - yaml load:../GroupManager/worlds/%world%/users.yml id:GroupManager
  - determine passively <yaml[GroupManager].read[users.%player%.group]>
  - yaml unload id:GroupManager




Comments
2014-03-20 17:20:38 - L1amm:

neat =)
2014-05-05 01:20:31 - |Anthony|:

A great simple example of something that could be very handy. Great job Pigman168! Come back! :D