Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Gengar on July 08, 2014, 07:31:35 PM

Title: Disallow Targeting of Self?
Post by: Gengar on July 08, 2014, 07:31:35 PM
Hello.  I was wondering if it's possible to make it to where you cannot target yourself?  Teleporting yourself with ulx teleport isn't trackable in the logs, hence abusable.  I know that !%rank makes it to where you can target all but that rank and above, but I'm wondering if there's a way to make it to where you cannot target yourself at all?
Title: Re: Disallow Targeting of Self?
Post by: Decicus on July 08, 2014, 07:33:41 PM
"^" is the flag for targetting yourself. Therefore you can do "!%^".
If you'd like to do "!%rank" as well, you can seperate with comma, so it would be: "!%^, !%rank".
Title: Re: Disallow Targeting of Self?
Post by: Gengar on July 08, 2014, 07:46:44 PM
Eh that's a little confusing for my dumb brain.  What exactly would I have to put here so that a group cannot target themselves with this ulx teleport command?  Also so that it doesn't conflict with the current permissions. (I have it to where these specific groups can !%rank)

(http://i.imgur.com/L8GkN8B.png)
Title: Re: Disallow Targeting of Self?
Post by: Decicus on July 08, 2014, 07:49:16 PM
That looks good. It should follow inheritance if I remember right.
Title: Re: Disallow Targeting of Self?
Post by: Gengar on July 08, 2014, 07:52:47 PM
What I have entered already doesn't work :(  I've added myself to the group I was editing and I was still able to teleport myself.
Title: Re: Disallow Targeting of Self?
Post by: Decicus on July 08, 2014, 08:07:10 PM
Oh my bad. Remove the "%", so it just says "!^". That should work.
Sorry for the mistake.
Title: Re: Disallow Targeting of Self?
Post by: Gengar on July 08, 2014, 08:19:33 PM
thank you  8)  ;D
Title: Re: Disallow Targeting of Self?
Post by: Stickly Man! on July 08, 2014, 09:59:57 PM
I can't remember how this works exactly, but you may want to double check:

Leaving the "Ignore can_target" value checked will make the permissions not obey the current group settings- as in, your lower groups that have access to "tp" may now be able to teleport the admins and superadmins. If you leave it unchecked, it should still let them not teleport themselves, but also not teleport those in groups above them (based on your can_target value for the group).