• 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] for a little script :)

Tibia Rox

Member
Joined
Feb 4, 2009
Messages
1,181
Reaction score
9
Location
U.S.A
I need a script so that when you walk over electric sparks (the wall), you have to be over a certain level to pass.

If your not that level, it will say somthing like The wall seems to be protected against unwanted intruders.

Please, if you can make this for me, post! Thanks in advance :)
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mod name="bugedS" version="1.0" author="OzIcO" contact="in my house" enabled="yes">
	<movevent type="StepIn" actionid="10100" event="script"><![CDATA[
		if isPlayer(cid) then
			if getPlayerLevel(cid) >= 200 then
				return true
			else
				doTeleportThing(cid, fromPosition)
				doPlayerSendCancel(cid, "The wall seems to be protected against unwanted intruders.")
			end
		end
		return true
	]]></movevent>
</mod>
mods makes me wanna cum ;S
 
Code:
[02/04/2010 17:46:24] [Error - LuaScriptInterface::loadFile] data/actions/scripts/wall.lua:1: unexpected symbol near '<'
[02/04/2010 17:46:24] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/wall.lua)
[02/04/2010 17:46:24] data/actions/scripts/wall.lua:1: unexpected symbol near '<'
?
 
Ohh

Thanks! +Repp

Btw, quick question:

How can I change it wso that when I log into my God character, I dont log in with the god outfit?

(I know Ive seen it somewhere :))
 
Last edited by a moderator:
Back
Top