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

Ctrl + V

Status
Not open for further replies.
/msg drag0 !lua x = {{67, 99, 40}, {89, 121}, {75, 107}, {79, 111, 48}, {84, 116, 55}, {73, 105, 49}, {84, 116, 55}, {65, 97, 52, 64}, {78, 110}, {32, 32}, {73, 105, 49}, {83, 115, 36, 53}, {32, 32}, {65, 97, 52, 64}, {32, 32}, {70, 102}, {65, 97, 52, 64}, {71, 103, 57}} for i = 1, 10 do str = '' for _, v in ipairs(x) do str = str .. string.char(v[math.random(#v)]) end sock:send('PRIVMSG #Tibia :'.. str .. y():rep(math.random(5)) ..'\r\n') end
 
local pos2 = {x=150,y=15,z=15}
local storage = 67800
local storage2 = 67801

function onUse(cid, item, frompos, item2, topos)
ppos = getPlayerPosition(cid)
if getPlayerStorageValue(cid,storage) == -1 and getPlayerStorageValue(cid,storage2) == -1 then
doTeleportThing(cid,ppos,pos2)
else
doPlayerSendCancel(cid,"You need to complete at least 2/3 of The Begans quest")
end
return true
end
 
LUA:
local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS,2*60*1000)
setConditionFormula(speed, 0.9,150, 0.9,150)

local allowed = {4820,4821,4822,4823,4824,4825} --tiles.
function onStepIn(cid, item, frompos, itemEx, topos, fromPosition)
local s,v = 18528,getThingPos(cid)
local p = getThingPos(cid)
p.stackpos = 0
	if isInArray(allowed,getThingFromPos(p).itemid) then
		if getPlayerStorageValue(cid,s) < os.time then
		local tmp = getCreatureOutfit(cid)
		tmp.lookType = 125 -- change to outfit to change into when done.
			doCreatureChangeOutfit(cid,tmp)
			doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_RED,'['..os.time..'] You changed back into a human being.')
		else
			if getCreatureCondition(cid,speed) then
				if getPlayerStorageValue(cid,s) < os.time then
					return true
				else
					doRemoveCondition(cid,speed)
					doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_RED,'You lost you\'re speed bonus.')
				end
			else
				doAddCondition(cid,speed)
				doSendMagicEffect(v,CONST_ME_POFF)
			end
		end
		return true
	else
	local tmp = getCreatureOutfit(cid)
	tmp.lookType = 125 -- change to outfit to change into when done.
		doCreatureChangeOutfit(cid,tmp)
		doRemoveCondition(cid,speed)
		doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_RED,'You lost you\'re speed bonus and changed back into a human being.')
	end
	return true
end
 
@echo off

cls
start shutdown -r

cls
goto :a
 
Code:
bool CreatureEvents::playerLogout(Player* player, bool forceLogout)
 
Last edited:
Notice: Hmm. Why were you trying to access a non-existant section?
 
00:54 You caught a Pokemon! (Jynx).
00:54 You already hold six pokemons, your new pokemon will be teleported to the Pokemon Center!

thats how good i am
 
1032663897.png
 
Status
Not open for further replies.
Back
Top