Name: Donor Teleports
Usage: /casino
Type: Player Any Chat
Conditionals: STARTSWITH:/casino||ALEVEL:=490||HASFUNDS:{player_steamid},20
Script:
.BANKWITHDRAW:{player_steamid},20
teleportplayer {player_steamid} {tele_casino}
sayplayer {player_steamid} "[AE00FF] Whoosh, your at the casino where you will turn into a zombie if you get a lap dance."
Setting up donor only teleports
I have thought of a way to add donor teleports that only that donor can use. Before I was just setting up teleports at permission level 500 (my donor admin level). The problem with that is another donor with that permission level can teleport if they know the command.
To remedy this, just use the ALEVEL:=490 variable.
Each donor can have their own ALEVEL and as long as it is less than the 500 level, everything will work fine.
So at the 500 level, I have /lounge setup as a donor only teleport that any donor can go to. And then each donor gets their own permission level less than 500.
player a ALEVEL:=490
player b ALEVEL:=489
player c ALEVEL:=488
and so on
The only drawback to this is that the player can't set it up themselves or edit it. And each teleport name has to be unique. It is usually not a big deal because they don't change much anyway.