repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
shayanchabok007/antispam_ok
plugins/remind.lua
279
1873
local filename='data/remind.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, filename) re...
gpl-2.0
kjl2y/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua
13
2482
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sorrowful Sage -- Type: Assault Mission Giver -- @pos 134.096 0.161 -30.401 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
paintballrefjosh/HealBot-TBC
Locale/HealBot_Localization.fr.lua
1
24752
-- French version (by Kubik) 2008-06-24 -- à = \195\160 -- â = \195\162 -- ç = \195\167 -- è = \195\168 -- é = \195\169 -- ê = \195\170 -- î = \195\174 -- ï = \195\175 -- ô = \195\180 -- û = \195\187 -- espace avant ':' (?) = \194\160 if (GetLocale() == "frFR") then ------------------- -- Compatibility -- -----------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Waughroon_Shrine/bcnms/on_my_way.lua
27
1994
----------------------------------- -- Area: Waughroon Shrine -- Name: Mission Rank 7-2 (Bastok) -- @pos -345 104 -260 144 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
Igdra/darkstar
scripts/zones/West_Sarutabaruta/npcs/Banege_RK.lua
14
3346
----------------------------------- -- Area: West Sarutabaruta -- NPC: Banege, R.K. -- Type: Border Conquest Guards -- @pos 399.450 -25.858 727.545 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
Igdra/darkstar
scripts/globals/mobskills/Hellclap.lua
31
1162
--------------------------------------------------- -- Hellclap -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onMobSkillCheck(target,m...
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst_Woods/npcs/Wije_Tiren.lua
17
1440
----------------------------------- -- Area: Windurst Woods -- NPC: Wije Tiren -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"...
gpl-3.0
Noneatme/iLife-SA
client/Guis/Faction/faction.lua
1
11661
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] FactionData = {} addEvent("onServerSendsFactionInfo", true) ad...
mit
kjl2y/darkstar
scripts/zones/Windurst_Waters/npcs/Yung_Yaam.lua
12
1770
----------------------------------- -- Area: Windurst Waters -- NPC: Yung Yaam -- Involved In Quest: Wondering Minstrel -- Working 100% -- @zone = 238 -- @pos = -63 -4 27 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
Bo98/DarkRP
gamemode/modules/chat/sv_chat.lua
2
8833
local function registerCommandDefinition(cmd, callback) local chatcommands = DarkRP.getChatCommands() chatcommands[cmd] = chatcommands[cmd] or {} chatcommands[cmd].callback = callback chatcommands[cmd].command = chatcommands[cmd].command or cmd end function DarkRP.defineChatCommand(cmd, callback) ...
mit
Noneatme/iLife-SA
client/Classes/Element/dxGui/cDxTreeView.lua
1
6320
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] CDxTreeView = inherit(CDxElement) sx,sy = guiGetScreenSize() ...
mit
skinnay/guardian-of-the-everpearl
maps/lua/map3.lua
1
3955
return { version = "1.1", luaversion = "5.1", tiledversion = "0.15.2", orientation = "orthogonal", renderorder = "right-down", width = 20, height = 11, tilewidth = 50, tileheight = 50, nextobjectid = 1, properties = {}, tilesets = { { name = "cwpVW12", firstgid = 1, tilewid...
mit
Igdra/darkstar
scripts/globals/weaponskills/namas_arrow.lua
16
1664
----------------------------------- -- Namas Arrow -- Skill Level: N/A -- Description: Additional Effect: Temporarily improves Ranged Accuracy -- Aligned with the Light Gorget, Snow Gorget & Aqua Gorget. -- Properties -- Element: N/A -- Skillchain Properties: Light/Distortion -- Modifiers: STR: 40% AGI: 40% -- Damage M...
gpl-3.0
kjl2y/darkstar
scripts/zones/Davoi/npcs/!.lua
13
2631
----------------------------------- -- Area: Davoi -- NPC: ! -- Involved in Mission: The Davoi Report -- @pos 164 0.1 -21 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/keyit...
gpl-3.0
kjl2y/darkstar
scripts/zones/Quicksand_Caves/npcs/qm6.lua
27
2110
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? (qm6) -- Bastok Mission 8.1 "The Chains That Bind Us" -- @pos ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
coverxiaoeye/nginx-openresty-windows
luajit-root/luajit/share/luajit-2.1.0-alpha/jit/bcsave.lua
17
18123
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
bsd-2-clause
kjl2y/darkstar
scripts/zones/Bastok_Mines/npcs/Ranpi-Pappi.lua
13
1062
----------------------------------- -- Area: Bastok Mines -- NPC: Ranpi-Pappi -- Type: Standard NPC -- @zone: 234 -- @pos -4.535 -1.044 49.881 -- -- Auto-Script: Requires Verification (Verified by Brando) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scri...
gpl-3.0
kjl2y/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Mariyaam.lua
13
1081
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Mariyaam -- Type: Item Deliverer -- @pos -125 -6 90 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/T...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/general/objects/egos/massive-armor.lua
3
4348
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
Bo98/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/message/cl_init.lua
3
2551
local function MessageGui(ply) if not FAdmin.Messages or not FAdmin.Messages.MsgTypes then return end local frame = vgui.Create("DFrame") frame:SetTitle("Send message") frame:SetSize(350, 170) frame:Center() frame:SetVisible(true) frame:MakePopup() local MsgType = 2 local i = 0 ...
mit
kjl2y/darkstar
scripts/zones/San_dOria-Jeuno_Airship/npcs/Ricaldo.lua
30
2318
----------------------------------- -- Area: San d'Oria-Jeuno Airship -- NPC: Ricaldo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
p4u/lime-packages
packages/dnsmasq-lease-share/src/dnsmasq-lease-share.lua
1
6020
#!/usr/bin/lua --[[ Copyright (C) 2013 Gioacchino Mazzurco <gio@eigenlab.org> Copyright (C) 2014 Gui Iribarren <gui@altermundi.net> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
agpl-3.0
Zet0rz/nzombies
gamemodes/nzombies/gamemode/easter_eggs/sh_ee_camera.lua
2
9141
if SERVER then -- Scroll down to the functions you can use -- This here is so that the server can follow (for PVS etc) nzEE.Cam = nzEE.Cam or {} util.AddNetworkString("nzEECamera") local queue = queue or {} local nextqueuetime local curqueueinsert = 0 local function NextCamQueue() local q = queue[1] ...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/zones/town-angolwen/npcs.lua
2
9543
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
Zet0rz/nzombies
gamemodes/nzombies/entities/effects/lightning_strike/init.lua
2
4064
--Name: Lightning strike using midpoint displacement --Author: Lolle --EFFECT.MatCenter = Material( "lightning.png", "unlitgeneric smooth" ) EFFECT.MatEdge = Material( "effects/tool_tracer" ) EFFECT.MatCenter = Material( "sprites/physbeama" ) EFFECT.MatGlow = Material( "sprites/glow04_actual_noz" ) --[[--------------...
gpl-3.0
kjl2y/darkstar
scripts/globals/mobskills/Nerve_Gas.lua
28
1063
--------------------------------------------- -- Nerve Gas -- -- Description: Inflicts curse and powerful poison effect. -- Type: Magical -- Wipes Shadows -- Range: 10' Radial --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/glob...
gpl-3.0
Igdra/darkstar
scripts/globals/items/caedarva_frog.lua
18
1463
----------------------------------------- -- ID: 5465 -- Item: Caedarva Frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
SingularityServers/singularity-addon
lua/darkrp_modules/hungermod/cl_f4foodtab.lua
9
1354
local PANEL = {} local function canBuyFood(food) local ply = LocalPlayer() if (food.requiresCook == nil or food.requiresCook == true) and not ply:isCook() then return false, true end if food.customCheck and not food.customCheck(LocalPlayer()) then return false, false end if not ply:canAfford(food.pri...
mit
Igdra/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Shimmering_Circle.lua
14
1793
----------------------------------- -- Area: Chamber of Oracles -- NPC: Shimmering Circle -- @pos -220 0 12 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missio...
gpl-3.0
Noneatme/iLife-SA
server/Manager/Faction/cFactionManager.lua
1
6161
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] CFactionManager = inherit(cSingleton) function CFactionManage...
mit
kjl2y/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Pagdako.lua
31
1385
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Pagdako -- Quest NPC -- pos -200 -6 -93 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scripts...
gpl-3.0
jkhlf85/THETETOO_9
plugins/l_l_lo.lua
6
1310
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY tetoo ▀▄ ▄▀ ▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀ ▀▄ ▄▀ broadcast : مـعـرفي ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄...
gpl-2.0
Igdra/darkstar
scripts/globals/items/alabaligi.lua
18
1309
----------------------------------------- -- ID: 5461 -- Item: Alabaligi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
Igdra/darkstar
scripts/zones/Apollyon/mobs/Metalloid_Amoeba.lua
17
1395
----------------------------------- -- Area: Apollyon SE -- NPC: Metalloid_Amoeba ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -----------------------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Halvung/mobs/Wheel_Wamoura.lua
30
1540
----------------------------------- -- Area: Halvung -- MOB: Wheel Wamoura ----------------------------------- require("scripts/globals/status"); -- TODO: Damage resistances in streched and curled stances. Halting movement during stance change. ----------------------------------- -- OnMobSpawn Action ---------------...
gpl-3.0
Bo98/DarkRP
gamemode/modules/positions/sh_commands.lua
13
1501
local plyMeta = FindMetaTable("Player") DarkRP.declareChatCommand{ command = "setspawn", description = "Reset the spawn position for some job and place a new one at your position (use the command name of the job as argument)", delay = 1.5 } DarkRP.declareChatCommand{ command = "addspawn", descript...
mit
Igdra/darkstar
scripts/globals/items/berry_snowcone.lua
18
1212
----------------------------------------- -- ID: 5710 -- Item: Berry Snowcone -- Food Effect: 5 Min, All Races ----------------------------------------- -- MP % 30 Cap 30 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
Igdra/darkstar
scripts/globals/weaponskills/full_swing.lua
25
1283
----------------------------------- -- Full Swing -- Staff weapon skill -- Skill Level: 200 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Flame Gorget & Thunder Gorget. -- Aligned with the Flame Belt & Thunder Belt. -- Element: None -- Modifiers: STR:50% --...
gpl-3.0
kjl2y/darkstar
scripts/globals/weaponskills/full_swing.lua
25
1283
----------------------------------- -- Full Swing -- Staff weapon skill -- Skill Level: 200 -- Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Flame Gorget & Thunder Gorget. -- Aligned with the Flame Belt & Thunder Belt. -- Element: None -- Modifiers: STR:50% --...
gpl-3.0
AndrewTsao/luvit
lib/luvit/childprocess.lua
1
1574
--[[ Copyright 2012 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
apache-2.0
kjl2y/darkstar
scripts/globals/items/bowl_of_yayla_corbasi.lua
18
1470
----------------------------------------- -- ID: 5579 -- Item: bowl_of_yayla_corbasi -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Dexterity -1 -- Vitality 2 -- HP Recovered While Healing 3 -- MP Recovered While Healing 1 ----------------------------------------- require("script...
gpl-3.0
kjl2y/darkstar
scripts/zones/Castle_Zvahl_Keep_[S]/npcs/HomePoint#1.lua
27
1289
----------------------------------- -- Area: Castle Zvahl Keep [S] -- NPC: HomePoint#1 -- @pos -554 -70 66 155 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"); require(...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/serving_of_frog_flambe.lua
18
1738
----------------------------------------- -- ID: 4326 -- Item: serving_of_frog_flambe -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 3 -- Agility 2 -- Mind -2 -- Attack % 14 -- Attack Cap 65 -- Evasion 5 -- Ranged ATT % 14 -- Ranged ATT Cap 65 -----------------------------------...
gpl-3.0
Noneatme/iLife-SA
client/Util/cDxEvents.lua
1
1210
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: HUD ...
mit
Igdra/darkstar
scripts/zones/Metalworks/npcs/Romualdo.lua
33
1377
----------------------------------- -- Area: Metalworks -- NPC: Romualdo -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Metalworks/TextIDs"); -...
gpl-3.0
fluent/fluent-bit
lib/luajit-3065c9/dynasm/dynasm.lua
5
31015
------------------------------------------------------------------------------ -- DynASM. A dynamic assembler for code generation engines. -- Originally designed and implemented for LuaJIT. -- -- Copyright (C) 2005-2022 Mike Pall. All rights reserved. -- See below for full copyright notice. ----------------------------...
apache-2.0
kjl2y/darkstar
scripts/globals/mobskills/Floodlight.lua
18
1194
--------------------------------------------------- -- Floodlight -- -- Description: ~300 magic damage, Flash, Blind and Silence, ignores Utsusemi -- Type: Magical -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals...
gpl-3.0
tehran980/maxbot2
plugins/qr.lua
60
1731
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
Igdra/darkstar
scripts/zones/Jugner_Forest/npcs/qm2.lua
14
1304
----------------------------------- -- Area: Jugner Forest -- NPC: qm2 (???) -- Involved in Quest: Sin Hunting - RNG AF1 -- @pos -10.946,-1.000,313.810 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
rasa7aj/sbot
lang/arabic_lang.lua
28
23302
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
festevezga/ToME---t-engine4
game/modules/tome/data/texts/intro-skeleton.lua
3
1252
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
kjl2y/darkstar
scripts/zones/Arrapago_Remnants/IDs.lua
12
1635
Arrapago = { text = { -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379, -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384, -- Obtained: <item> GIL_OBTAINED = 6385, -- Obtained <number> gil KEYITEM_OBTAINED = 6387, -- Obtain...
gpl-3.0
Igdra/darkstar
scripts/zones/Horlais_Peak/Zone.lua
30
1723
----------------------------------- -- -- Zone: Horlais_Peak (139) -- ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Horlais_Peak/TextIDs"); --------------------------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Souun_IM.lua
13
3333
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Souun, I.M. -- Type: Outpost Conquest Guards -- @pos 470.843 23.465 415.520 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/con...
gpl-3.0
kjl2y/darkstar
scripts/zones/VeLugannon_Palace/npcs/qm2.lua
13
1287
----------------------------------- -- Area: VeLugannon Palace -- NPC: qm2 (???) -- Notes: Used to spawn Brigandish Blade -- @pos 0.1 0.1 -286 177 ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/VeLuganno...
gpl-3.0
Shayan123456/bottttttt2
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
alireza784/permag.ir
plugins/banhammer.lua
1
36756
local function pre_process(msg) chat = msg.chat_id_ user = msg.sender_user_id_ local function check_newmember(arg, data) test = load_data(_config.moderation.data) lock_bots = test[arg.chat_id]['settings']['lock_bots'] local hash = "gp_lang:"..arg.chat_id local lang = redis:get(hash) if data.type_.ID == "UserTy...
gpl-3.0
kjl2y/darkstar
scripts/zones/Cloister_of_Gales/bcnms/trial_by_wind.lua
30
1859
----------------------------------- -- Area: Cloister of Gales -- BCNM: Trial by Wind -- @zone -361 1 -381 201 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/class/interface/Combat.lua
2
92881
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
Igdra/darkstar
scripts/zones/Dynamis-Bastok/mobs/Ko_Dho_Cannonball.lua
17
1122
----------------------------------- -- Area: Dynamis Bastok -- NPC: Ko'Dho Cannonball -- Boss Trigger for Gu'Dha Effigy ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -...
gpl-3.0
Igdra/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Abda-Lurabda.lua
17
1363
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Abda Lurabda -- Standard Info NPC ----------------------------------- require("scripts/globals/status"); require("scripts/globals/pets"); ----------------------------------- -- onTrade Action ----------------------------------- function onTra...
gpl-3.0
shayanchabok007/antispam_ok
plugins/welcome.lua
3
3570
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
Igdra/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/_4f3.lua
27
2093
----------------------------------- -- Area: Temple of Uggalepih -- NPC: _4f3 -- Notes: Tonberry Priest Room (Offers Tonberry Hate Reset) -- @pos 60.001 -1.653 -147.755 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
kjl2y/darkstar
scripts/zones/Castle_Oztroja/npcs/_47y.lua
13
1409
----------------------------------- -- Area: Castle Oztroja -- NPC: _47y (Torch Stand) -- Notes: Opens door _474 -- @pos -57.575 24.218 -67.651 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztr...
gpl-3.0
steino/lua-mongoc
test/test.lua
1
1901
local mongoc = assert(require'mongoc') local host = "127.0.0.1" local port = 27017 assert(mongoc.connect(host, 1) == nil) local conn = assert(mongoc.connect(host, port)) assert(conn:insert("test.mongoc", { mykey = "myvalue" })) assert(conn:count("test.mongoc") == 1) assert(assert(conn:find_one("test.mongoc", { my...
mit
festevezga/ToME---t-engine4
game/modules/tome/data/talents/cunning/lethality.lua
2
5165
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
Igdra/darkstar
scripts/zones/Windurst_Waters/npcs/Funpo-Shipo.lua
14
1467
----------------------------------- -- Area: Windurst Waters -- NPC: Funpo-Shipo -- Type: Standard NPC -- @pos -44.091 -4.499 41.728 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require(...
gpl-3.0
shayanchabok007/antispam_ok
plugins/banhammer.lua
31
11983
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
Igdra/darkstar
scripts/globals/items/m&p_cracker.lua
18
1358
----------------------------------------- -- ID: 5640 -- Item: M&P Cracker -- Food Effect: 3Min, All Races ----------------------------------------- -- Vitality 5 -- Mind -5 -- Defense % 25 -- Attack Cap 154 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Leujaoam_Sanctum/IDs.lua
29
3167
Leujaoam = { text = { -- General Texts ITEM_CANNOT_BE_OBTAINED = 6378, -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6381, -- Obtained: <item> GIL_OBTAINED = 6384, -- Obtained <number> gil KEYITEM_OBTAINED = 6384, -- Obtain...
gpl-3.0
kjl2y/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kuhn_Tsahnpri.lua
15
1436
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kuhn Tsahnpri -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); --------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Rakih_Lyhall.lua
13
1065
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Rakih Lyhall -- Type: Standard NPC -- @zone: 94 -- @pos -48.111 -4.5 69.712 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
Igdra/darkstar
scripts/globals/weaponskills/vidohunir.lua
19
2111
----------------------------------- -- Vidohunir -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP. -- Reduces enemy's magic defense by 10%. -- Available only after completing the Unlocking a Myth (Black Mage) quest...
gpl-3.0
Igdra/darkstar
scripts/globals/spells/bio_ii.lua
26
2191
----------------------------------------- -- Spell: Bio II -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/date.lua
18
1173
----------------------------------------- -- ID: 5566 -- Item: Date -- Food Effect: 5 Mins, All Races ----------------------------------------- -- Intelligence 1 -- Agility -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/gfx/particles/blight_power.lua
3
1520
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
tontyoutoure/DOTA2-AI-Fun
game/dota_addons/dota2_ai_fun/scripts/vscripts/heroes/exsoldier/exsoldier_init.lua
1
5330
local tNewAbilities = { "exsoldier_braver", "exsoldier_blade_beam", "exsoldier_meteorain", "generic_hidden", "generic_hidden", "exsoldier_omnislash", "special_bonus_gold_income_120", "special_bonus_exp_boost_30", "special_bonus_unique_exsoldier_1", "special_bonus_cast_range_250", "special_bonus_unique_exsold...
mit
Igdra/darkstar
scripts/globals/magiantrials.lua
50
9360
------------------------------------------- -- Magian trial functions, vars, tables ------------------------------------------- ----------------------------------- -- getTrialInfo ----------------------------------- -- once fully filled out, these info tables might get large enough to need their own file, we'll see......
gpl-3.0
kjl2y/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Field_Manual.lua
29
1053
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ----------------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Mercenary.lua
14
1211
----------------------------------- -- Area: Labyrinth of Onzozo -- MOB: Goblin Mercenary -- Note: Place holder Soulstealer Skullnix ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Labyrinth_of_Onzozo/MobIDs"); ----------------------------------- -- onMobDeath --...
gpl-3.0
kjl2y/darkstar
scripts/globals/spells/sandstorm.lua
32
1181
-------------------------------------- -- Spell: Sandstorm -- Changes the weather around target party member to "dusty." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -...
gpl-3.0
kjl2y/darkstar
scripts/zones/Nashmau/npcs/Porter_Moogle.lua
41
1514
----------------------------------- -- Area: Nashmau -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 53 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scrip...
gpl-3.0
kjl2y/darkstar
scripts/zones/Southern_San_dOria/npcs/Rumoie.lua
13
1474
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rumoie -- Type: Map Marker NPC -- @zone: 230 -- @pos 149.696 -2.000 151.631 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
CaptainCN/QCEditor
cocos2d/cocos/scripting/lua-bindings/script/framework/extends/UITextField.lua
5
1635
--[[ Copyright (c) 2014-2017 Chukong Technologies Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
mit
micahmumper/naev
dat/missions/neutral/foodbiz/deliverlove.lua
3
4129
--[[ Mission Name: Deliver Love Author: iwaschosen Plot: Talk to man on Zeo, bargain, load some cargo, deliver it to Zhiru in Goddard, get $ --]] lang = naev.lang() if lang == "es" then -- Spanish version of the texts would follow elseif lang == "de" then -- German version of the texts would follow else -- default En...
gpl-3.0
Ali-2h/sokutbot
plugins/plugins.lua
134
6165
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
lvshiling/U3DTerrainEditor
Bin/OldFilters/roadbuilder.lua
2
6450
require 'LuaScripts/rasterization' require 'LuaScripts/linelistcurve' return { name="Road Builder", Description="Convert the waypoint list to a road.", options= { {name="Bed width", type="value", value=4}, {name="Bed Hardness", type="value", value=0.5}, {name="Paving Width", type="value", value=2}, {na...
mit
PavlosMelissinos/densecap
test/clip_boxes_test.lua
4
1650
require 'torch' local box_utils = require 'densecap.box_utils' local tests = {} local tester = torch.Tester() function tests.xcycwh_test() local boxes_in = torch.Tensor(1, 10, 4) boxes_in[{1, 1}] = torch.Tensor{0.5, 8.5, 7, 5} boxes_in[{1, 2}] = torch.Tensor{3.5, -0.5, 9, 7} boxes_in[{1, 3}] = torch.Tens...
mit
breakds/torch7
test/test_writeObject.lua
56
1897
local myTester = torch.Tester() local tests = {} -- checks that an object can be written and unwritten -- returns false if an error occurs local function serializeAndDeserialize(obj) local file = torch.MemoryFile() file:binary() local ok, msg = pcall (file.writeObject, file, obj) myTester:assert(ok, 'err...
bsd-3-clause
eku/nodemcu-firmware
lua_modules/mcp23017/mcp23017.lua
6
4574
--[[ This Lua module provides access to the MCP23017 module. The MCP23017 is a port expander and provides 16 channels for inputs and outputs. Up to 8 devices (128 channels) are possible by the configurable address (A0 - A2 Pins). Due to the 16 channels, 2 bytes are required for switching outputs ...
mit
CaptainCN/QCEditor
cocos2d/cocos/scripting/lua-bindings/auto/api/EaseExponentialIn.lua
2
1158
-------------------------------- -- @module EaseExponentialIn -- @extend ActionEase -- @parent_module cc -------------------------------- -- -- @function [parent=#EaseExponentialIn] create -- @param self -- @param #cc.ActionInterval action -- @return EaseExponentialIn#EaseExponentialIn ret (return value: cc.EaseExp...
mit
LuaDist2/hprose
src/hprose/formatter.lua
3
1798
--[[ /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
mit
ignacio/luarocks
src/luarocks/unpack.lua
18
6140
--- Module implementing the LuaRocks "unpack" command. -- Unpack the contents of a rock. --module("luarocks.unpack", package.seeall) local unpack = {} package.loaded["luarocks.unpack"] = unpack local fetch = require("luarocks.fetch") local fs = require("luarocks.fs") local util = require("luarocks.util") local build ...
mit
alpha-team/smart_gourd_final
plugins/torrent_search.lua
411
1622
--[[ NOT USED DUE TO SSL ERROR -- See https://getstrike.net/api/ local function strike_search(query) local strike_base = 'http://getstrike.net/api/v2/torrents/' local url = strike_base..'search/?phrase='..URL.escape(query) print(url) local b,c = http.request(url) print(b,c) local search = json:decode(b) v...
gpl-2.0
flux-framework/flux-sched
t/scripts/waitfile.lua
2
6806
#!/usr/bin/env lua ------------------------------------------------------------- -- Copyright 2014 Lawrence Livermore National Security, LLC -- (c.f. AUTHORS, NOTICE.LLNS, COPYING) -- -- This file is part of the Flux resource manager framework. -- For details, see https://github.com/flux-framework. -- -- SPDX-License-...
lgpl-3.0
peterayeni/kong
kong/cli/db.lua
22
1420
#!/usr/bin/env lua local Faker = require "kong.tools.faker" local constants = require "kong.constants" local cutils = require "kong.cli.utils" local IO = require "kong.tools.io" local lapp = require("lapp") local args = lapp(string.format([[ For development purposes only. Seed the database with random data or drop i...
apache-2.0
creationix/rye
libs/auto-headers.lua
1
2686
--[[ Response automatic values: - Auto Server header - Auto Date Header - code defaults to 404 with body "Not Found\n" - if there is a string body add Content-Length and ETag if missing - if string body and no Content-Type, use text/plain for valid utf-8, application/octet-stream otherwise - Auto add "; charset=...
isc
CaptainCN/QCEditor
cocos2d/cocos/scripting/lua-bindings/auto/api/Waves3D.lua
8
3128
-------------------------------- -- @module Waves3D -- @extend Grid3DAction -- @parent_module cc -------------------------------- -- brief Set the amplitude rate of the effect.<br> -- param amplitudeRate The value of amplitude rate will be set. -- @function [parent=#Waves3D] setAmplitudeRate -- @param self -- @param...
mit
mabotech/mabo.task
py/jobs0527/client_status_change4.lua
1
2802
--[[ for AK, Vision, OPC, DB ... ]] -- key1,argv1,argv2,argv3,argv4 -- KEYS[1], equipment -- ARGV[1], new status value -- ARGV[2], timestamp -- ARGV[3], message -- ARGV[4], ttl local old_status = redis.call("HGET", KEYS[1],"val") local post = redis.call("HGET", KEYS[1],"post") local is_camera = string.find(KE...
mit
AllwenWaker/MegaMoon
bot/seedbot.lua
1
10293
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0