Here Ya go!:wave::wave:
We will start by Creating the spell that will teleport the player(We will modify an existing one).
Open the "Teleport_Coords" table and find a spell that is probly not used.
I will use the one with id 11362 because it won't have any cooldown.
1. "id". Let it the same and remember it.
2. "name". choose a name for your spell (Won't be shown)
3. Positions: Type .gps in the game to get them for this tutorial, my item is teleporting you to a Leveling Area.
4. "totrigger". Won't be used.
Now your Spell is created!
Now we will make the item that will teleport the player on use.
Create a new Item
Modify those informations:
id: The id of the item (high number like 90001)
Class: 15
field4: -1
name1: The name of your item (Nythign U like)
DisplayId: I suggest 26772 (look down for the image)
Flags: 64
allowableclass: -1
allowablerace: -1
maxcount: Number of this item you can have (0 is for any number)
spellid_1: It's the "teleport_coords" id (11362 is mine)
26772 display id image:
Then That's it Reload ur DB by .reload items{i think tht is right command}