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

Better Notepad++ Lua Lexer and a few other things.

Lessaire

Omniscient Hypervisor
Joined
Dec 29, 2009
Messages
1,264
Solutions
46
Reaction score
462
Location
Oregon
Open Notepad++
Menu:plugins->Plugins Manager->Show Plugins Manager
Tab:Available->Gmod Lua Lexer
Install

Open %Notepad++_Location%\plugins\Config\GmodLua.xml
Select All->Delete
Paste:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!--
        Xaekai's modified Gmod Lua Lexer config for OTServ/TFS Lua keywords and functions
    -->
<NotepadPlus>
    <Languages>
        <Language name="Gmod Lua" ext="lua" commentLine="--" commentStart="--[[" commentEnd="]]--">
            <Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:" />
            <Keywords name="0"> and break do else elseif end false for function if in local nil not or repeat return then true until while </Keywords>
            <Keywords name="1"> _VERSION ACTION_BANFINAL ACTION_BANISHMENT ACTION_BANLOCK ACTION_BANLOCKFINAL ACTION_BANREPORT ACTION_BANREPORTFINAL ACTION_DELETION ACTION_NAMELOCK ACTION_NAMEREPORT ACTION_NOTATION ACTION_PLACEHOLDER ACTION_STATEMENT AUTOID_MONSTERS AUTOID_NPCS AUTOID_PLAYERS BAN_ACCOUNT BAN_IP BAN_NONE BAN_NOTATION BAN_PLAYER BAN_STATEMENT CALLBACK_PARAM_LEVELMAGICVALUE CALLBACK_PARAM_SKILLVALUE CALLBACK_PARAM_TARGETCREATURE CALLBACK_PARAM_TARGETTILE CHANNEL_DEFAULT CHANNEL_GUILD CHANNEL_HELP CHANNEL_PARTY CHANNEL_PRIVATE CHANNEL_RVR CHASEMODE_FOLLOW CHASEMODE_STANDSTILL COLOR_BLACK COLOR_BLUE COLOR_BROWN COLOR_DARKBROWN COLOR_DARKORANGE COLOR_DARKPINK COLOR_DARKPURPLE COLOR_DARKRED COLOR_DARKYELLOW COLOR_GREEN COLOR_GREY COLOR_LIGHTBLUE COLOR_LIGHTGREEN COLOR_NONE COLOR_ORANGE COLOR_PINK COLOR_PURPLE COLOR_RED COLOR_TEAL COLOR_WHITE COLOR_YELLOW COMBAT_DEATHDAMAGE COMBAT_DROWNDAMAGE COMBAT_EARTHDAMAGE COMBAT_ENERGYDAMAGE COMBAT_FIREDAMAGE COMBAT_FORMULA_DAMAGE COMBAT_FORMULA_LEVELMAGIC COMBAT_FORMULA_SKILL COMBAT_FORMULA_UNDEFINED COMBAT_HEALING COMBAT_HOLYDAMAGE COMBAT_ICEDAMAGE COMBAT_LIFEDRAIN COMBAT_MANADRAIN COMBAT_NONE COMBAT_PARAM_AGGRESSIVE COMBAT_PARAM_BLOCKARMOR COMBAT_PARAM_BLOCKSHIELD COMBAT_PARAM_CREATEITEM COMBAT_PARAM_DIFFERENTAREADAMAGE COMBAT_PARAM_DISPEL COMBAT_PARAM_DISTANCEEFFECT COMBAT_PARAM_EFFECT COMBAT_PARAM_HITCOLOR COMBAT_PARAM_HITEFFECT COMBAT_PARAM_TARGETCASTERORTOPMOST COMBAT_PARAM_TARGETPLAYERSORSUMMONS COMBAT_PARAM_TYPE COMBAT_PARAM_USECHARGES COMBAT_PHYSICALDAMAGE COMBAT_POISONDAMAGE COMBAT_UNDEFINEDDAMAGE CONDITION_ATTRIBUTES CONDITION_BLEEDING CONDITION_CURSED CONDITION_DAZZLED CONDITION_DROWN CONDITION_DRUNK CONDITION_ENERGY CONDITION_EXHAUST CONDITION_FIRE CONDITION_FOOD CONDITION_FREEZING CONDITION_GAMEMASTER CONDITION_HASTE CONDITION_HUNTING CONDITION_INFIGHT CONDITION_INVISIBLE CONDITION_LIGHT CONDITION_MANASHIELD CONDITION_MUTED CONDITION_NONE CONDITION_OUTFIT CONDITION_PACIFIED CONDITION_PARALYZE CONDITION_PARAM_BUFF CONDITION_PARAM_DELAYED CONDITION_PARAM_FIELD CONDITION_PARAM_FORCEUPDATE CONDITION_PARAM_HEALTHGAIN CONDITION_PARAM_HEALTHTICKS CONDITION_PARAM_LIGHT_COLOR CONDITION_PARAM_LIGHT_LEVEL CONDITION_PARAM_MANAGAIN CONDITION_PARAM_MANATICKS CONDITION_PARAM_MAXVALUE CONDITION_PARAM_MINVALUE CONDITION_PARAM_OUTFIT CONDITION_PARAM_OWNER CONDITION_PARAM_PERIODICDAMAGE CONDITION_PARAM_SKILL_AXE CONDITION_PARAM_SKILL_AXEPERCENT CONDITION_PARAM_SKILL_CLUB CONDITION_PARAM_SKILL_CLUBPERCENT CONDITION_PARAM_SKILL_DISTANCE CONDITION_PARAM_SKILL_DISTANCEPERCENT CONDITION_PARAM_SKILL_FISHING CONDITION_PARAM_SKILL_FISHINGPERCENT CONDITION_PARAM_SKILL_FIST CONDITION_PARAM_SKILL_FISTPERCENT CONDITION_PARAM_SKILL_MELEE CONDITION_PARAM_SKILL_MELEEPERCENT CONDITION_PARAM_SKILL_SHIELD CONDITION_PARAM_SKILL_SHIELDPERCENT CONDITION_PARAM_SKILL_SWORD CONDITION_PARAM_SKILL_SWORDPERCENT CONDITION_PARAM_SOULGAIN CONDITION_PARAM_SOULTICKS CONDITION_PARAM_SPEED CONDITION_PARAM_STARTVALUE CONDITION_PARAM_STAT_MAGICLEVEL CONDITION_PARAM_STAT_MAGICLEVELPERCENT CONDITION_PARAM_STAT_MAXHEALTH CONDITION_PARAM_STAT_MAXHEALTHPERCENT CONDITION_PARAM_STAT_MAXMANA CONDITION_PARAM_STAT_MAXMANAPERCENT CONDITION_PARAM_STAT_SOUL CONDITION_PARAM_STAT_SOULPERCENT CONDITION_PARAM_SUBID CONDITION_PARAM_TICKINTERVAL CONDITION_PARAM_TICKS CONDITION_POISON CONDITION_REGENERATION CONDITION_SOUL CONST_ANI_ARROW CONST_ANI_BOLT CONST_ANI_BURSTARROW CONST_ANI_CAKE CONST_ANI_DEATH CONST_ANI_EARTH CONST_ANI_EARTHARROW CONST_ANI_ENCHANTEDSPEAR CONST_ANI_ENERGY CONST_ANI_ENERGYBALL CONST_ANI_ETHEREALSPEAR CONST_ANI_EXPLOSION CONST_ANI_FIRE CONST_ANI_FLAMMINGARROW CONST_ANI_FLASHARROW CONST_ANI_GREENSTAR CONST_ANI_HOLY CONST_ANI_HUNTINGSPEAR CONST_ANI_ICE CONST_ANI_INFERNALBOLT CONST_ANI_LARGEROCK CONST_ANI_LAST CONST_ANI_NONE CONST_ANI_ONYXARROW CONST_ANI_PIERCINGBOLT CONST_ANI_POISON CONST_ANI_POISONARROW CONST_ANI_POWERBOLT CONST_ANI_REDSTAR CONST_ANI_ROYALSPEAR CONST_ANI_SHIVERARROW CONST_ANI_SMALLEARTH CONST_ANI_SMALLHOLY CONST_ANI_SMALLICE CONST_ANI_SMALLSTONE CONST_ANI_SNIPERARROW CONST_ANI_SNOWBALL CONST_ANI_SPEAR CONST_ANI_SUDDENDEATH CONST_ANI_THROWINGKNIFE CONST_ANI_THROWINGSTAR CONST_ANI_WEAPONTYPE CONST_ANI_WHIRLWINDAXE CONST_ANI_WHIRLWINDCLUB CONST_ANI_WHIRLWINDSWORD CONST_ME_ASSASSIN CONST_ME_BATS CONST_ME_BIGCLOUDS CONST_ME_BIGPLANTS CONST_ME_BLOCKHIT CONST_ME_BLOODYSTEPS CONST_ME_BUBBLES CONST_ME_CAKE CONST_ME_CARNIPHILA CONST_ME_CRAPS CONST_ME_DRAGONHEAD CONST_ME_DRAWBLOOD CONST_ME_ENERGYAREA CONST_ME_ENERGYHIT CONST_ME_EXPLOSIONAREA CONST_ME_EXPLOSIONHIT CONST_ME_FIREAREA CONST_ME_FIREATTACK CONST_ME_FIREWORK_BLUE CONST_ME_FIREWORK_RED CONST_ME_FIREWORK_YELLOW CONST_ME_GIANTICE CONST_ME_GIFT_WRAPS CONST_ME_GREEN_RINGS CONST_ME_GROUNDSHAKER CONST_ME_HEARTS CONST_ME_HITAREA CONST_ME_HITBYFIRE CONST_ME_HITBYPOISON CONST_ME_HOLYAREA CONST_ME_HOLYDAMAGE CONST_ME_ICEAREA CONST_ME_ICEATTACK CONST_ME_ICETORNADO CONST_ME_INSECTS CONST_ME_LAST CONST_ME_LOSEENERGY CONST_ME_MAGIC_BLUE CONST_ME_MAGIC_GREEN CONST_ME_MAGIC_RED CONST_ME_MIRRORHORIZONTAL CONST_ME_MIRRORVERTICAL CONST_ME_MORTAREA CONST_ME_NONE CONST_ME_PLANTATTACK CONST_ME_POFF CONST_ME_POISONAREA CONST_ME_PURPLEENERGY CONST_ME_SKULLHORIZONTAL CONST_ME_SKULLVERTICAL CONST_ME_SLEEP CONST_ME_SMALLCLOUDS CONST_ME_SMALLPLANTS CONST_ME_SMOKE CONST_ME_SOUND_BLUE CONST_ME_SOUND_GREEN CONST_ME_SOUND_PURPLE CONST_ME_SOUND_RED CONST_ME_SOUND_WHITE CONST_ME_SOUND_YELLOW CONST_ME_STEPSHORIZONTAL CONST_ME_STEPSVERTICAL CONST_ME_STONES CONST_ME_STUN CONST_ME_TELEPORT CONST_ME_TUTORIALARROW CONST_ME_TUTORIALSQUARE CONST_ME_WATERCREATURE CONST_ME_WATERSPLASH CONST_ME_YALAHARIGHOST CONST_ME_YELLOWENERGY CONST_ME_YELLOW_RINGS CONST_PROP_BLOCKINGANDNOTMOVABLE CONST_PROP_BLOCKPATHFIND CONST_PROP_BLOCKPROJECTILE CONST_PROP_BLOCKSOLID CONST_PROP_HASHEIGHT CONST_PROP_ISHORIZONTAL CONST_PROP_ISVERTICAL CONST_PROP_MOVABLE CONST_PROP_SUPPORTHANGABLE CONST_SLOT_AMMO CONST_SLOT_ARMOR CONST_SLOT_BACKPACK CONST_SLOT_FEET CONST_SLOT_FIRST CONST_SLOT_HEAD CONST_SLOT_LAST CONST_SLOT_LEFT CONST_SLOT_LEGS CONST_SLOT_NECKLACE CONST_SLOT_RIGHT CONST_SLOT_RING CONTAINER_POSITION DATABASE_MYSQL DATABASE_NONE DATABASE_ODBC DATABASE_POSTGRESQL DATABASE_SQLITE EAST EMBLEM_BLUE EMBLEM_GREEN EMBLEM_NONE EMBLEM_RED EMPTY_RESULT EMPTY_STORAGE EXHAUST_COMBAT EXHAUST_HEALING EXHAUST_OTHER EXHAUST_WEAPON FIGHTMODE_ATTACK FIGHTMODE_BALANCED FIGHTMODE_DEFENSE GAMEMASTER_IGNORE GAMEMASTER_INVISIBLE GAMEMASTER_TELEPORT GAMESTATE_CLOSED GAMESTATE_CLOSING GAMESTATE_INIT GAMESTATE_MAINTAIN GAMESTATE_NORMAL GAMESTATE_SHUTDOWN GAMESTATE_STARTUP GUILD_LEADER GUILD_MEMBER GUILD_VICE ITEMCOUNT_MAX ITEM_CRYSTAL_COIN ITEM_FISH ITEM_GOLD_COIN ITEM_GREEN_PERCH ITEM_GROUP_CHARGES ITEM_GROUP_CONTAINER ITEM_GROUP_FLUID ITEM_GROUP_GROUND ITEM_GROUP_NONE ITEM_GROUP_SPLASH ITEM_LABEL ITEM_MECHANICAL_FISH ITEM_MECHANICAL_FISHING_ROD ITEM_NAIL ITEM_NORTHERN_PIKE ITEM_PARCEL ITEM_PLATINUM_COIN ITEM_RAINBOW_TROUT ITEM_SCARAB_COIN ITEM_TYPE_BED ITEM_TYPE_CONTAINER ITEM_TYPE_DEPOT ITEM_TYPE_DOOR ITEM_TYPE_KEY ITEM_TYPE_LEVELDOOR ITEM_TYPE_MAGICFIELD ITEM_TYPE_MAILBOX ITEM_TYPE_NONE ITEM_TYPE_RUNE ITEM_TYPE_TELEPORT ITEM_TYPE_TRASHHOLDER ITEM_WORM MANAGER_ACCOUNT MANAGER_NAMELOCK MANAGER_NEW MANAGER_NONE MAPMARK_BAG MAPMARK_CROSS MAPMARK_DOLLAR MAPMARK_EXCLAMATION MAPMARK_FLAG MAPMARK_GREENNORTH MAPMARK_GREENSOUTH MAPMARK_KISS MAPMARK_LOCK MAPMARK_QUESTION MAPMARK_REDEAST MAPMARK_REDNORTH MAPMARK_REDSOUTH MAPMARK_REDWEST MAPMARK_SHOVEL MAPMARK_SKULL MAPMARK_STAR MAPMARK_SWORD MAPMARK_TEMPLE MAPMARK_TICK MESSAGE_EVENT_ADVANCE MESSAGE_EVENT_DEFAULT MESSAGE_EVENT_ORANGE MESSAGE_FIRST MESSAGE_INFO_DESCR MESSAGE_LAST MESSAGE_STATUS_CONSOLE_BLUE MESSAGE_STATUS_CONSOLE_ORANGE MESSAGE_STATUS_CONSOLE_RED MESSAGE_STATUS_DEFAULT MESSAGE_STATUS_SMALL MESSAGE_STATUS_WARNING MESSAGE_TYPES MUTED_BUFFER MUTED_TRADE MUTED_TRADE_ROOK MUTED_YELL NORTH NORTHEAST NORTHWEST PLAYERBAN_BANISHMENT PLAYERBAN_LOCK PLAYERBAN_NONE PLAYERBAN_REPORT PLAYERCUSTOMFLAG_ALLOWIDLE PLAYERCUSTOMFLAG_CANLOGINMULTIPLECHARACTERS PLAYERCUSTOMFLAG_CANLOGOUTANYTIME PLAYERCUSTOMFLAG_CANMOVEANYWHERE PLAYERCUSTOMFLAG_CANMOVEFROMFAR PLAYERCUSTOMFLAG_CANPUSHALLITEMS PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS PLAYERCUSTOMFLAG_CANSEEITEMDETAILS PLAYERCUSTOMFLAG_CANSEEPOSITION PLAYERCUSTOMFLAG_CANSTAIRHOP PLAYERCUSTOMFLAG_CANTHROWANYWHERE PLAYERCUSTOMFLAG_CANTURNHOP PLAYERCUSTOMFLAG_CANWALKTHROUGH PLAYERCUSTOMFLAG_CANWEARALLADDONS PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES PLAYERCUSTOMFLAG_HASFULLLIGHT PLAYERCUSTOMFLAG_HIDELEVEL PLAYERCUSTOMFLAG_IGNOREHOUSERENT PLAYERCUSTOMFLAG_IGNORELOGINDELAY PLAYERCUSTOMFLAG_IGNOREPACIFICATION PLAYERCUSTOMFLAG_ISIMMUNE PLAYERCUSTOMFLAG_ISPROTECTED PLAYERCUSTOMFLAG_ISWALKABLE PLAYERCUSTOMFLAG_NOTGAINSKULL PLAYERCUSTOMFLAG_NOTGAINUNJUSTIFIED PLAYERCUSTOMFLAG_NOTSEARCHABLE PLAYERFLAG_39 PLAYERFLAG_45 PLAYERFLAG_CANALWAYSLOGIN PLAYERFLAG_CANANSWERRULEVIOLATIONS PLAYERFLAG_CANBROADCAST PLAYERFLAG_CANCONVINCEALL PLAYERFLAG_CANEDITHOUSES PLAYERFLAG_CANILLUSIONALL PLAYERFLAG_CANNOTATTACKMONSTER PLAYERFLAG_CANNOTATTACKPLAYER PLAYERFLAG_CANNOTBEATTACKED PLAYERFLAG_CANNOTBEBANNED PLAYERFLAG_CANNOTBEMUTED PLAYERFLAG_CANNOTBEPUSHED PLAYERFLAG_CANNOTBESEEN PLAYERFLAG_CANNOTMOVECREATURES PLAYERFLAG_CANNOTMOVEITEMS PLAYERFLAG_CANNOTPICKUPITEM PLAYERFLAG_CANNOTUSECOMBAT PLAYERFLAG_CANNOTUSESPELLS PLAYERFLAG_CANPUSHALLCREATURES PLAYERFLAG_CANREPORTBUGS PLAYERFLAG_CANSENSEINVISIBILITY PLAYERFLAG_CANSUMMONALL PLAYERFLAG_CANTALKREDCHANNEL PLAYERFLAG_CANTALKREDCHANNELANONYMOUS PLAYERFLAG_CANTALKREDPRIVATE PLAYERFLAG_HASINFINITECAPACITY PLAYERFLAG_HASINFINITEMANA PLAYERFLAG_HASINFINITESOUL PLAYERFLAG_HASINFINITESTAMINA PLAYERFLAG_HASNOEXHAUSTION PLAYERFLAG_HIDEHEALTH PLAYERFLAG_IGNOREDBYMONSTERS PLAYERFLAG_IGNOREPROTECTIONZONE PLAYERFLAG_IGNORESPELLCHECK PLAYERFLAG_IGNOREWEAPONCHECK PLAYERFLAG_ISALWAYSPREMIUM PLAYERFLAG_NOTGAINEXPERIENCE PLAYERFLAG_NOTGAINHEALTH PLAYERFLAG_NOTGAININFIGHT PLAYERFLAG_NOTGAINMANA PLAYERFLAG_NOTGAINSKILL PLAYERFLAG_NOTGENERATELOOT PLAYERFLAG_SETMAXSPEED PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION PLAYERFLAG_SPECIALVIP PLAYERFLAG_TALKORANGEHELPCHANNEL PLAYERLOSS_CONTAINERS PLAYERLOSS_EXPERIENCE PLAYERLOSS_ITEMS PLAYERLOSS_MANA PLAYERLOSS_SKILLS PLAYERSEX_FEMALE PLAYERSEX_GAMEMASTER PLAYERSEX_MALE RECURSE_ALL RECURSE_FIRST RECURSE_NONE RELOAD_ACTIONS RELOAD_ALL RELOAD_CHAT RELOAD_CONFIG RELOAD_CREATUREEVENTS RELOAD_GAMESERVERS RELOAD_GLOBALEVENTS RELOAD_GROUPS RELOAD_HIGHSCORES RELOAD_HOUSEPRICES RELOAD_ITEMS RELOAD_MODS RELOAD_MONSTERS RELOAD_MOVEEVENTS RELOAD_NPCS RELOAD_OUTFITS RELOAD_QUESTS RELOAD_RAIDS RELOAD_SPELLS RELOAD_STAGES RELOAD_TALKACTIONS RELOAD_VOCATIONS RELOAD_WEAPONS RETURNVALUE_ACTIONNOTPERMITTEDINANOPVPZONE RETURNVALUE_ACTIONNOTPERMITTEDINPROTECTIONZONE RETURNVALUE_BOTHHANDSNEEDTOBEFREE RETURNVALUE_CANNOTBEDRESSED RETURNVALUE_CANNOTCONJUREITEMHERE RETURNVALUE_CANNOTPICKUP RETURNVALUE_CANNOTTHROW RETURNVALUE_CANNOTUSETHISOBJECT RETURNVALUE_CANONLYUSEONESHIELD RETURNVALUE_CANONLYUSEONEWEAPON RETURNVALUE_CANONLYUSETHISRUNEONCREATURES RETURNVALUE_CONTAINERNOTENOUGHROOM RETURNVALUE_CREATUREBLOCK RETURNVALUE_CREATUREDOESNOTEXIST RETURNVALUE_CREATUREISNOTREACHABLE RETURNVALUE_DEPOTISFULL RETURNVALUE_DESTINATIONOUTOFREACH RETURNVALUE_DIRECTPLAYERSHOOT RETURNVALUE_DONTSHOWMESSAGE RETURNVALUE_DROPTWOHANDEDITEM RETURNVALUE_FIRSTGODOWNSTAIRS RETURNVALUE_FIRSTGOUPSTAIRS RETURNVALUE_NAMEISTOOAMBIGUOUS RETURNVALUE_NEEDEXCHANGE RETURNVALUE_NOERROR RETURNVALUE_NOTENOUGHCAPACITY RETURNVALUE_NOTENOUGHLEVEL RETURNVALUE_NOTENOUGHMAGICLEVEL RETURNVALUE_NOTENOUGHMANA RETURNVALUE_NOTENOUGHROOM RETURNVALUE_NOTENOUGHSOUL RETURNVALUE_NOTMOVABLE RETURNVALUE_NOTPOSSIBLE RETURNVALUE_NOTREQUIREDLEVELTOUSERUNE RETURNVALUE_PLAYERISNOTINVITED RETURNVALUE_PLAYERISNOTREACHABLE RETURNVALUE_PLAYERISPZLOCKED RETURNVALUE_PLAYERISPZLOCKEDENTERPVPZONE RETURNVALUE_PLAYERISPZLOCKEDLEAVEPVPZONE RETURNVALUE_PLAYERWITHTHISNAMEISNOTONLINE RETURNVALUE_PUTTHISOBJECTINBOTHHANDS RETURNVALUE_PUTTHISOBJECTINYOURHAND RETURNVALUE_THEREISNOWAY RETURNVALUE_THISISIMPOSSIBLE RETURNVALUE_THISPLAYERISALREADYTRADING RETURNVALUE_TILEISFULL RETURNVALUE_TOOFARAWAY RETURNVALUE_TURNSECUREMODETOATTACKUNMARKEDPLAYERS RETURNVALUE_YOUAREALREADYTRADING RETURNVALUE_YOUAREEXHAUSTED RETURNVALUE_YOUARENOTTHEOWNER RETURNVALUE_YOUCANNOTLOGOUTHERE RETURNVALUE_YOUCANONLYUSEITONCREATURES RETURNVALUE_YOUMAYNOTATTACKAPERSONINPROTECTIONZONE RETURNVALUE_YOUMAYNOTATTACKAPERSONWHILEINPROTECTIONZONE RETURNVALUE_YOUMAYNOTATTACKTHISCREATURE RETURNVALUE_YOUMAYNOTATTACKTHISPLAYER RETURNVALUE_YOUMAYNOTCASTAREAONBLACKSKULL RETURNVALUE_YOUMAYNOTLOGOUTDURINGAFIGHT RETURNVALUE_YOUNEEDAMAGICITEMTOCASTSPELL RETURNVALUE_YOUNEEDAWEAPONTOUSETHISSPELL RETURNVALUE_YOUNEEDPREMIUMACCOUNT RETURNVALUE_YOUNEEDTOLEARNTHISSPELL RETURNVALUE_YOUNEEDTOSPLITYOURSPEARS RETURNVALUE_YOURVOCATIONCANNOTUSETHISSPELL SECUREMODE_OFF SECUREMODE_ON SHIELD_BLUE SHIELD_BLUE_NOSHAREDEXP SHIELD_BLUE_NOSHAREDEXP_BLINK SHIELD_BLUE_SHAREDEXP SHIELD_LAST SHIELD_NONE SHIELD_WHITEBLUE SHIELD_WHITEYELLOW SHIELD_YELLOW SHIELD_YELLOW_NOSHAREDEXP SHIELD_YELLOW_NOSHAREDEXP_BLINK SHIELD_YELLOW_SHAREDEXP SKILL_AXE SKILL_CLUB SKILL_DISTANCE SKILL_FIRST SKILL_FISHING SKILL_FIST SKILL_IDS SKILL_LAST SKILL_NAMES SKILL_SHIELD SKILL_SWORD SKILL__LAST SKILL__LEVEL SKILL__MAGLEVEL SKULL_BLACK SKULL_GREEN SKULL_LAST SKULL_NONE SKULL_ORANGE SKULL_RED SKULL_WHITE SKULL_YELLOW SOUTH SOUTHEAST SOUTHWEST STACKPOS_GROUND STACKPOS_TOP_CREATURE STACKPOS_TOP_FIELD STACKPOS_TOP_MOVABLE_ITEM_OR_CREATURE STATSCHANGE_HEALTHGAIN STATSCHANGE_HEALTHLOSS STATSCHANGE_MANAGAIN STATSCHANGE_MANALOSS TALKTYPE_BROADCAST TALKTYPE_CHANNEL_O TALKTYPE_CHANNEL_RA TALKTYPE_CHANNEL_RN TALKTYPE_CHANNEL_W TALKTYPE_CHANNEL_Y TALKTYPE_FIRST TALKTYPE_LAST TALKTYPE_MONSTER TALKTYPE_MONSTER_SAY TALKTYPE_MONSTER_YELL TALKTYPE_PRIVATE TALKTYPE_PRIVATE_NP TALKTYPE_PRIVATE_PN TALKTYPE_PRIVATE_RED TALKTYPE_RVR_ANSWER TALKTYPE_RVR_CHANNEL TALKTYPE_RVR_CONTINUE TALKTYPE_SAY TALKTYPE_TYPES TALKTYPE_WHISPER TALKTYPE_YELL TRADE_ACCEPT TRADE_ACKNOWLEDGE TRADE_INITIATED TRADE_NONE TRADE_TRANSFER WEAPON_AMMO WEAPON_AXE WEAPON_CLUB WEAPON_DIST WEAPON_FIST WEAPON_NONE WEAPON_SHIELD WEAPON_SWORD WEAPON_WAND WEST WORLDTYPE_HARDCORE WORLDTYPE_OPEN WORLDTYPE_OPTIONAL </Keywords>
            <Keywords name="2"> _G _INPUT assert collectgarbage dodirectory dofile domodlib dostring error gcinfo getfenv getmetatable ipairs loadfile loadlib loadmodlib loadstring lua_register module next pairs pcall print rawegal rawequal rawget rawset require setfenv setmetatable tonumber tostring type unpack xpcall addDamageCondition addEvent addOutfitCondition canPlayerRideMount canPlayerWearOutfit canPlayerWearOutfitId choose createCombatArea createCombatObject createConditionObject doAddAccountBanishment doAddAccountWarnings doAddCondition doAddContainerItem doAddContainerItemEx doAddIpBanishment doAddNotation doAddPlayerBanishment doAddStatement doBroadcastMessage doChallengeCreature doChangeSpeed doChangeTypeItem doCleanHouse doCleanMap doCleanTile doCombat doCombatAreaCondition doCombatAreaDispel doCombatAreaHealth doCombatAreaMana doComparePositions doConvertIntegerToIp doConvertIpToInteger doConvinceCreature doCopyItem doCreateItem doCreateItemEx doCreateMonster doCreateNpc doCreateTeleport doCreatureAddHealth doCreatureAddMana doCreatureChangeOutfit doCreatureExecuteTalkAction doCreatureSay doCreatureSetDropLoot doCreatureSetGuildEmblem doCreatureSetHideHealth doCreatureSetLookDirection doCreatureSetNoMove doCreatureSetPartyShield doCreatureSetSkullType doCreatureSetSpeakType doCreatureSetStorage doDecayItem doExecuteRaid doGuildAddEnemy doGuildRemoveEnemy doItemEraseAttribute doItemRaidUnref doItemSetActionId doItemSetAttribute doMonsterChangeTarget doMonsterSetTarget doMoveCreature doMutePlayer doNumberFormat doPlayerAddAddons doPlayerAddBlessing doPlayerAddExperience doPlayerAddItem doPlayerAddItemEx doPlayerAddLevel doPlayerAddMagLevel doPlayerAddMapMark doPlayerAddMoney doPlayerAddMount doPlayerAddOutfit doPlayerAddOutfitId doPlayerAddPremiumDays doPlayerAddSkill doPlayerAddSkillTry doPlayerAddSoul doPlayerAddSpentMana doPlayerAddStamina doPlayerBroadcastMessage doPlayerBuyItem doPlayerBuyItemContainer doPlayerChangeName doPlayerDepositAllMoney doPlayerDepositMoney doPlayerFeed doPlayerFollowCreature doPlayerGiveItem doPlayerGiveItemContainer doPlayerJoinParty doPlayerLearnInstantSpell doPlayerLeaveParty doPlayerOpenChannel doPlayerPopupFYI doPlayerRemoveItem doPlayerRemoveMoney doPlayerRemoveMount doPlayerRemoveOutfit doPlayerRemoveOutfitId doPlayerRemovePremiumDays doPlayerResetIdleTime doPlayerSave doPlayerSellItem doPlayerSendCancel doPlayerSendChannelMessage doPlayerSendDefaultCancel doPlayerSendMailByName doPlayerSendOutfitWindow doPlayerSendTextMessage doPlayerSendToChannel doPlayerSendTutorial doPlayerSetBalance doPlayerSetExperienceRate doPlayerSetGroupId doPlayerSetGuildId doPlayerSetGuildLevel doPlayerSetGuildNick doPlayerSetIdleTime doPlayerSetLossPercent doPlayerSetLossSkill doPlayerSetMagicRate doPlayerSetMaxCapacity doPlayerSetMounted doPlayerSetNameDescription doPlayerSetPartner doPlayerSetPromotionLevel doPlayerSetPVPBlessing doPlayerSetPzLocked doPlayerSetRate doPlayerSetSex doPlayerSetSkullEnd doPlayerSetSpecialDescription doPlayerSetStamina doPlayerSetTown doPlayerSetVocation doPlayerSetWalkthrough doPlayerSwitchSaving doPlayerTakeItem doPlayerTransferAllMoneyTo doPlayerTransferMoneyTo doPlayerUnlearnInstantSpell doPlayerWithdrawAllMoney doPlayerWithdrawMoney doRefreshMap doReloadInfo doRelocate doRemoveAccountBanishment doRemoveAccountWarnings doRemoveCondition doRemoveConditions doRemoveCreature doRemoveIpBanishment doRemoveItem doRemoveNotations doRemovePlayerBanishment doRemoveStatements doRemoveThing doSaveServer doSendAnimatedText doSendCreatureSquare doSendDistanceShoot doSendMagicEffect doSetCreatureOutfit doSetGameState doSetItemOutfit doSetItemText doSetMonsterOutfit doSetStorage doShowTextDialog doShutdown doSteerCreature doSummonCreature doSummonMonster doTargetCombatCondition doTargetCombatDispel doTargetCombatHealth doTargetCombatMana doTeleportThing doTileAddItemEx doTileQueryAdd doTransformItem doUpdateHouseAuctions doWaypointAddTemporial doWriteLogFile getAccountByAccountId getAccountByName getAccountIdByAccount getAccountIdByName getAccountWarnings getArticle getBanAction getBanData getBanList getBanReason getBooleanFromString getChannelList getChannelUsers getClosestFreeTile getConfigFile getConfigValue getContainerCap getContainerCapById getContainerItem getContainerSize getCreatureBaseSpeed getCreatureByName getCreatureCondition getCreatureGuildEmblem getCreatureHealth getCreatureHideHealth getCreatureLastPosition getCreatureLookDirection getCreatureLookPosition getCreatureMana getCreatureMaster getCreatureMaxHealth getCreatureMaxMana getCreatureName getCreatureNoMove getCreatureOutfit getCreaturePartyShield getCreatureSkullType getCreatureSpeakType getCreatureSpeed getCreatureStorage getCreatureStorageList getCreatureSummons getCreatureTarget getDataDir getDepotId getDirectionTo getDistanceBetween getExperienceForLevel getExperienceStage getExperienceStageList getFluidSourceType getGameState getGroupInfo getGroupList getGuildId getGuildMotd getHighscoreString getHouseAccessList getHouseBedsCount getHouseByPlayerGUID getHouseDoorsCount getHouseEntry getHouseFromPos getHouseInfo getHouseName getHouseOwner getHousePrice getHouseRent getHouseTilesCount getHouseTown getInstantSpellInfo getIpByName getItemArticle getItemArticleById getItemAttribute getItemDate getItemDescriptions getItemIdByName getItemInfo getItemLevelDoor getItemName getItemNameById getItemParent getItemPluralName getItemPluralNameById getItemRWInfo getItemSpecialDescription getItemText getItemWeaponType getItemWeight getItemWeightById getItemWriter getLogsDir getModList getMonsterAttackSpells getMonsterFriendList getMonsterHealingSpells getMonsterInfo getMonsterLootList getMonsterSummonList getMonsterTargetList getMonthDayEnding getMonthString getMountInfo getNotationsCount getOnlinePlayers getPartyLeader getPartyMembers getPlayerAccess getPlayerAccount getPlayerAccountId getPlayerAccountManager getPlayerBalance getPlayerBlessing getPlayerByGUID getPlayerByName getPlayerByNameWildcard getPlayerCustomFlagValue getPlayerDepotItems getPlayerExperience getPlayerFlagValue getPlayerFood getPlayerFreeCap getPlayerGhostAccess getPlayerGroupId getPlayerGroupName getPlayerGUID getPlayerGUIDByName getPlayerGuildId getPlayerGuildLevel getPlayerGuildName getPlayerGuildNick getPlayerGuildRank getPlayerGuildRankId getPlayerIdleTime getPlayerInstantSpellCount getPlayerInstantSpellInfo getPlayerIp getPlayerItemById getPlayerItemCount getPlayerLastLoad getPlayerLastLogin getPlayerLearnedInstantSpell getPlayerLevel getPlayerLight getPlayerLossPercent getPlayerLossSkill getPlayerMagLevel getPlayerMasterPos getPlayerModes getPlayerMoney getPlayerNameByGUID getPlayerNameDescription getPlayerPartner getPlayerParty getPlayerPremiumDays getPlayerPromotionLevel getPlayerPVPBlessing getPlayerRates getPlayerRequiredMana getPlayerRequiredSkillTries getPlayersByAccountId getPlayersByIp getPlayerSex getPlayerSkillLevel getPlayerSkillTries getPlayerSkullEnd getPlayerSlotItem getPlayersOnline getPlayerSoul getPlayerSpecialDescription getPlayerSpentMana getPlayerStamina getPlayerTown getPlayerTradeState getPlayerVocation getPlayerVocationName getPlayerWeapon getPositionByDirection getPromotedVocation getSearchString getSpectators getStatementsCount getStorage getStorageList getTalkActionList getThing getThingFromPos getThingPosition getTibiaTime getTileInfo getTileItemById getTileItemByType getTilePzInfo getTileThingByPos getTileZoneInfo getTopCreature getTownHouses getTownId getTownList getTownName getTownTemplePosition getVocationInfo getVocationList getWaypointList getWaypointPosition getWorldCreatures getWorldLight getWorldTime getWorldType getWorldUpTime hasItemProperty hasPlayerClient isAccountBanished isContainer isCorpse isCreature isDruid isInArray isInParty isInRange isIpBanished isItemContainer isItemDoor isItemFluidContainer isItemMovable isItemRune isItemStackable isKnight isMonster isMovable isNpc isNumeric isPaladin isPlayer isPlayerBanished isPlayerGhost isPlayerPzLocked isPlayerSaving isPremium isPrivateChannel isRookie isSightClear isSorcerer isValidPosition luaVariantToPosition numberToVariant playerExists Position positionToVariant registerCreatureEvent setAttackFormula setCombatArea setCombatCallBack setCombatCondition setCombatFormula setCombatParam setConditionFormula setConditionParam setCreatureMaxHealth setCreatureMaxMana setHealingFormula setHouseAccessList setHouseOwner setWorldType stopEvent stringToVariant targetPositionToVariant unregisterCreatureEvent variantToNumber variantToPosition variantToString </Keywords>
            <Keywords name="3"> Double.Word bit.urshift bit.uband bit.ubor bit.ulshift db.connected db.escapeBlob db.escapeString db.lastInsertId db.query db.storeQuery db.stringComparer db.tableExists db.tableExists db.updateLimiter exhaustion.check exhaustion.get exhaustion.make exhaustion.set os.mtime result.free result.getDataInt result.getDataLong result.getDataStream result.getDataString result.next std.cout std.md5 std.sha1 std.sha256 std.sha512 </Keywords>
            <Keywords name="4"> Double:Word Result:getID Result:setID Result:getQuery Result:setQuery Result:create Result:getRows Result:getDataInt Result:getDataLong Result:getDataString Result:getDataStream Result:next Result:free str:find str:gmatch str:sub </Keywords>
            <Keywords name="5"> coroutine debug io math os package string table bit db result std errors </Keywords>
            <Keywords name="6"> coroutine.create coroutine.resume coroutine.running coroutine.status coroutine.wrap coroutine.yield debug.debug debug.getfenv debug.gethook debug.getinfo debug.getlocal debug.getmetatable debug.getregistry debug.getupvalue debug.setfenv debug.sethook debug.setlocal debug.setmetatable debug.setupvalue debug.traceback io.close io.flush io.input io.lines io.open io.output io.popen io.read io.stderr io.stdin io.stdout io.tmpfile io.type io.write math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp math.floor math.fmod math.frexp math.huge math.ldexp math.log math.log10 math.max math.min math.mod math.modf math.pi math.pow math.rad math.random math.randomseed math.sin math.sinh math.sqrt math.tan math.tanh os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename os.setlocale os.time os.tmpname package.cpath package.loaded package.loaders package.loadlib package.path package.preload package.seeall string.byte string.char string.dump string.expand string.explode string.find string.format string.gfind string.gmatch string.gsub string.len string.lower string.match string.rep string.reverse string.split string.sub string.timediff string.trim string.upper table.concat table.find table.foreach table.foreachi table.getn table.insert table.maxn table.remove table.setn table.sort </Keywords>
            <Keywords name="7"> Object:Functions Object.Functions __add __call __concat __div __eq __gc __index __le __lt __metatable __mode __mul __newindex __pow __sub __tostring __unm </Keywords>
            <Keywords name="8"> broadcastMessage cleanHouse cleanMap convertIntToIP convertIPToInt creatureGetPosition db.quote doAddMapMark doAreaCombatCondition doAreaCombatDispel doAreaCombatHealth doAreaCombatMana doCreatureSetLookDir doPlayerAddExp doPlayerAddMana doPlayerRemOutfit doPlayerSay doPlayerSetNoMove doPlayerSetSkillRate doPlayerSetStorageValue doSendTutorial doSetCreatureDropLoot doSetItemActionId executeQuery executeRaid getAccountNumberByName getAccountNumberByPlayerName getConfigInfo getCreatureLookDir getCreaturePos getCreaturePosition getCreatureSkull getGlobalStorageValue getIPByName getIPByPlayerName getItemDescriptionsById getPlayerLastLoginSaved getPlayerLookDir getPlayerLookDirection getPlayerLookPos getPlayerMana getPlayerMaxMana getPlayerMount getPlayerName getPlayerNoMove getPlayerPosition getPlayersByAccountNumber getPlayersByIP getPlayersByIPNumber getPlayerSkill getPlayerSkullType getPlayerStorageValue getPosByDir getThingfromPos getThingPos getTileHouseInfo getWaypointsList hasClient hasCondition hasProperty isInArea isItemMoveable isMoveable isNumber mayNotMove pay playerLearnInstantSpell queryTileAddThing saveData savePlayers saveServer setGlobalStorageValue setPlayerBalance setPlayerGroupId setPlayerPartner setPlayerPromotionLevel setPlayerStamina setPlayerStorageValue shutdown stringComparison stringComparisonOperator table.getPos updateQueryLimitOperator CONDITION_EARTH CONDITION_PHYSICAL CONST_ME_GIFTWRAPS CONST_PROP_BLOCKINGANDNOTMOVEABLE CONST_PROP_MOVEABLE FALSE LUA_ERROR LUA_NO_ERROR LUA_NULL RETURNVALUE_NOTMOVEABLE SKILLS STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE TRUE </Keywords>
        </Language>
    </Languages>
    <LexerStyles>
        <LexerType name="Gmod Lua" desc="Gmod Lua" excluded="no" ext="">
            <WordsStyle fgColor="F0F8F0" bgColor="060606" fontName="Consolas" fontSize="12" fontStyle="0" styleID="0" name="DEFAULT" />
            <WordsStyle fgColor="50E098" bgColor="121212" fontName="Consolas" fontSize="12" fontStyle="0" styleID="1" name="LUA COMMENT BLOCKS" />
            <WordsStyle fgColor="48C8B8" bgColor="120418" fontName="Consolas" fontSize="12" fontStyle="0" styleID="2" name="CPP COMMENT BLOCKS" />
            <WordsStyle fgColor="48D0A8" bgColor="120816" fontName="Consolas" fontSize="12" fontStyle="0" styleID="3" name="LUA COMMENT LINES" />
            <WordsStyle fgColor="48C8B8" bgColor="120418" fontName="Consolas" fontSize="12" fontStyle="0" styleID="4" name="CPP COMMENT LINES" />
            <WordsStyle fgColor="FFC030" bgColor="040404" fontName="Consolas" fontSize="12" fontStyle="0" styleID="5" name="NUMBERS" />
            <WordsStyle fgColor="7090F0" bgColor="040404" fontName="Consolas" fontSize="12" fontStyle="1" styleID="6" name="OPERATORS" />
            <WordsStyle fgColor="4040E0" bgColor="040404" fontName="Consolas" fontSize="12" fontStyle="0" styleID="8" name="STRINGS" />
            <WordsStyle fgColor="4080FF" bgColor="040404" fontName="Consolas" fontSize="12" fontStyle="0" styleID="9" name="CHARACTERS" />
            <WordsStyle fgColor="C020E0" bgColor="040404" fontName="Consolas" fontSize="12" fontStyle="0" styleID="11" name="LITERAL STRINGS" />
            <WordsStyle fgColor="FF30C0" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="1" styleID="20" name="INSTRUCTION WORDS" keywordClass="0" />
            <WordsStyle fgColor="808000" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="0" styleID="21" name="GLOBAL CONSTANTS" keywordClass="1" />
            <WordsStyle fgColor="0080C0" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="0" styleID="22" name="GLOBAL FUNCTIONS" keywordClass="2" />
            <WordsStyle fgColor="E03090" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="2" styleID="23" name="SCRIPTED VARIABLES" keywordClass="3" />
            <WordsStyle fgColor="0000A0" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="0" styleID="24" name="SCRIPTED FUNCTIONS" keywordClass="4" />
            <WordsStyle fgColor="8000FF" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="0" styleID="25" name="LIBRARIES" keywordClass="5" />
            <WordsStyle fgColor="8000FF" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="0" styleID="26" name="LIBRARY CALLS" keywordClass="6" />
            <WordsStyle fgColor="804040" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="1" styleID="27" name="OBJECT FUNCTIONS" keywordClass="7" />
            <WordsStyle fgColor="FF0000" bgColor="080808" fontName="Consolas" fontSize="12" fontStyle="0" styleID="28" name="RED FLAGS" keywordClass="8" />
        </LexerType>
    </LexerStyles>
</NotepadPlus>
A nice feature of this is that deprecated function names will be in RED. Open the 100-compat.lua in your libs folder to see what I mean.

You may also like this;
Menu:Settings->Edit Popup ContextMenu
Above
Code:
        <!-- 
        Use MenuEntryName and MenuItemName to localize your commands to add. 
        The values should be in English but not in translated language.
        (You can set Notepad++ language back to English from Preferences dialog via menu "Settings->Preferences...")
        -->
Insert
Code:
        <Item id="0" />
        <Item MenuEntryName="Search" MenuItemName="Find..."    />
        <Item MenuEntryName="Search" MenuItemName="Replace..." />
        <Item id="0" />
        <Item FolderName="Quick Tools" id="0"     />
        <Item FolderName="Quick Tools" id="42030" />
        <Item FolderName="Quick Tools" id="42033" />
        <Item FolderName="Quick Tools" id="41014" />
        <Item FolderName="Quick Tools" id="41017" />
        <Item FolderName="Quick Tools" id="0"     />
        <Item FolderName="Quick Tools" id="45010" />
        <Item FolderName="Quick Tools" id="45002" />
        <Item FolderName="Quick Tools" id="45003" />
        <Item FolderName="Quick Tools" id="0"     />
        <Item FolderName="Quick Tools" PluginEntryName="TextFX Characters" PluginCommandItemName="T:+Sort ascending"                             ItemNameAs="Toggle Sort Direction" />
        <Item FolderName="Quick Tools" PluginEntryName="TextFX Characters" PluginCommandItemName="T:+Sort outputs only UNIQUE (at column) lines" ItemNameAs="Toggle Unique Filter" />
        <Item FolderName="Quick Tools" PluginEntryName="TextFX Characters" PluginCommandItemName="T:Sort lines case sensitive (at column)"       ItemNameAs="Sort - Case Sensitive" />
        <Item FolderName="Quick Tools" PluginEntryName="TextFX Characters" PluginCommandItemName="T:Sort lines case insensitive (at column)"     ItemNameAs="Sort - Case Insensitive" />
        <Item FolderName="Quick Tools" PluginEntryName="TextFX Characters" PluginCommandItemName="E:Trim Trailing Spaces"                        ItemNameAs="Trim trailing spaces" />
        <Item FolderName="Quick Tools" id="42034" />
        <Item FolderName="Quick Tools" id="0"     />
        <Item FolderName="Capital/Case" id="0" />
        <Item FolderName="Capital/Case" MenuEntryName="Edit" MenuItemName="lowercase"/>
        <Item FolderName="Capital/Case" PluginEntryName="TextFX Characters" PluginCommandItemName="Proper Case" ItemNameAs="Proper Case" />
        <Item FolderName="Capital/Case" PluginEntryName="TextFX Characters" PluginCommandItemName="Sentence case." ItemNameAs="Sentence case." />
        <Item FolderName="Capital/Case" MenuEntryName="Edit" MenuItemName="UPPERCASE"/>
        <Item FolderName="Capital/Case" PluginEntryName="TextFX Characters" PluginCommandItemName="iNVERT cASE" ItemNameAs="iNVERT cASE" />
        <Item FolderName="Capital/Case" id="0" />
        <Item id="0"/>

To make the most use out of this though you need to make sure TextFX is installed. It's also in the Plugin Manager.
 
Woah !!! o_O you are amazing how you felt like that's all to write...
Even I didn't know that there were such functions in lua xd rep+
 
are you insane? that black boxes appearing in half of code and dark font color on that boxes isnt any bit better than default lua highlighting
sorry

also fonty sucks and getting used to new highlighting(I changed all bg colors back to white) is bad diea
version with default higlighting and lets say added deprecated functions in red would be nice

fixed version:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!--
        Xaekai's modified Gmod Lua Lexer config for OTServ/TFS Lua keywords and functions
    -->
<NotepadPlus>
    <Languages>
        <Language name="Gmod Lua" ext="lua" commentLine="--" commentStart="--[[" commentEnd="]]--">
            <Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:" />
            <Keywords name="0"> and break do else elseif end false for function if in local nil not or repeat return then true until while </Keywords>
            <Keywords name="1"> _VERSION ACTION_BANFINAL ACTION_BANISHMENT ACTION_BANLOCK ACTION_BANLOCKFINAL ACTION_BANREPORT ACTION_BANREPORTFINAL ACTION_DELETION ACTION_NAMELOCK ACTION_NAMEREPORT ACTION_NOTATION ACTION_PLACEHOLDER ACTION_STATEMENT AUTOID_MONSTERS AUTOID_NPCS AUTOID_PLAYERS BAN_ACCOUNT BAN_IP BAN_NONE BAN_NOTATION BAN_PLAYER BAN_STATEMENT CALLBACK_PARAM_LEVELMAGICVALUE CALLBACK_PARAM_SKILLVALUE CALLBACK_PARAM_TARGETCREATURE CALLBACK_PARAM_TARGETTILE CHANNEL_DEFAULT CHANNEL_GUILD CHANNEL_HELP CHANNEL_PARTY CHANNEL_PRIVATE CHANNEL_RVR CHASEMODE_FOLLOW CHASEMODE_STANDSTILL COLOR_BLACK COLOR_BLUE COLOR_BROWN COLOR_DARKBROWN COLOR_DARKORANGE COLOR_DARKPINK COLOR_DARKPURPLE COLOR_DARKRED COLOR_DARKYELLOW COLOR_GREEN COLOR_GREY COLOR_LIGHTBLUE COLOR_LIGHTGREEN COLOR_NONE COLOR_ORANGE COLOR_PINK COLOR_PURPLE COLOR_RED COLOR_TEAL COLOR_WHITE COLOR_YELLOW COMBAT_DEATHDAMAGE COMBAT_DROWNDAMAGE COMBAT_EARTHDAMAGE COMBAT_ENERGYDAMAGE COMBAT_FIREDAMAGE COMBAT_FORMULA_DAMAGE COMBAT_FORMULA_LEVELMAGIC COMBAT_FORMULA_SKILL COMBAT_FORMULA_UNDEFINED COMBAT_HEALING COMBAT_HOLYDAMAGE COMBAT_ICEDAMAGE COMBAT_LIFEDRAIN COMBAT_MANADRAIN COMBAT_NONE COMBAT_PARAM_AGGRESSIVE COMBAT_PARAM_BLOCKARMOR COMBAT_PARAM_BLOCKSHIELD COMBAT_PARAM_CREATEITEM COMBAT_PARAM_DIFFERENTAREADAMAGE COMBAT_PARAM_DISPEL COMBAT_PARAM_DISTANCEEFFECT COMBAT_PARAM_EFFECT COMBAT_PARAM_HITCOLOR COMBAT_PARAM_HITEFFECT COMBAT_PARAM_TARGETCASTERORTOPMOST COMBAT_PARAM_TARGETPLAYERSORSUMMONS COMBAT_PARAM_TYPE COMBAT_PARAM_USECHARGES COMBAT_PHYSICALDAMAGE COMBAT_POISONDAMAGE COMBAT_UNDEFINEDDAMAGE CONDITION_ATTRIBUTES CONDITION_BLEEDING CONDITION_CURSED CONDITION_DAZZLED CONDITION_DROWN CONDITION_DRUNK CONDITION_ENERGY CONDITION_EXHAUST CONDITION_FIRE CONDITION_FOOD CONDITION_FREEZING CONDITION_GAMEMASTER CONDITION_HASTE CONDITION_HUNTING CONDITION_INFIGHT CONDITION_INVISIBLE CONDITION_LIGHT CONDITION_MANASHIELD CONDITION_MUTED CONDITION_NONE CONDITION_OUTFIT CONDITION_PACIFIED CONDITION_PARALYZE CONDITION_PARAM_BUFF CONDITION_PARAM_DELAYED CONDITION_PARAM_FIELD CONDITION_PARAM_FORCEUPDATE CONDITION_PARAM_HEALTHGAIN CONDITION_PARAM_HEALTHTICKS CONDITION_PARAM_LIGHT_COLOR CONDITION_PARAM_LIGHT_LEVEL CONDITION_PARAM_MANAGAIN CONDITION_PARAM_MANATICKS CONDITION_PARAM_MAXVALUE CONDITION_PARAM_MINVALUE CONDITION_PARAM_OUTFIT CONDITION_PARAM_OWNER CONDITION_PARAM_PERIODICDAMAGE CONDITION_PARAM_SKILL_AXE CONDITION_PARAM_SKILL_AXEPERCENT CONDITION_PARAM_SKILL_CLUB CONDITION_PARAM_SKILL_CLUBPERCENT CONDITION_PARAM_SKILL_DISTANCE CONDITION_PARAM_SKILL_DISTANCEPERCENT CONDITION_PARAM_SKILL_FISHING CONDITION_PARAM_SKILL_FISHINGPERCENT CONDITION_PARAM_SKILL_FIST CONDITION_PARAM_SKILL_FISTPERCENT CONDITION_PARAM_SKILL_MELEE CONDITION_PARAM_SKILL_MELEEPERCENT CONDITION_PARAM_SKILL_SHIELD CONDITION_PARAM_SKILL_SHIELDPERCENT CONDITION_PARAM_SKILL_SWORD CONDITION_PARAM_SKILL_SWORDPERCENT CONDITION_PARAM_SOULGAIN CONDITION_PARAM_SOULTICKS CONDITION_PARAM_SPEED CONDITION_PARAM_STARTVALUE CONDITION_PARAM_STAT_MAGICLEVEL CONDITION_PARAM_STAT_MAGICLEVELPERCENT CONDITION_PARAM_STAT_MAXHEALTH CONDITION_PARAM_STAT_MAXHEALTHPERCENT CONDITION_PARAM_STAT_MAXMANA CONDITION_PARAM_STAT_MAXMANAPERCENT CONDITION_PARAM_STAT_SOUL CONDITION_PARAM_STAT_SOULPERCENT CONDITION_PARAM_SUBID CONDITION_PARAM_TICKINTERVAL CONDITION_PARAM_TICKS CONDITION_POISON CONDITION_REGENERATION CONDITION_SOUL CONST_ANI_ARROW CONST_ANI_BOLT CONST_ANI_BURSTARROW CONST_ANI_CAKE CONST_ANI_DEATH CONST_ANI_EARTH CONST_ANI_EARTHARROW CONST_ANI_ENCHANTEDSPEAR CONST_ANI_ENERGY CONST_ANI_ENERGYBALL CONST_ANI_ETHEREALSPEAR CONST_ANI_EXPLOSION CONST_ANI_FIRE CONST_ANI_FLAMMINGARROW CONST_ANI_FLASHARROW CONST_ANI_GREENSTAR CONST_ANI_HOLY CONST_ANI_HUNTINGSPEAR CONST_ANI_ICE CONST_ANI_INFERNALBOLT CONST_ANI_LARGEROCK CONST_ANI_LAST CONST_ANI_NONE CONST_ANI_ONYXARROW CONST_ANI_PIERCINGBOLT CONST_ANI_POISON CONST_ANI_POISONARROW CONST_ANI_POWERBOLT CONST_ANI_REDSTAR CONST_ANI_ROYALSPEAR CONST_ANI_SHIVERARROW CONST_ANI_SMALLEARTH CONST_ANI_SMALLHOLY CONST_ANI_SMALLICE CONST_ANI_SMALLSTONE CONST_ANI_SNIPERARROW CONST_ANI_SNOWBALL CONST_ANI_SPEAR CONST_ANI_SUDDENDEATH CONST_ANI_THROWINGKNIFE CONST_ANI_THROWINGSTAR CONST_ANI_WEAPONTYPE CONST_ANI_WHIRLWINDAXE CONST_ANI_WHIRLWINDCLUB CONST_ANI_WHIRLWINDSWORD CONST_ME_ASSASSIN CONST_ME_BATS CONST_ME_BIGCLOUDS CONST_ME_BIGPLANTS CONST_ME_BLOCKHIT CONST_ME_BLOODYSTEPS CONST_ME_BUBBLES CONST_ME_CAKE CONST_ME_CARNIPHILA CONST_ME_CRAPS CONST_ME_DRAGONHEAD CONST_ME_DRAWBLOOD CONST_ME_ENERGYAREA CONST_ME_ENERGYHIT CONST_ME_EXPLOSIONAREA CONST_ME_EXPLOSIONHIT CONST_ME_FIREAREA CONST_ME_FIREATTACK CONST_ME_FIREWORK_BLUE CONST_ME_FIREWORK_RED CONST_ME_FIREWORK_YELLOW CONST_ME_GIANTICE CONST_ME_GIFT_WRAPS CONST_ME_GREEN_RINGS CONST_ME_GROUNDSHAKER CONST_ME_HEARTS CONST_ME_HITAREA CONST_ME_HITBYFIRE CONST_ME_HITBYPOISON CONST_ME_HOLYAREA CONST_ME_HOLYDAMAGE CONST_ME_ICEAREA CONST_ME_ICEATTACK CONST_ME_ICETORNADO CONST_ME_INSECTS CONST_ME_LAST CONST_ME_LOSEENERGY CONST_ME_MAGIC_BLUE CONST_ME_MAGIC_GREEN CONST_ME_MAGIC_RED CONST_ME_MIRRORHORIZONTAL CONST_ME_MIRRORVERTICAL CONST_ME_MORTAREA CONST_ME_NONE CONST_ME_PLANTATTACK CONST_ME_POFF CONST_ME_POISONAREA CONST_ME_PURPLEENERGY CONST_ME_SKULLHORIZONTAL CONST_ME_SKULLVERTICAL CONST_ME_SLEEP CONST_ME_SMALLCLOUDS CONST_ME_SMALLPLANTS CONST_ME_SMOKE CONST_ME_SOUND_BLUE CONST_ME_SOUND_GREEN CONST_ME_SOUND_PURPLE CONST_ME_SOUND_RED CONST_ME_SOUND_WHITE CONST_ME_SOUND_YELLOW CONST_ME_STEPSHORIZONTAL CONST_ME_STEPSVERTICAL CONST_ME_STONES CONST_ME_STUN CONST_ME_TELEPORT CONST_ME_TUTORIALARROW CONST_ME_TUTORIALSQUARE CONST_ME_WATERCREATURE CONST_ME_WATERSPLASH CONST_ME_YALAHARIGHOST CONST_ME_YELLOWENERGY CONST_ME_YELLOW_RINGS CONST_PROP_BLOCKINGANDNOTMOVABLE CONST_PROP_BLOCKPATHFIND CONST_PROP_BLOCKPROJECTILE CONST_PROP_BLOCKSOLID CONST_PROP_HASHEIGHT CONST_PROP_ISHORIZONTAL CONST_PROP_ISVERTICAL CONST_PROP_MOVABLE CONST_PROP_SUPPORTHANGABLE CONST_SLOT_AMMO CONST_SLOT_ARMOR CONST_SLOT_BACKPACK CONST_SLOT_FEET CONST_SLOT_FIRST CONST_SLOT_HEAD CONST_SLOT_LAST CONST_SLOT_LEFT CONST_SLOT_LEGS CONST_SLOT_NECKLACE CONST_SLOT_RIGHT CONST_SLOT_RING CONTAINER_POSITION DATABASE_MYSQL DATABASE_NONE DATABASE_ODBC DATABASE_POSTGRESQL DATABASE_SQLITE EAST EMBLEM_BLUE EMBLEM_GREEN EMBLEM_NONE EMBLEM_RED EMPTY_RESULT EMPTY_STORAGE EXHAUST_COMBAT EXHAUST_HEALING EXHAUST_OTHER EXHAUST_WEAPON FIGHTMODE_ATTACK FIGHTMODE_BALANCED FIGHTMODE_DEFENSE GAMEMASTER_IGNORE GAMEMASTER_INVISIBLE GAMEMASTER_TELEPORT GAMESTATE_CLOSED GAMESTATE_CLOSING GAMESTATE_INIT GAMESTATE_MAINTAIN GAMESTATE_NORMAL GAMESTATE_SHUTDOWN GAMESTATE_STARTUP GUILD_LEADER GUILD_MEMBER GUILD_VICE ITEMCOUNT_MAX ITEM_CRYSTAL_COIN ITEM_FISH ITEM_GOLD_COIN ITEM_GREEN_PERCH ITEM_GROUP_CHARGES ITEM_GROUP_CONTAINER ITEM_GROUP_FLUID ITEM_GROUP_GROUND ITEM_GROUP_NONE ITEM_GROUP_SPLASH ITEM_LABEL ITEM_MECHANICAL_FISH ITEM_MECHANICAL_FISHING_ROD ITEM_NAIL ITEM_NORTHERN_PIKE ITEM_PARCEL ITEM_PLATINUM_COIN ITEM_RAINBOW_TROUT ITEM_SCARAB_COIN ITEM_TYPE_BED ITEM_TYPE_CONTAINER ITEM_TYPE_DEPOT ITEM_TYPE_DOOR ITEM_TYPE_KEY ITEM_TYPE_LEVELDOOR ITEM_TYPE_MAGICFIELD ITEM_TYPE_MAILBOX ITEM_TYPE_NONE ITEM_TYPE_RUNE ITEM_TYPE_TELEPORT ITEM_TYPE_TRASHHOLDER ITEM_WORM MANAGER_ACCOUNT MANAGER_NAMELOCK MANAGER_NEW MANAGER_NONE MAPMARK_BAG MAPMARK_CROSS MAPMARK_DOLLAR MAPMARK_EXCLAMATION MAPMARK_FLAG MAPMARK_GREENNORTH MAPMARK_GREENSOUTH MAPMARK_KISS MAPMARK_LOCK MAPMARK_QUESTION MAPMARK_REDEAST MAPMARK_REDNORTH MAPMARK_REDSOUTH MAPMARK_REDWEST MAPMARK_SHOVEL MAPMARK_SKULL MAPMARK_STAR MAPMARK_SWORD MAPMARK_TEMPLE MAPMARK_TICK MESSAGE_EVENT_ADVANCE MESSAGE_EVENT_DEFAULT MESSAGE_EVENT_ORANGE MESSAGE_FIRST MESSAGE_INFO_DESCR MESSAGE_LAST MESSAGE_STATUS_CONSOLE_BLUE MESSAGE_STATUS_CONSOLE_ORANGE MESSAGE_STATUS_CONSOLE_RED MESSAGE_STATUS_DEFAULT MESSAGE_STATUS_SMALL MESSAGE_STATUS_WARNING MESSAGE_TYPES MUTED_BUFFER MUTED_TRADE MUTED_TRADE_ROOK MUTED_YELL NORTH NORTHEAST NORTHWEST PLAYERBAN_BANISHMENT PLAYERBAN_LOCK PLAYERBAN_NONE PLAYERBAN_REPORT PLAYERCUSTOMFLAG_ALLOWIDLE PLAYERCUSTOMFLAG_CANLOGINMULTIPLECHARACTERS PLAYERCUSTOMFLAG_CANLOGOUTANYTIME PLAYERCUSTOMFLAG_CANMOVEANYWHERE PLAYERCUSTOMFLAG_CANMOVEFROMFAR PLAYERCUSTOMFLAG_CANPUSHALLITEMS PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS PLAYERCUSTOMFLAG_CANSEEITEMDETAILS PLAYERCUSTOMFLAG_CANSEEPOSITION PLAYERCUSTOMFLAG_CANSTAIRHOP PLAYERCUSTOMFLAG_CANTHROWANYWHERE PLAYERCUSTOMFLAG_CANTURNHOP PLAYERCUSTOMFLAG_CANWALKTHROUGH PLAYERCUSTOMFLAG_CANWEARALLADDONS PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES PLAYERCUSTOMFLAG_HASFULLLIGHT PLAYERCUSTOMFLAG_HIDELEVEL PLAYERCUSTOMFLAG_IGNOREHOUSERENT PLAYERCUSTOMFLAG_IGNORELOGINDELAY PLAYERCUSTOMFLAG_IGNOREPACIFICATION PLAYERCUSTOMFLAG_ISIMMUNE PLAYERCUSTOMFLAG_ISPROTECTED PLAYERCUSTOMFLAG_ISWALKABLE PLAYERCUSTOMFLAG_NOTGAINSKULL PLAYERCUSTOMFLAG_NOTGAINUNJUSTIFIED PLAYERCUSTOMFLAG_NOTSEARCHABLE PLAYERFLAG_39 PLAYERFLAG_45 PLAYERFLAG_CANALWAYSLOGIN PLAYERFLAG_CANANSWERRULEVIOLATIONS PLAYERFLAG_CANBROADCAST PLAYERFLAG_CANCONVINCEALL PLAYERFLAG_CANEDITHOUSES PLAYERFLAG_CANILLUSIONALL PLAYERFLAG_CANNOTATTACKMONSTER PLAYERFLAG_CANNOTATTACKPLAYER PLAYERFLAG_CANNOTBEATTACKED PLAYERFLAG_CANNOTBEBANNED PLAYERFLAG_CANNOTBEMUTED PLAYERFLAG_CANNOTBEPUSHED PLAYERFLAG_CANNOTBESEEN PLAYERFLAG_CANNOTMOVECREATURES PLAYERFLAG_CANNOTMOVEITEMS PLAYERFLAG_CANNOTPICKUPITEM PLAYERFLAG_CANNOTUSECOMBAT PLAYERFLAG_CANNOTUSESPELLS PLAYERFLAG_CANPUSHALLCREATURES PLAYERFLAG_CANREPORTBUGS PLAYERFLAG_CANSENSEINVISIBILITY PLAYERFLAG_CANSUMMONALL PLAYERFLAG_CANTALKREDCHANNEL PLAYERFLAG_CANTALKREDCHANNELANONYMOUS PLAYERFLAG_CANTALKREDPRIVATE PLAYERFLAG_HASINFINITECAPACITY PLAYERFLAG_HASINFINITEMANA PLAYERFLAG_HASINFINITESOUL PLAYERFLAG_HASINFINITESTAMINA PLAYERFLAG_HASNOEXHAUSTION PLAYERFLAG_HIDEHEALTH PLAYERFLAG_IGNOREDBYMONSTERS PLAYERFLAG_IGNOREPROTECTIONZONE PLAYERFLAG_IGNORESPELLCHECK PLAYERFLAG_IGNOREWEAPONCHECK PLAYERFLAG_ISALWAYSPREMIUM PLAYERFLAG_NOTGAINEXPERIENCE PLAYERFLAG_NOTGAINHEALTH PLAYERFLAG_NOTGAININFIGHT PLAYERFLAG_NOTGAINMANA PLAYERFLAG_NOTGAINSKILL PLAYERFLAG_NOTGENERATELOOT PLAYERFLAG_SETMAXSPEED PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION PLAYERFLAG_SPECIALVIP PLAYERFLAG_TALKORANGEHELPCHANNEL PLAYERLOSS_CONTAINERS PLAYERLOSS_EXPERIENCE PLAYERLOSS_ITEMS PLAYERLOSS_MANA PLAYERLOSS_SKILLS PLAYERSEX_FEMALE PLAYERSEX_GAMEMASTER PLAYERSEX_MALE RECURSE_ALL RECURSE_FIRST RECURSE_NONE RELOAD_ACTIONS RELOAD_ALL RELOAD_CHAT RELOAD_CONFIG RELOAD_CREATUREEVENTS RELOAD_GAMESERVERS RELOAD_GLOBALEVENTS RELOAD_GROUPS RELOAD_HIGHSCORES RELOAD_HOUSEPRICES RELOAD_ITEMS RELOAD_MODS RELOAD_MONSTERS RELOAD_MOVEEVENTS RELOAD_NPCS RELOAD_OUTFITS RELOAD_QUESTS RELOAD_RAIDS RELOAD_SPELLS RELOAD_STAGES RELOAD_TALKACTIONS RELOAD_VOCATIONS RELOAD_WEAPONS RETURNVALUE_ACTIONNOTPERMITTEDINANOPVPZONE RETURNVALUE_ACTIONNOTPERMITTEDINPROTECTIONZONE RETURNVALUE_BOTHHANDSNEEDTOBEFREE RETURNVALUE_CANNOTBEDRESSED RETURNVALUE_CANNOTCONJUREITEMHERE RETURNVALUE_CANNOTPICKUP RETURNVALUE_CANNOTTHROW RETURNVALUE_CANNOTUSETHISOBJECT RETURNVALUE_CANONLYUSEONESHIELD RETURNVALUE_CANONLYUSEONEWEAPON RETURNVALUE_CANONLYUSETHISRUNEONCREATURES RETURNVALUE_CONTAINERNOTENOUGHROOM RETURNVALUE_CREATUREBLOCK RETURNVALUE_CREATUREDOESNOTEXIST RETURNVALUE_CREATUREISNOTREACHABLE RETURNVALUE_DEPOTISFULL RETURNVALUE_DESTINATIONOUTOFREACH RETURNVALUE_DIRECTPLAYERSHOOT RETURNVALUE_DONTSHOWMESSAGE RETURNVALUE_DROPTWOHANDEDITEM RETURNVALUE_FIRSTGODOWNSTAIRS RETURNVALUE_FIRSTGOUPSTAIRS RETURNVALUE_NAMEISTOOAMBIGUOUS RETURNVALUE_NEEDEXCHANGE RETURNVALUE_NOERROR RETURNVALUE_NOTENOUGHCAPACITY RETURNVALUE_NOTENOUGHLEVEL RETURNVALUE_NOTENOUGHMAGICLEVEL RETURNVALUE_NOTENOUGHMANA RETURNVALUE_NOTENOUGHROOM RETURNVALUE_NOTENOUGHSOUL RETURNVALUE_NOTMOVABLE RETURNVALUE_NOTPOSSIBLE RETURNVALUE_NOTREQUIREDLEVELTOUSERUNE RETURNVALUE_PLAYERISNOTINVITED RETURNVALUE_PLAYERISNOTREACHABLE RETURNVALUE_PLAYERISPZLOCKED RETURNVALUE_PLAYERISPZLOCKEDENTERPVPZONE RETURNVALUE_PLAYERISPZLOCKEDLEAVEPVPZONE RETURNVALUE_PLAYERWITHTHISNAMEISNOTONLINE RETURNVALUE_PUTTHISOBJECTINBOTHHANDS RETURNVALUE_PUTTHISOBJECTINYOURHAND RETURNVALUE_THEREISNOWAY RETURNVALUE_THISISIMPOSSIBLE RETURNVALUE_THISPLAYERISALREADYTRADING RETURNVALUE_TILEISFULL RETURNVALUE_TOOFARAWAY RETURNVALUE_TURNSECUREMODETOATTACKUNMARKEDPLAYERS RETURNVALUE_YOUAREALREADYTRADING RETURNVALUE_YOUAREEXHAUSTED RETURNVALUE_YOUARENOTTHEOWNER RETURNVALUE_YOUCANNOTLOGOUTHERE RETURNVALUE_YOUCANONLYUSEITONCREATURES RETURNVALUE_YOUMAYNOTATTACKAPERSONINPROTECTIONZONE RETURNVALUE_YOUMAYNOTATTACKAPERSONWHILEINPROTECTIONZONE RETURNVALUE_YOUMAYNOTATTACKTHISCREATURE RETURNVALUE_YOUMAYNOTATTACKTHISPLAYER RETURNVALUE_YOUMAYNOTCASTAREAONBLACKSKULL RETURNVALUE_YOUMAYNOTLOGOUTDURINGAFIGHT RETURNVALUE_YOUNEEDAMAGICITEMTOCASTSPELL RETURNVALUE_YOUNEEDAWEAPONTOUSETHISSPELL RETURNVALUE_YOUNEEDPREMIUMACCOUNT RETURNVALUE_YOUNEEDTOLEARNTHISSPELL RETURNVALUE_YOUNEEDTOSPLITYOURSPEARS RETURNVALUE_YOURVOCATIONCANNOTUSETHISSPELL SECUREMODE_OFF SECUREMODE_ON SHIELD_BLUE SHIELD_BLUE_NOSHAREDEXP SHIELD_BLUE_NOSHAREDEXP_BLINK SHIELD_BLUE_SHAREDEXP SHIELD_LAST SHIELD_NONE SHIELD_WHITEBLUE SHIELD_WHITEYELLOW SHIELD_YELLOW SHIELD_YELLOW_NOSHAREDEXP SHIELD_YELLOW_NOSHAREDEXP_BLINK SHIELD_YELLOW_SHAREDEXP SKILL_AXE SKILL_CLUB SKILL_DISTANCE SKILL_FIRST SKILL_FISHING SKILL_FIST SKILL_IDS SKILL_LAST SKILL_NAMES SKILL_SHIELD SKILL_SWORD SKILL__LAST SKILL__LEVEL SKILL__MAGLEVEL SKULL_BLACK SKULL_GREEN SKULL_LAST SKULL_NONE SKULL_ORANGE SKULL_RED SKULL_WHITE SKULL_YELLOW SOUTH SOUTHEAST SOUTHWEST STACKPOS_GROUND STACKPOS_TOP_CREATURE STACKPOS_TOP_FIELD STACKPOS_TOP_MOVABLE_ITEM_OR_CREATURE STATSCHANGE_HEALTHGAIN STATSCHANGE_HEALTHLOSS STATSCHANGE_MANAGAIN STATSCHANGE_MANALOSS TALKTYPE_BROADCAST TALKTYPE_CHANNEL_O TALKTYPE_CHANNEL_RA TALKTYPE_CHANNEL_RN TALKTYPE_CHANNEL_W TALKTYPE_CHANNEL_Y TALKTYPE_FIRST TALKTYPE_LAST TALKTYPE_MONSTER TALKTYPE_MONSTER_SAY TALKTYPE_MONSTER_YELL TALKTYPE_PRIVATE TALKTYPE_PRIVATE_NP TALKTYPE_PRIVATE_PN TALKTYPE_PRIVATE_RED TALKTYPE_RVR_ANSWER TALKTYPE_RVR_CHANNEL TALKTYPE_RVR_CONTINUE TALKTYPE_SAY TALKTYPE_TYPES TALKTYPE_WHISPER TALKTYPE_YELL TRADE_ACCEPT TRADE_ACKNOWLEDGE TRADE_INITIATED TRADE_NONE TRADE_TRANSFER WEAPON_AMMO WEAPON_AXE WEAPON_CLUB WEAPON_DIST WEAPON_FIST WEAPON_NONE WEAPON_SHIELD WEAPON_SWORD WEAPON_WAND WEST WORLDTYPE_HARDCORE WORLDTYPE_OPEN WORLDTYPE_OPTIONAL </Keywords>
            <Keywords name="2"> _G _INPUT assert collectgarbage dodirectory dofile domodlib dostring error gcinfo getfenv getmetatable ipairs loadfile loadlib loadmodlib loadstring lua_register module next pairs pcall print rawegal rawequal rawget rawset require setfenv setmetatable tonumber tostring type unpack xpcall addDamageCondition addEvent addOutfitCondition canPlayerRideMount canPlayerWearOutfit canPlayerWearOutfitId choose createCombatArea createCombatObject createConditionObject doAddAccountBanishment doAddAccountWarnings doAddCondition doAddContainerItem doAddContainerItemEx doAddIpBanishment doAddNotation doAddPlayerBanishment doAddStatement doBroadcastMessage doChallengeCreature doChangeSpeed doChangeTypeItem doCleanHouse doCleanMap doCleanTile doCombat doCombatAreaCondition doCombatAreaDispel doCombatAreaHealth doCombatAreaMana doComparePositions doConvertIntegerToIp doConvertIpToInteger doConvinceCreature doCopyItem doCreateItem doCreateItemEx doCreateMonster doCreateNpc doCreateTeleport doCreatureAddHealth doCreatureAddMana doCreatureChangeOutfit doCreatureExecuteTalkAction doCreatureSay doCreatureSetDropLoot doCreatureSetGuildEmblem doCreatureSetHideHealth doCreatureSetLookDirection doCreatureSetNoMove doCreatureSetPartyShield doCreatureSetSkullType doCreatureSetSpeakType doCreatureSetStorage doDecayItem doExecuteRaid doGuildAddEnemy doGuildRemoveEnemy doItemEraseAttribute doItemRaidUnref doItemSetActionId doItemSetAttribute doMonsterChangeTarget doMonsterSetTarget doMoveCreature doMutePlayer doNumberFormat doPlayerAddAddons doPlayerAddBlessing doPlayerAddExperience doPlayerAddItem doPlayerAddItemEx doPlayerAddLevel doPlayerAddMagLevel doPlayerAddMapMark doPlayerAddMoney doPlayerAddMount doPlayerAddOutfit doPlayerAddOutfitId doPlayerAddPremiumDays doPlayerAddSkill doPlayerAddSkillTry doPlayerAddSoul doPlayerAddSpentMana doPlayerAddStamina doPlayerBroadcastMessage doPlayerBuyItem doPlayerBuyItemContainer doPlayerChangeName doPlayerDepositAllMoney doPlayerDepositMoney doPlayerFeed doPlayerFollowCreature doPlayerGiveItem doPlayerGiveItemContainer doPlayerJoinParty doPlayerLearnInstantSpell doPlayerLeaveParty doPlayerOpenChannel doPlayerPopupFYI doPlayerRemoveItem doPlayerRemoveMoney doPlayerRemoveMount doPlayerRemoveOutfit doPlayerRemoveOutfitId doPlayerRemovePremiumDays doPlayerResetIdleTime doPlayerSave doPlayerSellItem doPlayerSendCancel doPlayerSendChannelMessage doPlayerSendDefaultCancel doPlayerSendMailByName doPlayerSendOutfitWindow doPlayerSendTextMessage doPlayerSendToChannel doPlayerSendTutorial doPlayerSetBalance doPlayerSetExperienceRate doPlayerSetGroupId doPlayerSetGuildId doPlayerSetGuildLevel doPlayerSetGuildNick doPlayerSetIdleTime doPlayerSetLossPercent doPlayerSetLossSkill doPlayerSetMagicRate doPlayerSetMaxCapacity doPlayerSetMounted doPlayerSetNameDescription doPlayerSetPartner doPlayerSetPromotionLevel doPlayerSetPVPBlessing doPlayerSetPzLocked doPlayerSetRate doPlayerSetSex doPlayerSetSkullEnd doPlayerSetSpecialDescription doPlayerSetStamina doPlayerSetTown doPlayerSetVocation doPlayerSetWalkthrough doPlayerSwitchSaving doPlayerTakeItem doPlayerTransferAllMoneyTo doPlayerTransferMoneyTo doPlayerUnlearnInstantSpell doPlayerWithdrawAllMoney doPlayerWithdrawMoney doRefreshMap doReloadInfo doRelocate doRemoveAccountBanishment doRemoveAccountWarnings doRemoveCondition doRemoveConditions doRemoveCreature doRemoveIpBanishment doRemoveItem doRemoveNotations doRemovePlayerBanishment doRemoveStatements doRemoveThing doSaveServer doSendAnimatedText doSendCreatureSquare doSendDistanceShoot doSendMagicEffect doSetCreatureOutfit doSetGameState doSetItemOutfit doSetItemText doSetMonsterOutfit doSetStorage doShowTextDialog doShutdown doSteerCreature doSummonCreature doSummonMonster doTargetCombatCondition doTargetCombatDispel doTargetCombatHealth doTargetCombatMana doTeleportThing doTileAddItemEx doTileQueryAdd doTransformItem doUpdateHouseAuctions doWaypointAddTemporial doWriteLogFile getAccountByAccountId getAccountByName getAccountIdByAccount getAccountIdByName getAccountWarnings getArticle getBanAction getBanData getBanList getBanReason getBooleanFromString getChannelList getChannelUsers getClosestFreeTile getConfigFile getConfigValue getContainerCap getContainerCapById getContainerItem getContainerSize getCreatureBaseSpeed getCreatureByName getCreatureCondition getCreatureGuildEmblem getCreatureHealth getCreatureHideHealth getCreatureLastPosition getCreatureLookDirection getCreatureLookPosition getCreatureMana getCreatureMaster getCreatureMaxHealth getCreatureMaxMana getCreatureName getCreatureNoMove getCreatureOutfit getCreaturePartyShield getCreatureSkullType getCreatureSpeakType getCreatureSpeed getCreatureStorage getCreatureStorageList getCreatureSummons getCreatureTarget getDataDir getDepotId getDirectionTo getDistanceBetween getExperienceForLevel getExperienceStage getExperienceStageList getFluidSourceType getGameState getGroupInfo getGroupList getGuildId getGuildMotd getHighscoreString getHouseAccessList getHouseBedsCount getHouseByPlayerGUID getHouseDoorsCount getHouseEntry getHouseFromPos getHouseInfo getHouseName getHouseOwner getHousePrice getHouseRent getHouseTilesCount getHouseTown getInstantSpellInfo getIpByName getItemArticle getItemArticleById getItemAttribute getItemDate getItemDescriptions getItemIdByName getItemInfo getItemLevelDoor getItemName getItemNameById getItemParent getItemPluralName getItemPluralNameById getItemRWInfo getItemSpecialDescription getItemText getItemWeaponType getItemWeight getItemWeightById getItemWriter getLogsDir getModList getMonsterAttackSpells getMonsterFriendList getMonsterHealingSpells getMonsterInfo getMonsterLootList getMonsterSummonList getMonsterTargetList getMonthDayEnding getMonthString getMountInfo getNotationsCount getOnlinePlayers getPartyLeader getPartyMembers getPlayerAccess getPlayerAccount getPlayerAccountId getPlayerAccountManager getPlayerBalance getPlayerBlessing getPlayerByGUID getPlayerByName getPlayerByNameWildcard getPlayerCustomFlagValue getPlayerDepotItems getPlayerExperience getPlayerFlagValue getPlayerFood getPlayerFreeCap getPlayerGhostAccess getPlayerGroupId getPlayerGroupName getPlayerGUID getPlayerGUIDByName getPlayerGuildId getPlayerGuildLevel getPlayerGuildName getPlayerGuildNick getPlayerGuildRank getPlayerGuildRankId getPlayerIdleTime getPlayerInstantSpellCount getPlayerInstantSpellInfo getPlayerIp getPlayerItemById getPlayerItemCount getPlayerLastLoad getPlayerLastLogin getPlayerLearnedInstantSpell getPlayerLevel getPlayerLight getPlayerLossPercent getPlayerLossSkill getPlayerMagLevel getPlayerMasterPos getPlayerModes getPlayerMoney getPlayerNameByGUID getPlayerNameDescription getPlayerPartner getPlayerParty getPlayerPremiumDays getPlayerPromotionLevel getPlayerPVPBlessing getPlayerRates getPlayerRequiredMana getPlayerRequiredSkillTries getPlayersByAccountId getPlayersByIp getPlayerSex getPlayerSkillLevel getPlayerSkillTries getPlayerSkullEnd getPlayerSlotItem getPlayersOnline getPlayerSoul getPlayerSpecialDescription getPlayerSpentMana getPlayerStamina getPlayerTown getPlayerTradeState getPlayerVocation getPlayerVocationName getPlayerWeapon getPositionByDirection getPromotedVocation getSearchString getSpectators getStatementsCount getStorage getStorageList getTalkActionList getThing getThingFromPos getThingPosition getTibiaTime getTileInfo getTileItemById getTileItemByType getTilePzInfo getTileThingByPos getTileZoneInfo getTopCreature getTownHouses getTownId getTownList getTownName getTownTemplePosition getVocationInfo getVocationList getWaypointList getWaypointPosition getWorldCreatures getWorldLight getWorldTime getWorldType getWorldUpTime hasItemProperty hasPlayerClient isAccountBanished isContainer isCorpse isCreature isDruid isInArray isInParty isInRange isIpBanished isItemContainer isItemDoor isItemFluidContainer isItemMovable isItemRune isItemStackable isKnight isMonster isMovable isNpc isNumeric isPaladin isPlayer isPlayerBanished isPlayerGhost isPlayerPzLocked isPlayerSaving isPremium isPrivateChannel isRookie isSightClear isSorcerer isValidPosition luaVariantToPosition numberToVariant playerExists Position positionToVariant registerCreatureEvent setAttackFormula setCombatArea setCombatCallBack setCombatCondition setCombatFormula setCombatParam setConditionFormula setConditionParam setCreatureMaxHealth setCreatureMaxMana setHealingFormula setHouseAccessList setHouseOwner setWorldType stopEvent stringToVariant targetPositionToVariant unregisterCreatureEvent variantToNumber variantToPosition variantToString </Keywords>
            <Keywords name="3"> Double.Word bit.urshift bit.uband bit.ubor bit.ulshift db.connected db.escapeBlob db.escapeString db.lastInsertId db.query db.storeQuery db.stringComparer db.tableExists db.tableExists db.updateLimiter exhaustion.check exhaustion.get exhaustion.make exhaustion.set os.mtime result.free result.getDataInt result.getDataLong result.getDataStream result.getDataString result.next std.cout std.md5 std.sha1 std.sha256 std.sha512 </Keywords>
            <Keywords name="4"> Double:Word Result:getID Result:setID Result:getQuery Result:setQuery Result:create Result:getRows Result:getDataInt Result:getDataLong Result:getDataString Result:getDataStream Result:next Result:free str:find str:gmatch str:sub </Keywords>
            <Keywords name="5"> coroutine debug io math os package string table bit db result std errors </Keywords>
            <Keywords name="6"> coroutine.create coroutine.resume coroutine.running coroutine.status coroutine.wrap coroutine.yield debug.debug debug.getfenv debug.gethook debug.getinfo debug.getlocal debug.getmetatable debug.getregistry debug.getupvalue debug.setfenv debug.sethook debug.setlocal debug.setmetatable debug.setupvalue debug.traceback io.close io.flush io.input io.lines io.open io.output io.popen io.read io.stderr io.stdin io.stdout io.tmpfile io.type io.write math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp math.floor math.fmod math.frexp math.huge math.ldexp math.log math.log10 math.max math.min math.mod math.modf math.pi math.pow math.rad math.random math.randomseed math.sin math.sinh math.sqrt math.tan math.tanh os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename os.setlocale os.time os.tmpname package.cpath package.loaded package.loaders package.loadlib package.path package.preload package.seeall string.byte string.char string.dump string.expand string.explode string.find string.format string.gfind string.gmatch string.gsub string.len string.lower string.match string.rep string.reverse string.split string.sub string.timediff string.trim string.upper table.concat table.find table.foreach table.foreachi table.getn table.insert table.maxn table.remove table.setn table.sort </Keywords>
            <Keywords name="7"> Object:Functions Object.Functions __add __call __concat __div __eq __gc __index __le __lt __metatable __mode __mul __newindex __pow __sub __tostring __unm </Keywords>
            <Keywords name="8"> broadcastMessage cleanHouse cleanMap convertIntToIP convertIPToInt creatureGetPosition db.quote doAddMapMark doAreaCombatCondition doAreaCombatDispel doAreaCombatHealth doAreaCombatMana doCreatureSetLookDir doPlayerAddExp doPlayerAddMana doPlayerRemOutfit doPlayerSay doPlayerSetNoMove doPlayerSetSkillRate doPlayerSetStorageValue doSendTutorial doSetCreatureDropLoot doSetItemActionId executeQuery executeRaid getAccountNumberByName getAccountNumberByPlayerName getConfigInfo getCreatureLookDir getCreaturePos getCreaturePosition getCreatureSkull getGlobalStorageValue getIPByName getIPByPlayerName getItemDescriptionsById getPlayerLastLoginSaved getPlayerLookDir getPlayerLookDirection getPlayerLookPos getPlayerMana getPlayerMaxMana getPlayerMount getPlayerName getPlayerNoMove getPlayerPosition getPlayersByAccountNumber getPlayersByIP getPlayersByIPNumber getPlayerSkill getPlayerSkullType getPlayerStorageValue getPosByDir getThingfromPos getThingPos getTileHouseInfo getWaypointsList hasClient hasCondition hasProperty isInArea isItemMoveable isMoveable isNumber mayNotMove pay playerLearnInstantSpell queryTileAddThing saveData savePlayers saveServer setGlobalStorageValue setPlayerBalance setPlayerGroupId setPlayerPartner setPlayerPromotionLevel setPlayerStamina setPlayerStorageValue shutdown stringComparison stringComparisonOperator table.getPos updateQueryLimitOperator CONDITION_EARTH CONDITION_PHYSICAL CONST_ME_GIFTWRAPS CONST_PROP_BLOCKINGANDNOTMOVEABLE CONST_PROP_MOVEABLE FALSE LUA_ERROR LUA_NO_ERROR LUA_NULL RETURNVALUE_NOTMOVEABLE SKILLS STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE TRUE </Keywords>
        </Language>
    </Languages>
    <LexerStyles>
        <LexerType name="Gmod Lua" desc="Gmod Lua" excluded="no" ext="">
            <WordsStyle fgColor="F0F8F0" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="0" name="DEFAULT" />
            <WordsStyle fgColor="008000" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="1" name="LUA COMMENT BLOCKS" />
            <WordsStyle fgColor="48C8B8" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="2" name="CPP COMMENT BLOCKS" />
            <WordsStyle fgColor="008000" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="3" name="LUA COMMENT LINES" />
            <WordsStyle fgColor="48C8B8" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="4" name="CPP COMMENT LINES" />
            <WordsStyle fgColor="FF8000" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="5" name="NUMBERS" />
            <WordsStyle fgColor="000080" bgColor="ffffff" fontName="" fontSize="" fontStyle="1" styleID="6" name="OPERATORS" />
            <WordsStyle fgColor="808080" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="8" name="STRINGS" />
            <WordsStyle fgColor="808080" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="9" name="CHARACTERS" />
            <WordsStyle fgColor="95004A" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="11" name="LITERAL STRINGS" />
            <WordsStyle fgColor="0000FF" bgColor="ffffff" fontName="" fontSize="" fontStyle="1" styleID="20" name="INSTRUCTION WORDS" keywordClass="0" />
            <WordsStyle fgColor="808000" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="21" name="GLOBAL CONSTANTS" keywordClass="1" />
            <WordsStyle fgColor="0080C0" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="22" name="GLOBAL FUNCTIONS" keywordClass="2" />
            <WordsStyle fgColor="E03090" bgColor="ffffff" fontName="" fontSize="" fontStyle="2" styleID="23" name="SCRIPTED VARIABLES" keywordClass="3" />
            <WordsStyle fgColor="0000A0" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="24" name="SCRIPTED FUNCTIONS" keywordClass="4" />
            <WordsStyle fgColor="8000FF" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="25" name="LIBRARIES" keywordClass="5" />
            <WordsStyle fgColor="8000FF" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="26" name="LIBRARY CALLS" keywordClass="6" />
            <WordsStyle fgColor="804040" bgColor="ffffff" fontName="" fontSize="" fontStyle="1" styleID="27" name="OBJECT FUNCTIONS" keywordClass="7" />
            <WordsStyle fgColor="FF0000" bgColor="ffffff" fontName="" fontSize="" fontStyle="0" styleID="28" name="RED FLAGS" keywordClass="8" />
        </LexerType>
    </LexerStyles>
</NotepadPlus>
colours of new things are still ugly but at least highlighting of things coloured by default looks like it should(and like in all other languages, its quite important)
 
Last edited:
are you insane? that black boxes appearing in half of code and dark font color on that boxes isnt any bit better than default lua highlighting
sorry

It's supposed to be entirely black background. Like this:



Regardless, I did not test how it would appear on a completely default install of Notepad++, I'll do that and adjust my post accordingly. As far as those poor souls who are confused and mistake their monitor for a sheet of paper instead of the light cannon aimed at their eyes that it is, I welcome your additional choice, because I can not help them.

also fonty sucks and getting used to new highlighting(I changed all bg colors back to white) is bad diea
version with default higlighting and lets say added deprecated functions in red would be nice

--snipped--

Can you repeat that again in English?
If you don't have Consolas, then here: Consolas
Or here's Inconsolata. It's not that hard to change the font used, I did the hard work and left the stylistics as an exercise for the reader.
Perhaps they need some guidance. If so I suggest this: Top 10 Programming Fonts.
 
default colours and font is better, also font was waaaay too big
on black looks not so bad, jst other languages still have default colours I guess?
 
Black BG feels like a comfy bed for my eyes, I use a 32" Monitor/TV and it feels like a laser burning through my eyes!
 
scite is better to edit lua
CCbMn.png
 
@up: another dark&ugly shit
but this one have some parser right?
I will check it but...
i love my npp :D
 
scite is better to edit lua

For you Windows users out there Decoda offers far more advanced debugging capabilities, and would be the first recommendation I'd make to any skilled discriminating coder who wishes something beyond an editor. GRLD also looks interesting.

If you want a fully featured IDE, SciTe nor NPP nor Decoda hold a candle to a full LuaEclipse installation with LuaDoc, LuaProfiler, and RemDebug integrated.

But this thread was about OTServ specific Syntax Highlighting for those already comfortable with Notepad++, not what the best utility for Lua coding is.
 
Whateva, I want editor not IDE, I hate when something tries to "help" me
for open tibia scriptiong use the scrite, just edit the lua.xml to highlight the otserv functions. :p is a basic and fast editor. If you want he works as hex editor.
 
for open tibia scriptiong use the scrite, just edit the lua.xml to highlight the otserv functions. :p is a basic and fast editor. If you want he works as hex editor.
just like npp :D
also I'm still getting used to that additional colours from edited gmod but its quite ok(anyway, I have no idea what version was base for outdated functions info ;f)
 
just like npp :D
also I'm still getting used to that additional colours from edited gmod but its quite ok(anyway, I have no idea what version was base for outdated functions info ;f)

Open your /data/lib/100-compat.lua and see what it looks like near the bottom.

I eventually just rewrote mine to look like this:
I endeavored to purge all functions in red from my scripts, and was happy when it was done.
edit: Now in 2020 round 2 begins soon.



getPlayerPosition
getCreaturePos
getCreaturePosition
getThingPos
creatureGetPosition
doPlayerSetNoMove
mayNotMove
saveData
savePlayers
saveServer
getIPByName
getIPByPlayerName
broadcastMessage
cleanHouse
cleanMap
convertIntToIP
convertIPToInt
doAddMapMark
doAreaCombatCondition
doAreaCombatDispel
doAreaCombatHealth
doAreaCombatMana
doCreatureSetLookDir
doPlayerAddExp
doPlayerAddMana
doPlayerRemOutfit
doPlayerSay
doPlayerSetSkillRate
doSendTutorial
doSetCreatureDropLoot
doSetItemActionId
executeRaid
getConfigInfo
getGlobalStorageValue
getItemDescriptionsById
getPlayerLastLoginSaved
getPlayerLookPos
getPlayerMana
getPlayerMaxMana


getThingPosition
getThingPosition
getThingPosition
getThingPosition
getThingPosition
doCreatureSetNoMove
doCreatureSetNoMove
doSaveServer
doSaveServer
doSaveServer
getIpByName
getIpByName
doBroadcastMessage
doCleanHouse
doCleanMap
doConvertIntegerToIp
doConvertIpToInteger
doPlayerAddMapMark
doCombatAreaCondition
doCombatAreaDispel
doCombatAreaHealth
doCombatAreaMana
doCreatureSetLookDirection
doPlayerAddExperience
doCreatureAddMana
doPlayerRemoveOutfit
doCreatureSay
doPlayerSetRate
doPlayerSendTutorial
doCreatureSetDropLoot
doItemSetActionId
doExecuteRaid
getConfigValue
getStorage
getItemInfo
getPlayerLastLogin
getCreatureLookPosition
getCreatureMana
getCreatureMaxMana


getCreatureSkull
getPlayerSkullType
getPlayersByIP
getPlayersByIPNumber
doPlayerSetStorageValue
setPlayerStorageValue
getCreatureLookDir
getPlayerLookDir
getPlayerLookDirection
getAccountNumberByName
getAccountNumberByPlayerName
getPlayerMount
getPlayerName
getPlayerNoMove
getPlayersByAccountNumber
getPlayerSkill
getPlayerStorageValue
getPosByDir
getThingfromPos
getTileHouseInfo
getWaypointsList
hasClient
hasCondition
hasProperty
isInArea
isItemMoveable
isMoveable
isNumber
pay
playerLearnInstantSpell
queryTileAddThing
setGlobalStorageValue
setPlayerBalance
setPlayerGroupId
setPlayerPartner
setPlayerPromotionLevel
setPlayerStamina
shutdown


getCreatureSkullType
getCreatureSkullType
getPlayersByIp
getPlayersByIp
doCreatureSetStorage
doCreatureSetStorage
getCreatureLookDirection
getCreatureLookDirection
getCreatureLookDirection
getAccountIdByName
getAccountIdByName
canPlayerRideMount
getCreatureName
getCreatureNoMove
getPlayersByAccountId
getPlayerSkillLevel
getCreatureStorage
getPositionByDirection
getThingFromPos
getHouseFromPos
getWaypointList
hasPlayerClient
getCreatureCondition
hasItemProperty
isInRange
isItemMovable
isMovable
isNumeric
doPlayerRemoveMoney
doPlayerLearnInstantSpell
doTileQueryAdd
doSetStorage
doPlayerSetBalance
doPlayerSetGroupId
doPlayerSetPartner
doPlayerSetPromotionLevel
doPlayerSetStamina
doShutdown





db.executeQuery
db.stringComparison
db.stringComparisonOperator
db.updateQueryLimitOperator
db.quote
print
table.getPos


db.query
db.stringComparer
db.stringComparer
db.updateLimiter
db.escapeString
std.cout
table.find





instead of playing reference tag like this example from 0.3.6pl1
doPlayerSetStorageValue = doCreatureSetStorage
setPlayerStorageValue = doPlayerSetStorageValue

saveData = saveServer
savePlayers = saveServer
saveServer = doSaveServer

I may just start a fork from the Gmod Plugin's source code and extend it even more, as I had to scale back from what I initially tried to do with it, since I wanted three more keyword types than what's used.
 
Last edited:
but do you used 0.3.6 or some dev as base of outdated functions, I'm prettuy sure that some of 0.3.6 ones are replaced in dev
looking at mount functions I guess you used dev for it ;d
 
but do you used 0.3.6 or some dev as base of outdated functions, I'm prettuy sure that some of 0.3.6 ones are replaced in dev
looking at mount functions I guess you used dev for it ;d

The functions aren't outdated, just the names used. I used 3748 and 4393 as references. Like I said, you can look in your /data/lib/100-compat.lua and see how it looks.

Here is my list of functions made from 4393 sources
--[[ Function list from luascript.cpp ]]--
addDamageCondition(condition, rounds, time, value)
addEvent(callback, delay, ...)
addOutfitCondition(condition, outfit)
canPlayerRideMount(cid, mountId)
canPlayerWearOutfit(cid, looktype[, addon = 0])
canPlayerWearOutfitId(cid, outfitId[, addon = 0])
createCombatArea({area}[, {extArea}])
createCombatObject()
createConditionObject(type[, ticks[, buff[, subId]]])
db.connected()
db.escapeBlob(s, length)
db.escapeString(str)
db.lastInsertId()
db.query(query)
db.storeQuery(query)
db.stringComparer()
db.tableExists(name)
db.tableExists(table)
db.updateLimiter()
doAddAccountBanishment(accountId[, playerId[, length[, reason[, action[, comment[, admin[, statement]]]]]]])
doAddAccountWarnings(accountId[, warnings])
doAddCondition(cid, condition)
doAddContainerItem(uid, itemid[, count/subType = 1])
doAddContainerItemEx(uid, virtuid)
doAddIpBanishment(ip[, mask[, length[, reason[, comment[, admin[, statement]]]]]])
doAddNotation(accountId[, playerId[, reason[, comment[, admin[, statement]]]]]])
doAddPlayerBanishment(name/guid[, type[, length[, reason[, action[, comment[, admin[, statement]]]]]]])
doAddStatement(name/guid[, channelId[, reason[, comment[, admin[, statement]]]]]])
doChallengeCreature(cid, target)
doChangeSpeed(cid, delta)
doCleanHouse(houseId)
doCleanMap()
doCleanTile(pos[, forceMapLoaded = false])
doCombat(cid, combat, param)
doCombatAreaCondition(cid, pos, area, condition, effect)
doCombatAreaDispel(cid, pos, area, type, effect)
doCombatAreaHealth(cid, type, pos, area, min, max, effect)
doCombatAreaMana(cid, pos, area, min, max, effect)
doConvinceCreature(cid, target)
doCreateItem(itemid[, type/count = 1], pos)
doCreateItemEx(itemid[, count/subType = -1])
doCreateMonster(name, pos[, extend = false[, force = false[, displayError = true]]])
doCreateNpc(name, pos[, displayError = true])
doCreateTeleport(itemid, toPosition, fromPosition)
doCreatureAddHealth(uid, health[, hitEffect[, hitColor[, force]]])
doCreatureAddMana(uid, mana[, aggressive])
doCreatureChangeOutfit(cid, outfit)
doCreatureExecuteTalkAction(cid, text[, ignoreAccess = false[, channelId = CHANNEL_DEFAULT]])
doCreatureSay(uid, text[, type = SPEAK_SAY[, ghost = false[, cid = 0[, pos]]]])
doCreatureSetDropLoot(cid, doDrop)
doCreatureSetGuildEmblem(cid, emblem)
doCreatureSetHideHealth(cid, hide)
doCreatureSetLookDirection(cid, dir)
doCreatureSetNoMove(cid, block)
doCreatureSetPartyShield(cid, shield)
doCreatureSetSkullType(cid, skull)
doCreatureSetSpeakType(uid, type)
doCreatureSetStorage(uid, key, value)
doDecayItem(uid)
dodirectory(dir[, recursively = false])
doExecuteRaid(name)
doGuildAddEnemy(guild, enemy, war, type)
doGuildRemoveEnemy(guild, enemy)
doItemEraseAttribute(uid, key)
doItemRaidUnref(uid)
doItemSetAttribute(uid, key, value)
domodlib(lib)
doMonsterChangeTarget(cid)
doMonsterSetTarget(cid, target)
doMoveCreature(cid, direction[, flag = FLAG_NOLIMIT])
doPlayerAddBlessing(cid, blessing)
doPlayerAddExperience(cid, amount)
doPlayerAddItem(cid, itemid[, count = 1[, canDropOnMap = true[, subtype = 1[, slot = 0]]]])
doPlayerAddItem(cid, itemid[, count/subtype = 1[, canDropOnMap = true[, slot = 0]]])
doPlayerAddItemEx(cid, uid[, canDropOnMap = false[, slot = 0]])
doPlayerAddMapMark(cid, pos, type[, description])
doPlayerAddMoney(cid, money)
doPlayerAddMount(cid, mountId)
doPlayerAddOutfit(cid, looktype, addon)
doPlayerAddOutfitId(cid, outfitId, addon)
doPlayerAddPremiumDays(cid, days)
doPlayerAddSkillTry(cid, skillid, n[, useMultiplier = true])
doPlayerAddSoul(cid, amount)
doPlayerAddSpentMana(cid, amount[, useMultiplier = true])
doPlayerChangeName(guid, oldName, newName)
doPlayerFeed(cid, food)
doPlayerFollowCreature(cid, target)
doPlayerJoinParty(cid, lid)
doPlayerLearnInstantSpell(cid, name)
doPlayerLeaveParty(cid[, forced = false])
doPlayerOpenChannel(cid, channelId)
doPlayerPopupFYI(cid, message)
doPlayerRemoveItem(cid, itemid[, count[, subType = -1[, ignoreEquipped = false]]])
doPlayerRemoveMoney(cid, money)
doPlayerRemoveMount(cid, mountId)
doPlayerRemoveOutfit(cid, looktype[, addon = 0])
doPlayerRemoveOutfitId(cid, outfitId[, addon = 0])
doPlayerSave(cid[, shallow = false])
doPlayerSendCancel(cid, text)
doPlayerSendChannelMessage(cid, author, message, SpeakClasses, channel)
doPlayerSendDefaultCancel(cid, ReturnValue)
doPlayerSendMailByName(name, item[, town[, actor]])
doPlayerSendOutfitWindow(cid)
doPlayerSendTextMessage(cid, MessageClasses, message)
doPlayerSendToChannel(cid, targetId, SpeakClasses, message, channel[, time])
doPlayerSendTutorial(cid, id)
doPlayerSetBalance(cid, balance)
doPlayerSetGroupId(cid, newGroupId)
doPlayerSetGuildId(cid, id)
doPlayerSetGuildLevel(cid, level[, rank])
doPlayerSetGuildNick(cid, nick)
doPlayerSetIdleTime(cid, amount)
doPlayerSetLossPercent(cid, lossType, newPercent)
doPlayerSetLossSkill(cid, doLose)
doPlayerSetMaxCapacity(cid, cap)
doPlayerSetMounted(cid, mounting[, force])
doPlayerSetNameDescription(cid, description)
doPlayerSetPartner(cid, guid)
doPlayerSetPromotionLevel(cid, level)
doPlayerSetPVPBlessing(cid[, value])
doPlayerSetPzLocked(cid, locked)
doPlayerSetRate(cid, type, value)
doPlayerSetSex(cid, newSex)
doPlayerSetSkullEnd(cid, time, type)
doPlayerSetSpecialDescription(cid, description)
doPlayerSetStamina(cid, minutes)
doPlayerSetTown(cid, townid)
doPlayerSetVocation(cid, voc)
doPlayerSetWalkthrough(cid, uid, walkthrough)
doPlayerSwitchSaving(cid)
doPlayerTransferMoneyTo(cid, target, money)
doPlayerUnlearnInstantSpell(cid, name)
doRefreshMap()
doReloadInfo(id[, cid])
doRelocate(pos, posTo[, creatures = true[, unmovable = true]])
doRemoveAccountBanishment(accountId[, playerId])
doRemoveAccountWarnings(accountId[, warnings])
doRemoveCondition(cid, type[, subId])
doRemoveConditions(cid[, onlyPersistent])
doRemoveCreature(cid[, forceLogout = true])
doRemoveIpBanishment(ip[, mask])
doRemoveItem(uid[, count = -1])
doRemoveNotations(accountId[, playerId])
doRemovePlayerBanishment(name/guid, type)
doRemoveStatements(name/guid[, channelId])
doSaveServer([shallow = false])
doSendAnimatedText(pos, text, color[, player])
doSendCreatureSquare(cid, color[, player])
doSendDistanceShoot(fromPos, toPos, type[, player])
doSendMagicEffect(pos, type[, player])
doSetCreatureOutfit(cid, outfit[, time = -1])
doSetGameState(id)
doSetItemOutfit(cid, item[, time = -1])
doSetMonsterOutfit(cid, name[, time = -1])
doSetStorage(key, value)
doShowTextDialog(cid, itemid[, (text/canWrite)[, (canWrite/length)[, length]]])
doSteerCreature(cid, position[, maxNodes])
doSummonMonster(cid, name)
doTargetCombatCondition(cid, target, condition, effect)
doTargetCombatDispel(cid, target, type, effect)
doTargetCombatHealth(cid, target, type, min, max, effect)
doTargetCombatMana(cid, target, min, max, effect)
doTeleportThing(cid, newpos[, pushMove = true[, fullTeleport = true]])
doTileAddItemEx(pos, uid)
doTileQueryAdd(uid, pos[, flags[, displayError = true]])
doTransformItem(uid, newId[, count/subType])
doUpdateHouseAuctions()
doWaypointAddTemporial(name, pos)
errors(var)
getAccountByAccountId(accId)
getAccountByName(name)
getAccountIdByAccount(accName)
getAccountIdByName(name)
getAccountWarnings(accountId)
getBanAction(id[, ipBanishment = false])
getBanData(value[, type[, param]])
getBanList(type[, value[, param]])
getBanReason(id)
getChannelList()
getChannelUsers(channelId)
getClosestFreeTile(cid, targetPos[, extended = false[, ignoreHouse = true]])
getConfigFile()
getConfigValue(key)
getContainerCap(uid)
getContainerItem(uid, slot)
getContainerSize(uid)
getCreatureBaseSpeed(cid)
getCreatureByName(name)
getCreatureCondition(cid, condition[, subId = 0])
getCreatureGuildEmblem(cid[, target])
getCreatureHealth(cid)
getCreatureHideHealth(cid)
getCreatureLastPosition(cid)
getCreatureLookDirection(cid)
getCreatureMana(cid)
getCreatureMaster(cid)
getCreatureMaxHealth(cid[, ignoreModifiers = false])
getCreatureMaxMana(cid[, ignoreModifiers = false])
getCreatureName(cid)
getCreatureNoMove(cid)
getCreatureOutfit(cid)
getCreaturePartyShield(cid[, target])
getCreatureSkullType(cid[, target])
getCreatureSpeakType(uid)
getCreatureSpeed(cid)
getCreatureStorage(uid, key)
getCreatureStorageList(cid)
getCreatureSummons(cid)
getCreatureTarget(cid)
getDataDir()
getExperienceStage(level[, divider])
getExperienceStageList()
getGameState()
getGroupInfo(id[, premium = false])
getGroupList()
getGuildId(guildName)
getGuildMotd(guildId)
getHighscoreString(skillId)
getHouseAccessList(houseid, listId)
getHouseByPlayerGUID(playerGUID)
getHouseFromPos(pos)
getHouseInfo(houseId[, full = true[, displayError = true]])
getInstantSpellInfo(name)
getIpByName(name)
getItemAttribute(uid, key)
getItemIdByName(name[, displayError = true])
getItemInfo(itemid)
getItemParent(uid)
getItemWeight(itemid[, precise = true])
getLogsDir()
getModList()
getMonsterFriendList(cid)
getMonsterInfo(name)
getMonsterTargetList(cid)
getMountInfo([mountId])
getNotationsCount(accountId[, playerId])
getPartyMembers(cid)
getPlayerAccess(cid)
getPlayerAccount(cid)
getPlayerAccountId(cid)
getPlayerAccountManager(cid)
getPlayerBalance(cid)
getPlayerBlessing(cid, blessing)
getPlayerByGUID(guid)
getPlayerByNameWildcard(name~[, ret = false])
getPlayerCustomFlagValue(cid, flag)
getPlayerDepotItems(cid, depotid)
getPlayerExperience(cid)
getPlayerFlagValue(cid, flag)
getPlayerFood(cid)
getPlayerFreeCap(cid)
getPlayerGhostAccess(cid)
getPlayerGroupId(cid)
getPlayerGUID(cid)
getPlayerGUIDByName(name[, multiworld = false])
getPlayerGuildId(cid)
getPlayerGuildLevel(cid)
getPlayerGuildName(cid)
getPlayerGuildNick(cid)
getPlayerGuildRank(cid)
getPlayerGuildRankId(cid)
getPlayerIdleTime(cid)
getPlayerInstantSpellCount(cid)
getPlayerInstantSpellInfo(cid, index)
getPlayerIp(cid)
getPlayerItemById(cid, deepSearch, itemId[, subType = -1])
getPlayerItemCount(cid, itemid[, subType = -1])
getPlayerLastLoad(cid)
getPlayerLastLogin(cid)
getPlayerLearnedInstantSpell(cid, name)
getPlayerLevel(cid)
getPlayerLight(cid)
getPlayerLossPercent(cid, lossType)
getPlayerLossSkill(cid)
getPlayerMagLevel(cid[, ignoreModifiers = false])
getPlayerModes(cid)
getPlayerMoney(cid)
getPlayerNameByGUID(guid[, multiworld = false[, displayError = true]])
getPlayerNameDescription(cid)
getPlayerPartner(cid)
getPlayerParty(cid)
getPlayerPremiumDays(cid)
getPlayerPromotionLevel(cid)
getPlayerPVPBlessing(cid)
getPlayerRates(cid)
getPlayerRequiredMana(cid, magicLevel)
getPlayerRequiredSkillTries(cid, skillId, skillLevel)
getPlayersByAccountId(accId)
getPlayersByIp(ip[, mask = 0xFFFFFFFF])
getPlayerSex(cid[, full = false])
getPlayerSkillLevel(cid, skill[, ignoreModifiers = false])
getPlayerSkillTries(cid, skill)
getPlayerSkullEnd(cid)
getPlayerSlotItem(cid, slot)
getPlayersOnline()
getPlayerSoul(cid[, ignoreModifiers = false])
getPlayerSpecialDescription(cid)
getPlayerSpentMana(cid)
getPlayerStamina(cid)
getPlayerTown(cid)
getPlayerTradeState(cid)
getPlayerVocation(cid)
getPlayerWeapon(cid[, ignoreAmmo = false])
getSearchString(fromPosition, toPosition[, fromIsCreature = false[, toIsCreature = false]])
getSpectators(centerPos, rangex, rangey[, multifloor = false])
getStatementsCount(name/guid[, channelId])
getStorage(key)
getStorageList()
getTalkActionList()
getThing(uid[, recursive = RECURSE_FIRST])
getThingFromPos(pos[, displayError = true])
getThingPosition(uid)
getTileInfo(pos)
getTileItemById(pos, itemId[, subType = -1])
getTileItemByType(pos, type)
getTileThingByPos(pos)
getTopCreature(pos)
getTownHouses([townId])
getTownId(townName)
getTownList()
getTownName(townId)
getTownTemplePosition(townId)
getVocationInfo(id)
getVocationList()
getWaypointList()
getWaypointPosition(name)
getWorldCreatures(type)
getWorldLight()
getWorldTime()
getWorldType()
getWorldUpTime()
hasItemProperty(uid, prop)
hasPlayerClient(cid)
isAccountBanished(accountId[, playerId])
isCreature(cid)
isInArray(array, value[, caseSensitive = false])
isIpBanished(ip[, mask])
isMovable(uid)
isPlayerBanished(name/guid, type)
isPlayerPzLocked(cid)
isPlayerSaving(cid)
isSightClear(fromPos, toPos, floorCheck)
loadmodlib(lib)
luaVariantToPosition(var)
lua_register(L, "name", C_function);
numberToVariant(number)
os.mtime()
positionToVariant(pos)
registerCreatureEvent(uid, eventName)
result.free(resId)
result.getDataInt(resId, s)
result.getDataLong(resId, s)
result.getDataStream(resId, s, length)
result.getDataString(resId, s)
result.next(resId)
setCombatArea(combat, area)
setCombatCallBack(combat, key, functionName)
setCombatCondition(combat, condition)
setCombatFormula(combat, type, mina, minb, maxa, maxb[, minl, maxl[, minm, maxm[, minc[, maxc]]]])
setCombatParam(combat, key, value)
setConditionFormula(condition, mina, minb, maxa, maxb)
setConditionParam(condition, key, value)
setCreatureMaxHealth(uid, health)
setCreatureMaxMana(uid, mana)
setHouseAccessList(houseid, listid, listtext)
setHouseOwner(houseId, owner[, clean = true])
setWorldType(type)
std.md5(string[, upperCase = false])
std.sha1(string[, upperCase = false])
std.sha256(string[, upperCase = false])
std.sha512(string[, upperCase = false])
stopEvent(eventid)
stringToVariant(string)
targetPositionToVariant(pos)
unregisterCreatureEvent(uid, eventName)
variantToNumber(var)
variantToPosition(var)
variantToString(var)
--]]--
bit db os result std

--[[ Function list from 050-functions.lua ]]--
choose(...)
doBroadcastMessage(text, class)
doChangeTypeItem(uid, subtype)
doCopyItem(item, attributes)
doItemSetActionId(uid, aid)
doMutePlayer(cid, time)
doNumberFormat(i)
doPlayerAddAddons(cid, addon)
doPlayerAddLevel(cid, amount, round)
doPlayerAddMagLevel(cid, amount)
doPlayerAddSkill(cid, skill, amount, round)
doPlayerAddStamina(cid, minutes)
doPlayerBroadcastMessage(cid, text, class, checkFlag, ghost)
doPlayerBuyItem(cid, itemid, count, cost, charges)
doPlayerBuyItemContainer(cid, containerid, itemid, count, cost, charges)
doPlayerDepositAllMoney(cid)
doPlayerDepositMoney(cid, amount)
doPlayerGiveItem(cid, itemid, amount, subType)
doPlayerGiveItemContainer(cid, containerid, itemid, amount, subType)
doPlayerRemovePremiumDays(cid, days)
doPlayerResetIdleTime(cid)
doPlayerSellItem(cid, itemid, count, cost)
doPlayerSetExperienceRate(cid, value)
doPlayerSetMagicRate(cid, value)
doPlayerTakeItem(cid, itemid, amount)
doPlayerTransferAllMoneyTo(cid, target)
doPlayerWithdrawAllMoney(cid)
doPlayerWithdrawMoney(cid, amount)
doRemoveThing(uid)
doSetItemText(uid, text, writer, date)
doShutdown()
doSummonCreature(name, pos, displayError)
doWriteLogFile(file, text)
getArticle(str)
getBooleanFromString(input)
getContainerCapById(itemid)
getDepotId(uid)
getExperienceForLevel(lv)
getFluidSourceType(itemid)
getHouseBedsCount(houseId)
getHouseDoorsCount(houseId)
getHouseEntry(houseId)
getHouseName(houseId)
getHouseOwner(houseId)
getHousePrice(houseId)
getHouseRent(houseId)
getHouseTilesCount(houseId)
getHouseTown(houseId)
getItemArticleById(itemid)
getItemArticle(uid)
getItemDate(uid)
getItemDescriptions(uid)
getItemLevelDoor(itemid)
getItemNameById(itemid)
getItemName(uid)
getItemPluralNameById(itemid)
getItemPluralName(uid)
getItemRWInfo(uid)
getItemSpecialDescription(uid)
getItemText(uid)
getItemWeaponType(uid)
getItemWeightById(itemid, count, precision)
getItemWriter(uid)
getMonsterAttackSpells(name)
getMonsterHealingSpells(name)
getMonsterLootList(name)
getMonsterSummonList(name)
getMonthDayEnding(day)
getMonthString(m)
getOnlinePlayers()
getPartyLeader(cid)
getPlayerByName(name)
getPlayerGroupName(cid)
getPlayerMasterPos(cid)
getPlayerVocationName(cid)
getPromotedVocation(vid)
getTibiaTime()
getTilePzInfo(pos)
getTileZoneInfo(pos)
isContainer(uid)
isCorpse(uid)
isInParty(cid)
isItemContainer(itemid)
isItemDoor(itemid)
isItemFluidContainer(itemid)
isItemMovable(itemid)
isItemRune(itemid)
isItemStackable(itemid)
isMonster(cid)
isNpc(cid)
isNumeric(str)
isPlayer(cid)
isPlayerGhost(cid)
isPremium(cid)
isPrivateChannel(channelId)
playerExists(name)
setAttackFormula(combat, type, minl, maxl, minm, maxm, min, max)
setHealingFormula(combat, type, minl, maxl, minm, maxm, min, max)
--]]--

--[[ Function list from the rest of data/libs/ ]]--
doConvertIntegerToIp doConvertIpToInteger
isDruid isKnight isPaladin isRookie isSorcerer
doComparePositions getCreatureLookPosition getDirectionTo
getDistanceBetween getPositionByDirection isInRange isValidPosition Position
--]]--
 
Back
Top