SphereCommunity
Teleport Staff - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Requests (/Forum-Script-Requests)
+--- Thread: Teleport Staff (/Thread-Teleport-Staff)



Teleport Staff - Lano - 08-19-2018 11:46 PM

Hello.

Some years back there was a nice gm tool here on the forums.
A staff that when doubleclicked you could target characters, npcs or items or whatever, and then choose where to teleport them to...

Some still has that, or something like it?
(I have searched through the search function with no luck)


RE: Teleport Staff - Llirik - 08-20-2018 05:09 AM

i_crook_thin?


RE: Teleport Staff - mrkarlo - 08-20-2018 07:20 AM

hey it might help
Code:
[ITEMDEF i_gm_crook]
ID=013f4
Name=GM Crook
TYPE=T_WEAPON_MACE_STAFF
DAM=200
TWOHANDS=Y
WEIGHT=0
ON=@Create
ATTR=ATTR_Newbie
HITPOINTS=1000
MORE2=0
COLOR=2482


ON=@DCLICK
//If (<SRC.ACCOUNT.PLEVEL>==4)
TARGET Select a target.
RETURN 1
//Else
//SRC.SysMessage You are not GM!
//SRC.FindLayer(2).UnEquip
//Return 1
//EndIf

ON=@TARGON_ITEM
SRC.SYSMESSAGE You not can`t teleported <SRC.TARG.NAME> this item.
RETURN 1

ON=@TARGON_CHAR
LINK=<SRC.TARG.UID>
TARGETG Do you want a teleport <SRC.TARG.NAME>?
RETURN 1

ON=@TARGON_GROUND
LINK.GO <SRC.TARGP>
RETURN 1



RE: Teleport Staff - Lano - 08-20-2018 04:13 PM

Thank you!


RE: Teleport Staff - solbado - 11-24-2020 01:58 AM

nice work Big Grin