0 Members and 1 Guest are viewing this topic.
wow thank you megiddo To tell the truth didn't think this would get answered.
It made sense.The old immunity would allow targeting of one self if that person had immunity.The change Megiddo just kind of matches that ability to.
ulx userallow Bob "ulx slap" "!%regular ^"
Question, if I set something up like this,Code: [Select]ulx userallow Bob "ulx slap" "!%regular ^"would this allow Bob to slap everyone below Regular, as well as himself?Or would it make it so he can only slap himself if he's below Regular?
] ulx whoID Name Group1 [ULX]Megiddo superadmin] ulx slap ^You slapped yourself with 0 damage] ulx userallow ^ "ulx slap" "!%admin"You granted access to ulx slap with access tag !%admin for yourself] ulx slap ^Command "ulx slap", argument #1: you cannot target this person or these persons] ulx userallow ^ "ulx slap" "!%admin,^"You granted access to ulx slap with access tag !%admin,^ for yourself] ulx slap ^You slapped yourself with 0 damage
Log:The "," means and while it's being parsed. So with userallow "ulx slap" "!%superadmin,^", you're saying the person can slap anyone who is not a superadmin (or higher) and themselves.