• 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!

Clary Request thread

Status
Not open for further replies.

Clary

New Member
Joined
Mar 7, 2008
Messages
1,007
Reaction score
1
Do u need any action script? or talk action? or move event?
Request it here and I will make it for u asap if I can


Remember only action, talk & move nothing else.
Move only stepin alone and maybe stepout alone

Yours,
Clary
 
Last edited:
haha ty! Well after I thinked I found that me and u couldn't find idea's and since we script for fun So, I suggested creating a thread where I/we do for ppl what they need but they can't create xD
 
Sure! You want it using lever?
anyway here is it:
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.actionid == 28001 and item.itemid == 1945 then
local pos1 = {x=1001, y=1005, z=7, stackpos=1}
doRemoveItem(getThingfromPos(pos1).uid)
doSummonCreature("MONSTERNAME", pos1)
doTransformItem(item.uid,1946)
else
doTransformItem(item.uid,1945)
end
return 1
end

Till me if u face any problem :)
 
Last edited:
Okay.

I request movements script, based on new lua function
doPlayerResetIdleTime()
. If someone is staying in on tile for like 10 minutes then it says "Push the laver or you'll be kicked". Thanks in advance :).
 
I don't think that is possible bec. that one means reset idle time
not if getidletime
 
Okay.

I request movements script, based on new lua function . If someone is staying in on tile for like 10 minutes then it says "Push the laver or you'll be kicked". Thanks in advance :).

Like this? :eek:
PHP:
local event = 0
function onStepIn(cid, pos) -- idk what args but w/e xD
    event = addEvent(warnPlayer, 10 * 60 * 1000, cid)
    return TRUE
end 

function onStepOut(cid, pos)
    if getPlayerStorageValue(cid, 1233) == TRUE then
        setPlayerStorageValue(cid, 1233, FALSE)
    end
    stopEvent(event)
    return TRUE
end

function warnPlayer(cid)
    setPlayerStorageValue(cid, 1233, TRUE)
    doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Please click the lever!")
end

PHP:
function onUse(cid, item)
    if item.itemid == 1946 then
        doTransformItem(item.uid, 1945)
    elseif getPlayerStorageValue(cid, 1233) == TRUE then
        doPlayerSendTextMessage(cid, 22, "You made it newb")
        setPlayerStorageValue(cid, 1233, FALSE)
        doPlayerResetIdleTime(cid)
        doTransformItem(item.uid, 1946)
    end
    return TRUE
end

test it plx
 
Last edited:
Okay Clary i need a talkaction script... When i cast a spell the name of spell is display up of character... like Utani gran hur in normal tibia replaced in orange text Strong Haste
 
Here you go:
put this in data/talkactions/scripts
Haste.lua
PHP:
function onSay(cid, words, param)
doSendAnimatedText(getPlayerPosition(cid), "Strong Haste", TEXTCOLOR_ORANGE)
end
and put this in data/talkactions/talkactions.xml
Code:
	<talkaction words="utani gran hur" script="Haste.lua"/>
 
Last edited:
Status
Not open for further replies.
Back
Top