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

colandus

  1. Colandus

    TalkAction Terror command for GM's :)

    This is funny command I made to terror my players hueahuea :D First you need these functions: Sleep function, Position function Then go to data/talkactions/talkactions.xml and write: <talkaction words="/terror" access="4" script="terror.lua"/> And in data/talkactions/scripts make file called...
  2. Colandus

    Lua SLEEP implementation

    This is like addEvent, but easier :) It exit when receiving errors, so you don't need "if isPlayer(cid) == TRUE then return FALSE end" because it exit itself when errors :p TFS 0.3+ put in data/lib/functions.lua TFS 0.2 or other put in data/global.lua sleep = coroutine.yield function...
  3. Colandus

    The Magical Justice Seeker!

    This will make your weapon more powerful, but for it you need to have a certain actionid on your weapon, that means it's not a regular one. However you get the actionid on the weapon is your descision, and you can turn it off also. What does it do? Well, first of all you have a normal attack...
  4. Colandus

    TalkAction /teleport "name, x y z

    Hello... I made a function for simple string splitting, and with it I made an example script. The script could be somehow useful too, so I decided to release it here too, where people look more. The script will teleport a player to a certain position. Let's start. Go to data Open...
  5. Colandus

    Some table functions!

    Alright, now it's time for me to release my table functions! :) Here they are (explanation below): -- ~##TABLE::FUNCTIONS::BY::COLANDUS##~ -- FIND_NOCASE = 0 FIND_PATTERN = 1 FIND_PATTERN_NOCASE = 2 function table.find(t, v, c) -- function 100% by Colandus! if type(t) ~= "table" then...
  6. Colandus

    isInArea, loops not needed!

    Hello, I've noticed alot of people use loops to check if someone's in an area. Sure it's needed sometimes, but not as often as you use it. When shall you use loops for checking areas? Well, never because you shall use my mapArea heuaheuah xD But well that's classed as looping too! But...
  7. Colandus

    Saving text to files!

    Hello, have you ever made your own command or any other kind of script and you wanted to save some information in a text file? Okay, here we go; your dream has just became true! :thumbup: Code for saving to files: local saveFile = {folder="logs/", filename="saves.txt", saveLog=true...
Back
Top