• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[REQUEST]New Idea :D --- [HELP !!! ] EVERY ONE WILL LIKE IT

mesosot

Member
Joined
Aug 16, 2007
Messages
356
Reaction score
5
Hello There ...

I Just Got this Idea ...

That The Player Got A Wand Which Use It On Any Tile on The ground " right click then use then on the ground" And A Portal Appear That Teleport Him To Temple it take about 10 Seconds and it dissaper....Like a teleport wand:P any one Can Do Shuch Scripts ??
Knowing That Wand ID is “XXXX”
The Forgotten Server - Version 0.2.2 (Mystic Spirit).
 
Last edited:
YEah And Ai Write LikE THIsS anD yoU bumP LoTS alSo I DOnT knoW engGLish.
I guess no one wants to post because no one can read what you just wrote.
 
Hmm... Try this one :)

Code:
local wand = 2342 --- wand id
local tptime = 10 --- in seconds
local tpdestination = {x=527, y=310, z=11, stackpos=253}---temple
local wodyVoidyIInne = {1234, 4312, 43124}


function remove()
doCreatureSay(cid, "Teleport has been removed.", TALKTYPE_ORANGE_1)
return TRUE
end

function onUse(cid, item, frompos, item2, topos)	
	if (isMovable(item2.itemid) == false and not isInArray(wodyVoidyIInne, item2.itemid)) then
		postp = getThingPos(item2)
		doCreateTeleport(itemid, tpdestination, postp)
		addEvent(remove, tptime*1000)
		doRemoveItem(getThingfromPos(postp)
		doPlayerRemoveItem(cid, wand, 1)
	else
		doPlayerSendCancel(cid, "Sorry that is not possibile")
	end
return TRUE
end

and in actions.xml add
Code:
<action itemid="writewandidhere" script="wand.lua"/>
 
Back
Top