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
mehrpouya81/persianseed
plugins/banhammer.lua
214
11956
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
jbeich/Aquaria
files/scripts/maps/map_suntemple.lua
6
1623
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/maps/map_suntemple.lua
6
1623
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Metalworks/npcs/Cid.lua
14
11944
----------------------------------- -- Area: Metalworks -- NPC: Cid -- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start) -- Involved in Mission: Bastok 7-1 -- @pos -12 -12 1 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ---------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Quicksand_Caves/npcs/_5sa.lua
14
1273
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -418 0 790 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextIDs...
gpl-3.0
nyczducky/darkstar
scripts/globals/zone.lua
11
3195
------------------------------------ -- -- Contains global functions and variables -- related to area specific things -- ------------------------------------ ------------------------------------ -- zone related IDs ------------------------------------ -- Zone Types ZONETYPE_NONE = 0 ZONETYPE_CI...
gpl-3.0
dtrip/awesome
lib/wibox/widget/slider.lua
2
14647
--------------------------------------------------------------------------- -- An interactive mouse based slider widget. -- --@DOC_wibox_widget_defaults_slider_EXAMPLE@ -- -- @author Grigory Mishchenko <grishkokot@gmail.com> -- @author Emmanuel Lepage Vallee <elv1313@gmail.com> -- @copyright 2015 Grigory Mi...
gpl-2.0
nyczducky/darkstar
scripts/zones/Garlaige_Citadel/Zone.lua
9
3832
----------------------------------- -- -- Zone: Garlaige_Citadel (200) -- ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Garlaige_Citadel...
gpl-3.0
dtrip/awesome
tests/examples/wibox/nwidget/default.lua
4
3116
--DOC_GEN_IMAGE --DOC_HIDE_ALL local parent = ... local naughty = require("naughty") local wibox = require("wibox") local beautiful = require("beautiful") local def = require("naughty.widget._default") local acommon = require("awful.widget.common") local aplace = require("awful.placement") local gears = require("gea...
gpl-2.0
nyczducky/darkstar
scripts/globals/weaponskills/arching_arrow.lua
12
1388
----------------------------------- -- Arching Arrow -- Archery weapon skill -- Skill level: 225 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: STR:16% ; AGI:25% -- 10...
gpl-3.0
ld-test/luarepl
repl/plugins/pretty_print.lua
4
6617
-- Copyright (c) 2011-2015 Rob Hoelz <rob@hoelz.ro> -- -- 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,...
mit
alirezafodaji/tele-IR
plugins/plugins.lua
88
6304
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
trelemar/Dither
lib/hump/gamestate.lua
14
3533
--[[ Copyright (c) 2010-2013 Matthias Richter 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, publish, dis...
mit
benloz10/FinalFrontier
gamemodes/finalfrontier/gamemode/systems/medical.lua
1
2730
-- Copyright (c) 2014 Danni Lock [codednil@yahoo.co.uk] -- -- This file is part of Final Frontier. -- -- Final Frontier is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as -- published by the Free Software Foundation, either version 3 of -- the Lic...
lgpl-3.0
sjznxd/lc-20121231
modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua
21
8152
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org> 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 htt...
apache-2.0
AquariaOSE/Aquaria
files/scripts/entities/_unused/queenhydra.lua
6
3636
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/nudibranchtemplate.lua
6
2979
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Southern_San_dOria/npcs/Rouva.lua
14
1754
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rouva -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -17 2 10 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/plate_of_boiled_barnacles_+1.lua
12
1323
----------------------------------------- -- ID: 5981 -- Item: Plate of Boiled Barnacles +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Charisma -2 -- Defense % 26 Cap 135 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Caedarva_Mire/npcs/Nareema.lua
18
2118
----------------------------------- -- Area: Caedarva Mire -- NPC: Nareema -- Type: Assault -- @pos 518.387 -24.707 -467.297 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Caedarva_Mire/TextIDs"); require("s...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_Bastok/Zone.lua
26
3589
----------------------------------- -- -- Zone: Port_Bastok (236) -- ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/zone"); require("scripts/globals/settings"); require("scripts/globals/missions"); require("scr...
gpl-3.0
moltafet35/senatorv2
plugins/media.lua
376
1679
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
Arashbrsh/lifeeee
plugins/media.lua
376
1679
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
starius/lpjit
benchmark/test_parenthesis.lua
1
1139
local lpeg = require 'lpeg' local lpjit = require 'lpjit' local function genParenthesis() local abc = 'qwertyuiop[sdfghjklvbnmxcv56789\n' local t = {} math.randomseed(0) for i = 1, 50 do table.insert(t, '(') end for i = 1, 10000 do if math.random(1, 2) == 1 then tabl...
mit
SamOatesPlugins/cuberite
Server/Plugins/NetworkTest/NetworkTest.lua
7
17057
-- NetworkTest.lua -- Implements a few tests for the cNetwork API --- Map of all servers currently open -- g_Servers[PortNum] = cServerHandle local g_Servers = {} --- Map of all UDP endpoints currently open -- g_UDPEndpoints[PortNum] = cUDPEndpoint local g_UDPEndpoints = {} --- List of fortune messages for the...
apache-2.0
nyczducky/darkstar
scripts/globals/items/dish_of_spaghetti_ortolana.lua
12
1559
----------------------------------------- -- ID: 5658 -- Item: Dish of Spafhetti Ortolana -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Agility 2 -- Vitality 2 -- HP +30% Cap 70 -- StoreTP +6 -- Resist Blind +10 ----------------------------------------- require("scripts/globals/status...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/anemone2.lua
12
2819
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
sjznxd/lc-20121231
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
78
1844
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Manuel Munz <freifunk at somakoma dot de> 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 h...
apache-2.0
rovemonteux/score_framework
src/instruments/guitar.lua
1
17712
------------------------------------------------------------------------------- ---- Score Framework - A Lua-based framework for creating multi-track MIDI files. ---- Copyright (c) 2017 Rove Monteux ---- ---- This program is free software; you can redistribute it and/or modify it ---- under the terms of the GNU Ge...
gpl-3.0
francot514/CardGamePRO-Simulator
data/cards/c1184.lua
1
1268
--Awanw sword function c1184.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c1184.cost) e1:SetTarget(c1184.target) e1:SetOperation(c1184.activate) c:RegisterEffect(e1) end function c11...
gpl-2.0
lgeek/koreader
frontend/optmath.lua
5
1502
--[[-- Simple math helper functions ]] local Math = {} function Math.roundAwayFromZero(num) if num > 0 then return math.ceil(num) else return math.floor(num) end end function Math.round(num) return math.floor(num + 0.5) end function Math.oddEven(number) if number % 2 == 1 then ...
agpl-3.0
ld-test/vararg
vararg.lua
6
3305
local math = require "math" local table = require "table" local error, assert, select = error, assert, select local max, unpack = math.max, table.unpack or unpack local setmetatable = setmetatable local tinsert2 = function(t, n, i, v) -- lua 5.2 rise error if index out of range -- assert(type(t) =='table') -- ass...
mit
nyczducky/darkstar
scripts/globals/mobskills/Absolute_Terror.lua
28
1378
--------------------------------------------------- -- Absolute Terror -- Causes Terror, which causes the victim to be stunned for the duration of the effect, this can not be removed. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("sc...
gpl-3.0
guangbin79/Lua_5.1.5-iOS
copas-2_0_1/tests/largetransfer.lua
1
3189
-- tests large transmissions, sending and receiving -- uses `receive` and `receivePartial` -- Does send the same string twice simultaneously -- -- Test should; -- * show timer output, once per minute, and actual time should be 60 second increments -- * both transmissions should take appr. equal time, then they we'r...
mit
jbeich/Aquaria
files/scripts/entities/leopardshark.lua
6
2873
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
rotmanmi/torch7
torchcwrap.lua
54
15111
local wrap = require 'cwrap' local types = wrap.types types.Tensor = { helpname = function(arg) if arg.dim then return string.format("Tensor~%dD", arg.dim) else return "Tensor" end end, declare = function(arg...
bsd-3-clause
nyczducky/darkstar
scripts/globals/abilities/pets/hydro_breath.lua
29
1337
--------------------------------------------------- -- Hydro Breath --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/ability"); -----------------------------------------------...
gpl-3.0
wenhulove333/ScutServer
SDK/template/multi-platform-quick/Resources/scripts/testScene.lua
4
43283
module("testScene", package.seeall) function P(fileName) if fileName then return ScutDataLogic.CFileHelper:getPath(fileName) else return nil end end ------文字资源------------------------- IDS_JINDOU = "金豆" IDS_JIFEN = "积分" IDS_JINGYAN = "经验" IDS_SORCE = "分数:" IDS_NICKNAME = "...
mit
wenhulove333/ScutServer
Sample/GameRanking/Client/release_socket/lua/testScene.lua
4
43283
module("testScene", package.seeall) function P(fileName) if fileName then return ScutDataLogic.CFileHelper:getPath(fileName) else return nil end end ------文字资源------------------------- IDS_JINDOU = "金豆" IDS_JIFEN = "积分" IDS_JINGYAN = "经验" IDS_SORCE = "分数:" IDS_NICKNAME = "...
mit
nyczducky/darkstar
scripts/globals/weaponskills/steel_cyclone.lua
26
1617
----------------------------------- -- Steel Cyclone -- Great Axe weapon skill -- Skill level: 240 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Steel Cyclone, the quest The Weight of Your Limits must be completed. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget, Aqua ...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/formupgradeenergy2.lua
6
2754
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/King_Ranperres_Tomb/npcs/_5a0.lua
14
2515
----------------------------------- -- Area: King Ranperre's Tomb -- DOOR: _5a0 (Heavy Stone Door) -- @pos -39.000 4.823 20.000 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("sc...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/plate_of_tentacle_sushi_+1.lua
12
1747
----------------------------------------- -- ID: 5216 -- Item: plate_of_tentacle_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP 20 -- Dexterity 3 -- Agility 3 -- Accuracy % 20 (cap 20) -- Ranged Accuracy % 20 (cap 20) -- Double Attack 1 ----------------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/shellra_v.lua
26
1101
----------------------------------------- -- Spell: Shellra ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spel...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/sausage_roll.lua
12
1759
----------------------------------------- -- ID: 4396 -- Item: sausage_roll -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 6 (cap 160) -- Vitality 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 ----------------------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/cup_of_caravan_tea.lua
12
1329
----------------------------------------- -- ID: 5927 -- Item: Cup of Caravan Tea -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 22 -- MP 32 -- Charisma 6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------...
gpl-3.0
sjznxd/lc-20121231
applications/luci-radvd/luasrc/model/cbi/radvd/rdnss.lua
74
2324
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> 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 $Id$ ]]-- lo...
apache-2.0
nyczducky/darkstar
scripts/globals/weaponskills/tachi_kasha.lua
18
1884
----------------------------------- -- Tachi Kasha -- Great Katana weapon skill -- Skill Level: 250 -- Paralyzes target. Damage varies with TP. -- Paralyze effect duration is 60 seconds when unresisted. -- In order to obtain Tachi: Kasha, the quest The Potential Within must be completed. -- Will stack with Sneak Attack...
gpl-3.0
nyczducky/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rt.lua
14
1640
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_Aqueduct...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_Windurst/npcs/_6o6.lua
14
1442
----------------------------------- -- Area: Port Windurst -- NPC: Door: Departures Exit -- @zone 240 -- @pos 218 -5 114 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/ke...
gpl-3.0
Sojerbot/new
plugins/inrealm.lua
13
25404
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
dtrip/awesome
tests/examples/text/gears/object/properties.lua
6
1286
--DOC_GEN_OUTPUT --DOC_HIDE local gears = require("gears") --DOC_HIDE -- Create a class for this object. It will be used as a backup source for -- methods and accessors. It is also possible to set them directly on the -- object. local class = {} function class:get_foo() print("In get foo", self._foo or "bar") ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Boneyard_Gully/npcs/_081.lua
22
1453
----------------------------------- -- Area: Boneyard_Gully -- NPC: _081 (Dark Miasma) ----------------------------------- package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/globals/miss...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/cutlet_sandwich.lua
12
1739
----------------------------------------- -- ID: 6396 -- Item: cutlet_sandwich -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +40 -- STR +7 -- INT -7 -- Fire resistance +20 -- Attack +20% (cap 120) -- Ranged Attack +20% (cap 120) ----------------------------------------- require("scri...
gpl-3.0
nyczducky/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Silke.lua
17
1235
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Silke -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scripts/globals/...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/groundshockershell.lua
6
2443
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
MOSAVI17/Generalbot
plugins/commit.lua
15
13045
-- Commits from https://github.com/ngerakines/commitment. local command = 'commit' local doc = '`Returns a commit message from whatthecommit.com.`' local triggers = { '^/commit[@'..bot.username..']*' } local commits = { "One does not simply merge into master", "Merging the merge", "Another bug bites the dust", ...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/_unused/mengil.lua
6
2149
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Longsword.lua
17
1502
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Longsword ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobE...
gpl-3.0
nyczducky/darkstar
scripts/zones/Sealions_Den/npcs/_0w0.lua
14
1998
----------------------------------- -- Area: Sealion's Den -- NPC: Iron Gate -- @pos 612 132 774 32 ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missions"); require("scripts...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/maps/node_killcreator.lua
6
1380
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/pork_cutlet_+1.lua
12
1740
----------------------------------------- -- ID: 6395 -- Item: pork_cutlet_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- HP +45 -- STR +8 -- INT -8 -- Fire resistance +21 -- Attack +21% (cap 125) -- Ranged Attack +21% (cap 125) ----------------------------------------- require("scri...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_Jeuno/npcs/Veujaie.lua
14
1041
---------------------------------- -- Area: Port Jeuno -- NPC: Veujaie -- Type: Item Deliverer -- @zone 246 -- @pos -20.349 7.999 -2.888 -- ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); -----------------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/black_halo.lua
25
1568
----------------------------------- -- Black Halo -- Club weapon skill -- Skill level: 230 -- In order to obtain Black Halo, the quest Orastery Woes must be completed. -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget, Thunder Gorget & Breeze Gorget....
gpl-3.0
GSRMOHAMMAD/fortg
plugins/filtering.lua
11
2563
--[[ # # @GPMOD # @Dragon_Born # ]] local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "کلمه جدید به فیلتر کلمات اضافه شد\n>"..name end local function get_variables_hash(msg) return 'chat:'..msg.to.id..':badword' end ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Behemoths_Dominion/TextIDs.lua
7
1076
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6388; -- Obtained...
gpl-3.0
oldstylejoe/vlc-timed
share/lua/playlist/zapiks.lua
17
2964
--[[ $Id$ Copyright © 2011 the VideoLAN team Authors: Konstantin Pavlov (thresh@videolan.org) 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 2 of the License, or (at your opt...
gpl-2.0
nyczducky/darkstar
scripts/zones/Western_Altepa_Desert/mobs/Desert_Dhalmel.lua
14
1048
----------------------------------- -- Area: Western Altepa Desert -- MOB: Desert Dhalmel -- Note: Place holder for Celphie ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/Western_Altepa_Desert/MobIDs"); ----------------------------------- -- onMobDeath ----------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Temenos/mobs/Kindred_Dark_Knight.lua
28
1108
----------------------------------- -- Area: Temenos N T -- NPC: Kindred_Dark_Knight ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------...
gpl-3.0
jasujm/bridge
sample/config.lua
1
3465
-- Sample configuration file for the bridge application -- The bind interface and port. Control socket binds to bind_base_port. Event -- socket binds to bind_base_port + 1. bind_address = os.getenv("BRIDGE_BIND_ADDRESS") or "*" bind_base_port = os.getenv("BRIDGE_BIND_BASE_PORT") or 5555 -- Set curve_secret_key and c...
gpl-3.0
sevu/wesnoth
data/ai/micro_ais/cas/ca_messenger_escort_move.lua
6
3712
local AH = wesnoth.require "ai/lua/ai_helper.lua" local LS = wesnoth.require "location_set" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local M = wesnoth.map local messenger_next_waypoint = wesnoth.require "ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua" local function get_escorts(cfg)...
gpl-2.0
nyczducky/darkstar
scripts/globals/abilities/fight.lua
26
1130
----------------------------------- -- Ability: Fight -- Commands your pet to attack the target. -- Obtained: Beastmaster Level 1 -- Recast Time: 10 seconds -- Duration: N/A ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- ...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/pogaca_+1.lua
12
1445
----------------------------------------- -- ID: 5638 -- Item: pogaca_+1 -- Food Effect: 5Min, All Races ----------------------------------------- -- Lizard Killer +12 -- Resist Paralyze +12 -- HP Recovered While Healing 6 -- MP Recovered While Healing 6 ----------------------------------------- require("scripts/globa...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/choke.lua
9
1851
----------------------------------------- -- Spell: Choke -- Deals wind damage that lowers an enemy's vitality and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------...
gpl-3.0
naxiwer/Atlas
lib/active-queries.lua
40
3780
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is dis...
gpl-2.0
aqasaeed/ali
plugins/GroupManager.lua
39
11325
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if not is_admin(msg) then return "This service is private for SUDO (@shayansoft)" end local group_creator = msg.from.print_name ...
gpl-2.0
nyczducky/darkstar
scripts/zones/RuLude_Gardens/npcs/HomePoint#2.lua
27
1264
----------------------------------- -- Area: RuLude_Gardens -- NPC: HomePoint#2 -- @pos 53 9 -57 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/homepoi...
gpl-3.0
rpav-eso/ThiefsKnapsack
libs/LibAddonMenu-2.0/controls/editbox.lua
6
5492
--[[editboxData = { type = "editbox", name = "My Editbox", tooltip = "Editbox's tooltip text.", getFunc = function() return db.text end, setFunc = function(text) db.text = text doStuff() end, isMultiline = true, --boolean width = "full", --or "half" (optional) disabled = function() return db.someBooleanSetting ...
bsd-2-clause
Sojerbot/new
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
mehrpouya81/giantbot
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
mynameiscraziu/mycaty
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
alinoroz/pop_tm
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
aktel/vice-players
Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/verbatim.lua
7
1667
-- tolua: verbatim class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: verbatim.lua 1004 2006-02-27 13:03:20Z lindquist $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to prov...
gpl-3.0
nyczducky/darkstar
scripts/zones/Jugner_Forest/npcs/Cavernous_Maw_2.lua
29
1894
----------------------------------- -- Area: Jugner Forest -- NPC: Cavernous Maw -- @pos 246.318, -0.709, 5.706 104 -- Teleports Players to Abyssea - Vunkerl ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
devadvisor/Advisor
tg/test.lua
210
2571
started = 0 our_id = 0 function vardump(value, depth, key) local linePrefix = "" local spaces = "" if key ~= nil then linePrefix = "["..key.."] = " end if depth == nil then depth = 0 else depth = depth + 1 for i=1, depth do spaces = spaces .. " " end end if type(value) == 'tab...
gpl-2.0
aliarshad2000/telehunter
plugins/inrealm.lua
22
16813
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_group_ch...
gpl-2.0
mynameiscraziu/mycaty
plugins/plugins.lua
325
6164
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
nyczducky/darkstar
scripts/zones/Al_Zahbi/npcs/Bornahn.lua
14
1170
----------------------------------- -- Area: Al Zahbi -- NPC: Bornahn -- Guild Merchant NPC: Goldsmithing Guild -- @pos 46.011 0.000 -42.713 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requir...
gpl-3.0
nyczducky/darkstar
scripts/zones/Misareaux_Coast/Zone.lua
12
1571
----------------------------------- -- -- Zone: Misareaux_Coast (25) -- ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Misareaux_Coast/TextIDs"); ------------------------...
gpl-3.0
sudheesh001/RFID-DBSync
cardpeek-0.8.3/dot_cardpeek_dir/scripts/belgian eID.lua
17
6000
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009-2013 by 'L1L1' -- -- Cardpeek 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 -- (a...
gpl-2.0
nyczducky/darkstar
scripts/globals/weaponskills/empyreal_arrow.lua
15
1552
----------------------------------- -- Empyreal Arrow -- Archery weapon skill -- Skill level: 250 -- In order to obtain Empyreal Arrow, the quest From Saplings Grow must be completed. -- Delivers a single-hit attack. Damage varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt ...
gpl-3.0
wenhulove333/ScutServer
Sample/Doudizhu/Client/lua/lib/ZyMessageBoxEx.lua
1
13975
MB_STYLE_TITLE = 1 --±êÌâ MB_STYLE_MESSAGE = 2 --ÄÚÈÝ MB_STYLE_LBUTTON = 3 MB_STYLE_RBUTTON = 4 MB_STYLE_MODIFY = 5 MB_STYLE_THEME = 6 MB_STYLE_GOTO_PAGE = 7 MB_STYLE_CLOSE = 8 MB_STYLE_PROMPT = 9 MB_STYLE_RENAME = 10 --¸üÃû ID_MBOK = 1 --×ó±ß ID_MBCANCEL = 2 MB_THEME_NORMAL = 1 --...
mit
blackman1380/selfbot
plugins/password.lua
4
2252
do local function set_pass(msg, pass, id) local hash = nil if msg.to.type == "channel" then hash = 'setpass:' end local name = string.gsub(msg.to.print_name, '_', '') if hash then redis:hset(hash, pass, id) return send_large_msg("channel#id"..msg.to.id, "Password Of SuperGroup/Group : ["..name....
gpl-2.0
nyczducky/darkstar
scripts/globals/mobskills/Everyones_Grudge.lua
36
1591
--------------------------------------------- -- Everyones Grudge -- -- Notes: Invokes collective hatred to spite a single target. -- Damage done is 5x the amount of tonberries you have killed! For NM's using this it is 50 x damage. --------------------------------------------- require("scripts/globals/settings");...
gpl-3.0
dddaaaddd/teleiran_new
plugins/banhammer.lua
1
12493
local function pre_process(msg) local data = load_data(_config.moderation.data) -- 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('Che...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/maps/node_pushleft.lua
6
1045
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
abosalah22/memo
plugins/aboshoshoo1.lua
1
4351
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ help1 : مساعدة ▀▄ ▄▀ ▀▄▀...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/dish_of_spaghetti_carbonara.lua
12
1829
----------------------------------------- -- ID: 5190 -- Item: dish_of_spaghetti_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 175 -- Magic 10 -- Strength 4 -- Vitality 2 -- Intelligence -3 -- Attack % 17 -- Attack Cap 65 -- Store TP 6 ----------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Caedarva_Mire/npcs/Nuimahn.lua
14
1402
----------------------------------- -- Area: Caedarva Mire -- NPC: Nuimahn -- Type: Alzadaal Undersea Ruins -- @pos -380 0 -381 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts...
gpl-3.0
nyczducky/darkstar
scripts/zones/Temenos/npcs/Armoury_Crate.lua
21
8373
----------------------------------- -- Area: Temenos -- NPC: Armoury Crate ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones/Temenos/TextIDs"); re...
gpl-3.0