• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[Simple] REQUEST

Status
Not open for further replies.

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
The player use one lever and the script speak "Soon, www.OT.net" :)

thx

(PS: Mod plx)
 
LUA:
local msg= "Soon, www.OT.net"
function onUse(cid, item, fromPosition, itemEx, toPosition)
 doPlayerSendTextMessage(cid,22,msg)
return doTransformItem(item.uid,( item.itemid == 1945 and 1946 or 1945 ))
end
 
o.0 mod lol
LUA:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="Simple script" version="1.0" author="Damadger" contact="otland.net" enabled="yes">

<config name="tutorial_m"><![CDATA[

msg = "Soon, www.OT.net" 
 -- you will put the action id you defin down on the lever

]]></config>

<action actionid="2275" event="script"> <![CDATA[
		domodlib('tutorial_m')

function onUse(cid, item, fromPosition, itemEx, toPosition)
 doPlayerSendTextMessage(cid,22,msg)
return doTransformItem(item.uid,( item.itemid == 1945 and 1946 or 1945 ))
end

]]> </action>

</mod>
 
Status
Not open for further replies.
Back
Top