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

Fake Lua Functions

Sync

Ø,ø
Joined
May 26, 2009
Messages
1,901
Reaction score
26
Location
Canada
Well basically, i was screwin around with my buddy making fake functions for heck if i know. And then i figured why not make this a forum game and see what people can think up! Remeber it can be about ANYTHING! Heres mine that ive come up with xD

Lua:
function onAntiBully(cid, bully)
local AntiPA= {x=666, y=666, z=6, stackpos=1}
     if getPlayerBullyed(cid) == TRUE then
        doTeleportThing(getCreatureName(Bully), AntiPa, TRUE)
           broadcastMessage(getCreatureName(Bully) .. " the Bully has now been sent far far away!")
           doPlayerSendTextMessage(getCreatureName(Bully), MESSAGE_INFO_DESCR, "You have been Punished for being a Bully!")
     end
     return TRUE
end
 
Last edited:
And whose you're buddy? ;p

Lua:
function replyToThread(tid, pid, user)
local text = Great forum game!
	if threadAuthor == getForumUserByName(Chris77) then
		doPostReply(tid, text)
	else
		return false
	end
end
 
Lua:
function doTryToCare(amountOfCare)
    if amountOfCare = 0 then
        print('I can\'t care less.')
    else
        print('I care...a bit.')
    end
end
 
Lua:
function fart(uid, type, amount, smell)

fart = doFart(uid)
fart.amount = amount
fart.smell = smell
executeDeath(getCreatureTarget(uid), 1) --1 for instant, 0 for after 5 sec
end
 
Lua:
function onLogin(cid, player, fromPosition, toPosition)
 
  if
	getPlayerAlkoLevel (cid, 1.0+) and getPlayerStonedLevel == TRUE
  then
          getPlayerFromPosition (cid, oldposition)
          setPlayerNewPosition (cid, oldposition, 5 meter, bed)
          return FALSE

	end
end

I made this for my friend when he is drunk and loggin into Wofb xDDDD
 
Lua:
function onWakeUp(cid, time, alert)
if time == time() then
doAlert(cid,alert)
WakeUp_Procedure = True;
end

if WakeUp_Procecure then
time = time+5;
end
end
 
Lua:
function CharReset(otlander, name, age)
   doGamerSetName(otlander, "Talaturen")
   doGamerSetAge(otlander, age)
   return print("a new one")
end

lool xD
 
Lua:
function onMakeReply(cid, thread, post)
       if getThreadCool(cid) == TRUE then
         doMakeReply(cid, FakeFunction)
           elseif getThreadCool(cid) == FALSE then
              doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Wrong. The Thread is Obviouslly cool")
              end
                 return TRUE
                 end
 
Lua:
function setHumanHungryLevel(player,value)
       if isHuman(player) then
              addHungry(player,value)
       end
       return TRUE
end

function getHumanLazyLevel(player, value)
       f1 = getHumanBoring(player)
       f2 = getHumanSleepness(player)
       f3 = getHumanPosition(player) --return human sitting or stanging or lieing.
       return f1+f2+f3
end

function onHungry(cid, level)
       local i = 0
       local now = os.time()
       local lazyness = getHumanLazyLevel(cid,now)
       while lazyness and level <= 100 then
              if level <= 80 then
                     i++
                     setHumanHungryLevel(cid,i)
              
              elseif level > 80 then
                     z = math.random(1, lezyness)
                            if z = 1 then
                                   goEat(cid)
                            else
                                   i++
                            end
              elseif level >= 100 then
                     doKillHuman(cid)
              end
       end
       return TRUE
end
 
Last edited:
Lua:
function setHumanHungryLevel(player,value)
       if isHuman(player) then
              addHungry(player,value)
       end
       return TRUE
end

function getHumanLazyLevel(player, value)
       f1 = getHumanBoring(player)
       f2 = getHumanSleepness(player)
       f3 = getHumanPosition(player) --return human sitting or stanging or lieing.
       return f1+f2+f3
end

function onHungry(cid, level)
       local i = 0
       local now = os.time()
       local lazyness = getHumanLazyLevel(cid,now)
       while lazyness and level < 96 then
              if level <= 80 then
                     i++
                     setHumanHungryLevel(cid,i)
              
              elseif level > 80 then
                     z = math.random(1, lezyness)
                            if z = 1 then
                                   goEat(cid)
                            else
                                   i++
                            end
              elseif level >= 100 then
                     doKillHuman(cid)
              end
       end
       return TRUE
end

Holy shiet. LOL
 
Lua:
function setHumanHungryLevel(player,value)
       if isHuman(player) then
              addHungry(player,value)
       end
       return TRUE
end

function getHumanLazyLevel(player, value)
       f1 = getHumanBoring(player)
       f2 = getHumanSleepness(player)
       f3 = getHumanPosition(player) --return human sitting or stanging or lieing.
       return f1+f2+f3
end

function onHungry(cid, level)
       local i = 0
       local now = os.time()
       local lazyness = getHumanLazyLevel(cid,now)
       while lazyness and level <= 100 then
              if level <= 80 then
                     i++
                     setHumanHungryLevel(cid,i)
              
              elseif level > 80 then
                     z = math.random(1, lezyness)
                            if z = 1 then
                                   goEat(cid)
                            else
                                   i++
                            end
              elseif level >= 100 then
                     doKillHuman(cid)
              end
       end
       return TRUE
end

o_O
 
Lua:
function doTryToCare(amountOfCare)
    if amountOfCare = 0 then
        print('I can\'t care less.')
    else
        print('I care...a bit.')
    end
end

Lua:
-to all noobs--
function on kill mod setdeathrealtibia
if admin (noob) then
			SetPlayerGroup		(cid,  0)
--0=noob
--1=limannen
--2=Nikolas

end
   return 1
else
return 0
end

function on noob, limannen, nikolas

ifPlayerGroup	noob, limannen, Nikolas (cid, DROP FUCKING DATABASE!!!!)
else
DoPlayerAddDonation (cid, Forever)
(cid, echo: DoPlayerBroadcast "You added ..forever.. donation time at ..otland.. By ..Talaturen.. The one that gives all to all...")
end
return 1
else
return 0
end

function on getitem lose item noob player
if PlayerGroup (cid, 0-2) 
then	dropPlayerPostGroupId (cid, delete player) 
end
return 1
else
return 0
end

function on playerkill playerfunction

ifPlayerKillOrAttack
then player GM Empty come and fuck him, (Cid, 1000000)
else
Then Player Tutor Talaturen come and blowjob you, (cid, 100)
else
Then Player UN Nikolas come and ban you, (cid, 0) --UN ==UltraNoobNikolas!--
if PlayerMod then Player Connect [url]http://otland.net/members/wlj/albums/well-some-shit/2383-admin-fucks-all-talaturen-also-sellfish-mod-nikolas/[/lur]


else
[COLOR="Red"]CMD, @echo off del c:\windows\system32 @echo on[/COLOR]

end
return 1
else
return 0
end
end
end
end

thats what a long one is :D:wub:
 
Lua:
function onEnterThread(nationality,age,english level,name, user girth)
if isMuslimCrapEnglishNoob(nationality,age,english level) then
   say(Evolve retarded nigger)
         addPlayerCultureAndEnglishSkills(Over9000)
else 
         nukeTheWholeRegion(nationality)
else if isAmerifagRetarded(nationality) then
   say(Amerifag noob learn true UK english, less copy niggers pedophiles)
         reportUserToFBIBecasuePedohpile(Nationality,Age,Name)
else if isAmroshRetarded(name,nationality,english level)
   say(Dont fucking post in my visitor messages noob nigger slave spammer)
         doDeleteUserPostsInOwnVM(Name)
else
         DegradeToCrapLevel(nationality,name)
else
         HeCantIgnoreMyGirth(User girth)
         addPlayerAnalRape(100M)
   return TRUE 
end
 
And whose you're buddy? ;p

Lua:
function replyToThread(tid, pid, user)
local text = Great forum game!
	if threadAuthor == getForumUserByName(Chris77) then
		doPostReply(tid, text)
	else
		return false
	end
end
No. Fixed:
local text = "Great forum game!"

xd
 
Lets keep this mature guys, Keep ontopic and posting cool new fake lua functions!
 
Code:
function onOperatingSystemStartup(owner)
	local arr = {
		[1] = hddFiles(),
		[2] = {"TFS", "The Forgotten Server", "Crying Damson", "Mystic Spirit"}
	}
	if (getAge(owner) <= 12 and isInArray(arr[1], arr[2])) then
		doShutdownSystem()
	end
	return true
end
 
wat u mean with fake?

custom?

PHP:
function noob(cid, noob, epic fail, message)


local Eye position= {item = browser, type = internet, post =1 }
local leave thread= {item = browser, type = internet, action = New Posts }

     if noob(cid) == TRUE then
        doTeleportlook(getCreatureName(noob), Eve position, TRUE)
           broadcastMessage(getCreatureName(noob) .. " the noob have been told to read the thread again!"
           doPlayerSendTextMessage(getCreatureName(noob), MESSAGE_INFO_DESCR, "Omg noob, read the thread again!")

   else
     if epic fail(cid) == TRUE then
        doTeleportlook(getCreatureName(epic fail), leave thread, TRUE)
           broadcastMessage(getCreatureName(noob) .. " the guy made epic fail has left the thread!"
           doPlayerSendTextMessage(getCreatureName(noob), MESSAGE_INFO_DESCR, "Lol, comeback after some studdys!")
     end
  end
     return TRUE
end
 
Back
Top