repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
NavidQuick/TeleSurena | plugins/supergroup.lua | 3 | 94562 | --Begin supergrpup.lua
--Check members #Add supergroup
local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "ابتدا من را در گروه مدیر کنید")
end
for k,v in pairs(resu... | agpl-3.0 |
Kfm946/data_HG2 | Common/scripts/ifs_opt_sound.lua | 1 | 51270 | --
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
-- Helper function, sets text of
local output_modelist_content = {
{ string = "ifs.soundopt.outputmode.mono", },
{ string = "ifs.soundopt.outputmode.headphones", },
{ string = "ifs.soundopt.outputmode.stereo", },
-- { string = "ifs.soundopt... | gpl-3.0 |
SoScared/OpenRA | mods/ra/maps/monster-tank-madness/monster-tank-madness.lua | 3 | 15022 | --[[
Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
spc476/lua-conmanorg | lua/cc.lua | 1 | 6000 | -- ***************************************************************
--
-- Copyright 2012 by Sean Conner. All Rights Reserved.
--
-- This library 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 ... | lgpl-3.0 |
chrisJohn404/ljswitchboard-module_manager | lib/switchboard_modules/lua_script_debugger/premade_scripts/10b_user_ram_fifo.lua | 1 | 3215 | --[[
Name: 10b_user_ram_fifo.lua
Desc: Example showing how to use USER RAM FIFO buffers to transfer an array
of data to/from an external computer
Note: This system is considered an advanced topic. Simple data transfer
to/from Lua is easiest with USER_RAM, not a FIFO. These FIFO buffers
... | mit |
nekrozar/ygopro-scripts | c9336190.lua | 2 | 3304 | --幻影騎士団ミストクロウズ
function c9336190.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c9336190.target)
e1:SetOperation(c9336190.activate)
c:RegisterEffect(e... | gpl-2.0 |
theonlywild/otouto | plugins/gImages.lua | 8 | 2110 | -- You need a Google API key and a Google Custom Search Engine set up to use this, in config.google_api_key and config.google_cse_key, respectively.
-- You must also sign up for the CSE in the Google Developer Concsole, and enable image results.
if not config.google_api_key then
print('Missing config value: google_... | gpl-2.0 |
nekrozar/ygopro-scripts | c95443805.lua | 4 | 1068 | --霞の谷の祈祷師
function c95443805.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(95443805,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c95443805.atkcost)
e1:SetOperation(c95443805.atkop)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c30548775.lua | 2 | 1832 | --ブランチ
function c30548775.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(30548775,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EF... | gpl-2.0 |
nekrozar/ygopro-scripts | c11069680.lua | 3 | 3154 | --ジャンク・コンバーター
function c11069680.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(11069680,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,11069680)
e1:SetCost(c11069680.thcost)
e1:SetTar... | gpl-2.0 |
nekrozar/ygopro-scripts | c81119816.lua | 2 | 1888 | --プランキッズ・パルス
function c81119816.initial_effect(c)
--indes
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_MATERIAL)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,81119816)
e1:SetCondition(c81... | gpl-2.0 |
Schakirov/deep-transition-RNN | util/model_utils.lua | 1 | 6486 |
-- adapted from https://github.com/wojciechz/learning_to_execute
-- utilities for combining/flattening parameters in a model
-- the code in this script is more general than it needs to be, which is
-- why it is kind of a large
require 'torch'
local model_utils = {}
function model_utils.combine_all_parameters(...)
... | mit |
nekrozar/ygopro-scripts | c44133040.lua | 1 | 4147 | --セレンの呪眼
function c44133040.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c44133040.target)
e1:SetOperation(c44133040.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c52684508.lua | 1 | 1667 | --黒炎弾
function c52684508.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c52684508.cost)
e1:SetTarget(c52684508.target)
e1:SetOperation(c52684508.activat... | gpl-2.0 |
nekrozar/ygopro-scripts | c9999961.lua | 4 | 1139 | --ビーストレイジ
function c9999961.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c9999961.target)
e1:SetOperation(c9999961.activate)
c:RegisterEffect(e1)
end
function c9999961.rfilter(c)
return... | gpl-2.0 |
ETegro/OpenSAN | remotetesting/lib/luaunit.lua | 8 | 10612 | --[[
luaunit.lua
Description: A unit testing framework
Homepage: http://phil.freehackers.org/luaunit/
Initial author: Ryu, Gwang (http://www.gpgstudy.com/gpgiki/LuaUnit)
Lot of improvements by Philippe Fremy <phil@freehackers.org>
Version: 1.3
License: X11 License, see LICENSE.txt
Changes between 1.3 and 1.2a:
- p... | gpl-3.0 |
nekrozar/ygopro-scripts | c49328340.lua | 2 | 1538 | --螺旋槍殺
function c49328340.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--pierce
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_PIERCE)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION... | gpl-2.0 |
nekrozar/ygopro-scripts | c20563387.lua | 1 | 3472 | --CNo.80 葬装覇王レクイエム・イン・バーサーク
function c20563387.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,5,3)
c:EnableReviveLimit()
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(20563387,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY... | gpl-2.0 |
nekrozar/ygopro-scripts | c80513550.lua | 4 | 2992 | --バッド・エンド・クイーン・ドラゴン
function c80513550.initial_effect(c)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c80513550.hspcon)
c:RegisterEffect(e1)... | gpl-2.0 |
ETegro/OpenSAN | feeds/luci/libs/sgi-wsapi/luasrc/sgi/wsapi.lua | 12 | 1844 | --[[
LuCI - SGI-Module for WSAPI
Description:
Server Gateway Interface for WSAPI
FileId:
$Id: wsapi.lua 2656 2008-07-23 18:52:12Z Cyrus $
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the ... | gpl-3.0 |
dalste/starting-typescript-and-cocos2dx | HelloCocos2dx/frameworks/cocos2d-x/plugin/luabindings/auto/api/lua_cocos2dx_pluginx_auto_api.lua | 146 | 1793 | --------------------------------
-- @module plugin
--------------------------------------------------------
-- the plugin PluginProtocol
-- @field [parent=#plugin] PluginProtocol#PluginProtocol PluginProtocol preloaded module
--------------------------------------------------------
-- the plugin PluginManager
-- @fi... | gpl-3.0 |
Alkorin/nodemcu-firmware | lua_examples/ucglib/GT_text.lua | 30 | 1039 | local M, module = {}, ...
_G[module] = M
function M.run()
-- make this a volatile module:
package.loaded[module] = nil
print("Running component text...")
local x, y, w, h, i
local m
disp:setColor(0, 80, 40, 0)
disp:setColor(1, 60, 0, 40)
disp:setColor(2, 20, 0, 20)
disp:setColo... | mit |
nekrozar/ygopro-scripts | c49296203.lua | 3 | 2762 | --カラクリ法師 九七六参
function c49296203.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49296203,0))
e1:SetCategory(CATEGORY_POSITION+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_HAND)
e1:SetCoun... | gpl-2.0 |
FailcoderAddons/SVUI | SVUI_UnitFrames/libs/Plugins/oUF_ActionPanel/oUF_ActionPanel.lua | 1 | 3918 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local assert = _G.assert;
local type = _G.type;
--BLIZZARD API
local UnitIsConnected = _G.UnitIsConnected;
local UnitIsTappedByPlayer = _G.UnitIsTappedByPlayer;
local UnitIsTapped = _G.Uni... | mit |
nekrozar/ygopro-scripts | c91650245.lua | 1 | 2667 | --森羅の恵み
function c91650245.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c91650245.target)
e1:SetOperation(c91650245.activate)
c:RegisterEffect(e1)
end
function c9165... | gpl-2.0 |
nekrozar/ygopro-scripts | c90960358.lua | 1 | 3567 | --トゥーン・ブラック・マジシャン・ガール
function c90960358.initial_effect(c)
aux.AddCodeList(c,46986414)
c:EnableReviveLimit()
--special summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_HAND)
e2:SetCondition(c9096035... | gpl-2.0 |
FailcoderAddons/SVUI | SVUI_UnitFrames/libs/Plugins/oUF_HyperCombo/oUF_HyperCombo.lua | 1 | 4072 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local class = select(2, UnitClass("player"));
if(class ~= "ROGUE") then return end;
local assert = _G.assert;
local error = _G.error;
local print = _G.print;
local pairs = _G.pairs;... | mit |
nekrozar/ygopro-scripts | c53054833.lua | 9 | 1252 | --SRダブルヨーヨー
function c53054833.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(53054833,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:S... | gpl-2.0 |
adamdburton/stratum | tests/traits.lua | 1 | 1271 | require('stratum/stratum')
trait 'SoftDeletingTrait' is {
where = function(self, field, value)
return self:original():where('deletedAt', 0):where(field, value) -- Calls the original where function and returns the parent object
end,
delete = function(self)
-- Don't delete from the database, and instead set a... | mit |
nekrozar/ygopro-scripts | c36354007.lua | 4 | 1580 | --ギルフォード・ザ・ライトニング
function c36354007.initial_effect(c)
--summon with 3 tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36354007,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c36354007.ttco... | gpl-2.0 |
ETegro/OpenSAN | feeds/luci/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua | 1 | 3209 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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... | gpl-3.0 |
nekrozar/ygopro-scripts | c34116027.lua | 6 | 1396 | --ドラグニティナイト-ガジャルグ
function c34116027.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),aux.NonTuner(Card.IsRace,RACE_WINDBEAST),1)
c:EnableReviveLimit()
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(34116027,0))
e1:SetCategory(C... | gpl-2.0 |
MrClash/sswlf | plugins/eng.lua | 1 | 17297 |
local LANG = 'en'
local function run(msg, matches)
if permissions(msg.from.id, msg.to.id, "lang_install") then
-------------------------
-- Translation version --
-------------------------
set_text(LANG, 'version', '0.2')
set_text(LANG, 'versionExtended', 'Translation version 0.2')
-------------
-- ... | gpl-2.0 |
hakelimopu/CoronaSDKDev | love2d/sandbox/Game/State/MainMenu.lua | 1 | 1605 | local MainMenuState = {}
local EventHandler = require("Handler.Event")
local MenuState = require("Game.State.Menu")
local Menu = require("Menu.Base")
local MenuItem = require("Menu.Item")
local MenuRenderer = require("Renderer.Menu")
local Map = require("Map.Base")
local MapRenderer = require("Renderer.Map")
local ... | gpl-2.0 |
nekrozar/ygopro-scripts | c89208725.lua | 1 | 1854 | --メタバース
function c89208725.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c89208725.target)
e1:SetOperation(c89208725.activate)
c:RegisterEffect(e1)
end
function c89208725.filter(c,tp)
retur... | gpl-2.0 |
jungikim/OpenNMT | onmt/modules/SentenceNLLCriterion.lua | 4 | 21578 | --[[
Define SentenceNLLCriterion.
Implements Sentence-level log-likelihood as described in
Collobert et al., Natural Language Processing (almost) from Scratch, JMLR 12(2011).
This class tries to be both nn.Criterion and nn.Module at the same time.
(Criterion with learnable parameters that are required for ru... | mit |
nekrozar/ygopro-scripts | c575512.lua | 2 | 3101 | --PSYフレーム・サーキット
function c575512.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--synchro summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(575512,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2... | gpl-2.0 |
nekrozar/ygopro-scripts | c68597372.lua | 4 | 2412 | --発条機甲ゼンマイスター
function c68597372.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--atk
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(c68597372.... | gpl-2.0 |
nekrozar/ygopro-scripts | c53540729.lua | 4 | 1598 | --ゼンマイウォリアー
function c53540729.initial_effect(c)
--atk/lv up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(53540729,0))
e1:SetProperty(EFFECT_FLAG_NO_TURN_RESET+EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLi... | gpl-2.0 |
nekrozar/ygopro-scripts | c69954399.lua | 4 | 3529 | --疫病ウィルス ブラックダスト
function c69954399.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c69954399.target)
e1:SetOperation(c69954399.operation)
c:RegisterEff... | gpl-2.0 |
nekrozar/ygopro-scripts | c78266168.lua | 2 | 1713 | --ジャイアントマミー
function c78266168.initial_effect(c)
--turn set
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78266168,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c78266168.target)
e1:SetOperation(c78266168.operation)
c:RegisterEf... | gpl-2.0 |
nekrozar/ygopro-scripts | c1005587.lua | 1 | 1443 | --煉獄の落とし穴
function c1005587.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetTarget(c1005587.target)
e1:SetOperation(c1005587.activate)
c:RegisterEffect(e1)
end
function c1005587.filter(c,tp)
... | gpl-2.0 |
f4l0/DCS-ToggleSwitches | ToggleSwitchesMod/Mods/aircraft/Uh-1H/Input/UH-1H/joystick/default.lua | 1 | 83176 | local cockpit = folder.."../../../Cockpit/Scripts/"
dofile(cockpit.."devices.lua")
dofile(cockpit.."command_defs.lua")
return {
--modifiers = {
--['JOY_BTN6'] = 'JOY_BTN6',
--},
forceFeedback = {
trimmer = 1.0,
shake = 0.5,
swapAxes = false,
},
keyCommands = {
---------------------------------
-... | mit |
nekrozar/ygopro-scripts | c86871614.lua | 2 | 2849 | --クローン複製
function c86871614.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c86871614.condition)
e1:SetTarget(c86871614.target)
e1:SetOperation(c86871614.activate)
c:RegisterEf... | gpl-2.0 |
LuaDist2/luajson | lua/json/util.lua | 5 | 3519 | --[[
Licensed according to the included 'LICENSE' document
Author: Thomas Harning Jr <harningt@gmail.com>
]]
local type = type
local print = print
local tostring = tostring
local pairs = pairs
local getmetatable, setmetatable = getmetatable, setmetatable
local select = select
local _ENV = nil
local function foreach... | mit |
nchampsavoir/mo4lua | mo4lua/3rdparty/buffer/platform.lua | 1 | 1438 | --- Turbo.lua C Platform / OS variables.
--
-- Copyright 2014 John Abrahamsen
--
-- 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
--
... | mit |
nekrozar/ygopro-scripts | c68427465.lua | 7 | 2404 | --破邪の大剣-バオウ
function c68427465.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c68427465.cost)
e1:SetTarget(c68427465.target)
e1:SetOperation(c68427465.op... | gpl-2.0 |
disslove85/NOVA2-BOT | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
nekrozar/ygopro-scripts | c4929256.lua | 4 | 1250 | --氷帝メビウス
function c4929256.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4929256,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c492925... | gpl-2.0 |
araeisy/araeisy4 | plugins/instagram.lua | 4 | 3894 |
local access_token = "3084249803.280d5d7.999310365c8248f8948ee0f6929c2f02" -- your api key
local function instagramUser(msg, query)
local receiver = get_receiver(msg)
local url = "https://api.instagram.com/v1/users/search?q="..URL.escape(query).."&access_token="..access_token
local jstr, res = https.request(url)... | lgpl-2.1 |
jyelloz/luatermkey-ffi | termkey_h.lua | 1 | 6450 | local ffi = require('ffi')
ffi.cdef[[
typedef enum {
TERMKEY_SYM_UNKNOWN = -1,
TERMKEY_SYM_NONE = 0,
/* Special names in C0 */
TERMKEY_SYM_BACKSPACE,
TERMKEY_SYM_TAB,
TERMKEY_SYM_ENTER,
TERMKEY_SYM_ESCAPE,
/* Special names in G0 */
TERMKEY_SYM_SPACE,
TERMKEY_SYM_DEL,
/* Special keys */
TERM... | mit |
nekrozar/ygopro-scripts | c34016756.lua | 2 | 1697 | --フォース
function c34016756.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c34016756.target)
e1:SetOperation(c34016756.activate)
c:RegisterEffect(e1)... | gpl-2.0 |
SoScared/OpenRA | mods/d2k/maps/harkonnen-03a/harkonnen03a-AI.lua | 4 | 1707 | --[[
Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
ETegro/OpenSAN | feeds/luci/libs/sys/luasrc/sys/zoneinfo/tzdata.lua | 4 | 16812 | --[[
LuCI - Autogenerated Zoneinfo Module
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
]]--
module "luci.sys.zoneinfo.tzdata"
TZ = {
{ 'Africa/Abi... | gpl-3.0 |
nekrozar/ygopro-scripts | c40048324.lua | 3 | 1184 | --アーケイン・ファイロ
function c40048324.initial_effect(c)
aux.AddCodeList(c,80280737)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40048324,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVE... | gpl-2.0 |
nekrozar/ygopro-scripts | c85463083.lua | 4 | 3071 | --ゴーストリック・グール
function c85463083.initial_effect(c)
--summon limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_SUMMON)
e1:SetCondition(c85463083.sumcon)
c:RegisterEffect(e1)
--turn set
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(85463083,0))
e2:Set... | gpl-2.0 |
nekrozar/ygopro-scripts | c43641473.lua | 4 | 1591 | --移り気な仕立屋
function c43641473.initial_effect(c)
--effect
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,TIMING_EQUIP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c43641473.target)
e1:SetOperation(c43641473.... | gpl-2.0 |
ndronen/fbcunn | test/test_LocallyConnected.lua | 9 | 69139 | -- Copyright 2004-present Facebook. All Rights Reserved.
require('fb.luaunit')
require('fbtorch')
require('nn')
require('cutorch')
require('fbcunn')
require('fbnn')
require('ccn2')
local jac = nn.Jacobian
local function assertTensorEq(a, b, msg, precision)
precision = precision or 1e-5
local diff = torch.dist(... | bsd-3-clause |
nekrozar/ygopro-scripts | c61399402.lua | 3 | 3663 | --ライトドラゴン@イグニスター
function c61399402.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(61399402,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCoun... | gpl-2.0 |
finalsliver/supervillain-ui | SVUI_!Core/libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua | 59 | 2966 | --[[-----------------------------------------------------------------------------
InlineGroup Container
Simple container widget that creates a visible "box" with an optional title.
-------------------------------------------------------------------------------]]
local Type, Version = "InlineGroup", 21
local AceGUI = Li... | mit |
nekrozar/ygopro-scripts | c13972452.lua | 7 | 1315 | --マジェスペクター・ストーム
function c13972452.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c13972452.cost)
e1:SetTarget(c13972452.target)
e1:SetOperation(c139724... | gpl-2.0 |
alexisamzpro/HypeV3 | fivemenu/inventory.lua | 1 | 1441 | inv_array_legal = {
{name="Bouteille d'eau", id=1, price=5, value=20},
{name="Sandwich", id=2, price=10, value=20},
{name="Filet Mignon", id=3, price=100, value=40},
}
inv_array = {
{name="Cuivre", id=17, price=100, value=0},
{name="Fer", id=18, price=100, value=0},
{name="Diamants", id=19, pri... | gpl-3.0 |
nekrozar/ygopro-scripts | c22617205.lua | 3 | 2296 | --覚星輝士-セフィラビュート
function c22617205.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_PZONE)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+E... | gpl-2.0 |
nekrozar/ygopro-scripts | c76372778.lua | 2 | 1646 | --イビリチュア・メロウガイスト
function c76372778.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--to deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76372778,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLED)
e1:SetCondition(c76372778.... | gpl-2.0 |
FailcoderAddons/SVUI | SVUI_CraftOMatic/components/farming.lua | 4 | 25391 | --[[
##########################################################
S V U I By: S.Jackson
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select ... | mit |
nekrozar/ygopro-scripts | c86016245.lua | 9 | 1368 | --弱者の意地
function c86016245.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--draw
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(86016245,0))
e2:SetCategory(CATEGORY_DRAW)
e2:SetType(EFFECT_TYPE_FIE... | gpl-2.0 |
nekrozar/ygopro-scripts | c40703222.lua | 2 | 1791 | --増殖
function c40703222.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(c40703222.cost)
e1:SetTarget(c40703222.target)
e1:SetOperation(c40703222.activate)
c:RegisterEffect(e1)
end
funct... | gpl-2.0 |
nekrozar/ygopro-scripts | c303660.lua | 1 | 2462 | --電脳増幅器
function c303660.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetTarge... | gpl-2.0 |
finalsliver/supervillain-ui | SVUI_!Core/system/_reports/artifact.lua | 2 | 6376 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
##########################################################
LOCALIZED LUA FUNCTIONS
#################################################... | mit |
finalsliver/supervillain-ui | SVUI_Skins/components/addons/AuctionLite.lua | 2 | 2408 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.selec... | mit |
nekrozar/ygopro-scripts | c28486799.lua | 2 | 1195 | --補充部隊
function c28486799.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--draw
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DRAW)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e2:SetCode(EVENT_DA... | gpl-2.0 |
mihailim/koreader | plugins/coverbrowser.koplugin/main.lua | 1 | 40268 | local InputContainer = require("ui/widget/container/inputcontainer")
local UIManager = require("ui/uimanager")
local logger = require("logger")
local _ = require("gettext")
local BookInfoManager = require("bookinfomanager")
local Screen = require("device").screen
local T = require("ffi/util").template
--[[
This pl... | agpl-3.0 |
nekrozar/ygopro-scripts | c21200905.lua | 4 | 3141 | --アロマセラフィ-ジャスミン
function c21200905.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkRace,RACE_PLANT),2,2)
--indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetRange(LOCATION_MZONE)
e1:S... | gpl-2.0 |
nekrozar/ygopro-scripts | c57831349.lua | 2 | 1554 | --竜星の九支
function c57831349.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_TODECK+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c57831349.condition)
e1:SetTarget(c57831349.target)
e1:SetOperation(c57831349.activ... | gpl-2.0 |
zhoujijian/skynet-websocket | test/testsocket.lua | 20 | 1085 | local skynet = require "skynet"
local socket = require "skynet.socket"
local mode , id = ...
local function echo(id)
socket.start(id)
while true do
local str = socket.read(id)
if str then
socket.write(id, str)
else
socket.close(id)
return
end
end
end
if mode == "agent" then
id = tonumber(id)
... | mit |
nekrozar/ygopro-scripts | c60399954.lua | 3 | 2388 | --ユニオン・アタック
function c60399954.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c60399954.condition)
e1:SetTarget(c60399954.target)
e1:SetOperation(c60399954.operation)
c:RegisterEffec... | gpl-2.0 |
nekrozar/ygopro-scripts | c86516889.lua | 4 | 1434 | --ゴーストリック・パニック
function c86516889.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetTarget(c86516889... | gpl-2.0 |
nekrozar/ygopro-scripts | c67630339.lua | 2 | 2181 | --コンフュージョン・チャフ
function c67630339.initial_effect(c)
--damage cal
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c67630339.condition)
e1:SetOperation(c67630339.operation)
c:RegisterEffect(e1)
if not c67630339.global_check then
c67630339.global... | gpl-2.0 |
andreaskoepf/nn | SpatialConvolution.lua | 1 | 5392 | local SpatialConvolution, parent = torch.class('nn.SpatialConvolution', 'nn.Module')
function SpatialConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPlane
self.kW = kW
... | bsd-3-clause |
goto-bus-stop/gamesys-moonshine | test/scripts/coercion.lua | 1 | 8155 | --------------------------------------------------------------------------
-- Moonshine - a Lua virtual machine.
--
-- Copyright (C) 2013 Gamesys Limited,
-- 10 Piccadilly, London W1J 0DD
-- Email: moonshine@gamesys.co.uk
-- http://moonshinejs.org
--
-- This program is free software: you can redistribute it and/or modi... | gpl-3.0 |
nekrozar/ygopro-scripts | c10045474.lua | 1 | 3257 | --無限泡影
function c10045474.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1:SetTarget(c10045474.target)
e1:SetOperation(... | gpl-2.0 |
dtaht/cerowrt-luci-3.3 | applications/luci-ahcp/luasrc/controller/ahcp.lua | 13 | 1547 | --[[
LuCI - Lua Configuration Interface
Copyright 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
http://www.apache.org/licenses/LICENSE-2.0
$Id: init.lua... | apache-2.0 |
nekrozar/ygopro-scripts | c1149109.lua | 4 | 1561 | --デッキロック
function c1149109.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c1149109.target)
c:RegisterEffect(e1)
--disable search
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_TO_HA... | gpl-2.0 |
nekrozar/ygopro-scripts | c37630732.lua | 4 | 3133 | --パワー・ボンド
function c37630732.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c37630732.target)
e1:SetOperation(c37630732.activate)
c:RegisterEffect(e1)
end
funct... | gpl-2.0 |
VIPTEA/vipteam2 | plugin/plugins.lua | 20 | 7107 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ plugins : تفعيل الملفات ▀▄ ▄▀
▀▄▀▀▄... | agpl-3.0 |
nekrozar/ygopro-scripts | c21893603.lua | 4 | 2236 | --星杯の妖精リース
function c21893603.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21893603,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCount... | gpl-2.0 |
jsitnicki/rushit | vendor/github.com/justincormack/ljsyscall/syscall/openbsd/ioctl.lua | 24 | 3734 | -- ioctls, filling in as needed
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local function init(types)
l... | apache-2.0 |
nekrozar/ygopro-scripts | c64280356.lua | 1 | 2823 | --Kozmo-フェルブラン
function c64280356.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(64280356,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:Set... | gpl-2.0 |
nekrozar/ygopro-scripts | c43385557.lua | 9 | 1213 | --マジカル・アンドロイド
function c43385557.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--recover
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(43385557,0))
e1:SetCategory(CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_FIELD)
... | gpl-2.0 |
omidtarh/ebls | plugins/qr.lua | 637 | 1730 | --[[
* 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 |
dtaht/cerowrt-luci-3.3 | applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua | 11 | 1310 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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 |
nekrozar/ygopro-scripts | c5990062.lua | 1 | 1090 | --大逆転クイズ
function c5990062.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c5990062.cost)
e1:SetOperation(c5990062.activate)
c:RegisterEffect(e1)
end
function c5990062.cfilter(c)
return not c:IsAbleToGraveAsCost()
end
function... | gpl-2.0 |
nekrozar/ygopro-scripts | c89127526.lua | 1 | 1612 | --バリア・リゾネーター
function c89127526.initial_effect(c)
--
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(89127526,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c89127526.cost)
e1:SetTarget(c89127526.targ... | gpl-2.0 |
VIPTEA/vipteam2 | plugin/m.lua | 2 | 2949 | do
local function saeco(msg,matches)
if matches[1] == "وضع عمري" then
local age = "mate"..msg.from.id
redis:set(age, matches[2])
local getmsg = "🙂❤️ مرحبا "..msg.from.first_name.."\n".."تم حفض العمر الخاص بك ✔️😸"
return reply_msg(msg.id, getmsg, ok_cb, true)
end
if matches[1] == "حذف عمري" then
local age = 'mate'..m... | agpl-3.0 |
dtaht/cerowrt-luci-3.3 | modules/admin-full/luasrc/model/cbi/admin_network/wireless.lua | 9 | 4101 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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 |
nekrozar/ygopro-scripts | c80368942.lua | 9 | 1726 | --コクーン・パーティ
function c80368942.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:SetTarget(c80368942.target)
e1:SetOperation(c80368942.activate)
c:RegisterEffect(e1)
end
function c80368942.gfilter... | gpl-2.0 |
nekrozar/ygopro-scripts | c68881649.lua | 1 | 1589 | --憑依装着-エリア
function c68881649.initial_effect(c)
--spsummon proc
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND+LOCATION_DECK)
e1:SetCondition(c68881649.spcon)
e1:SetOperation(c68881649.spop)
e1:SetV... | gpl-2.0 |
nekrozar/ygopro-scripts | c91819979.lua | 3 | 2270 | --マジックブラスト
function c91819979.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c91819979.damtg)
e1:SetOperation(c91819979.damop)
c:RegisterEffect(e1)
--salvage
local e2=Effect.CreateEffect(c)
e2:SetDesc... | gpl-2.0 |
Maxsteam/FF | plugins/Anti_spam.lua | 2 | 3882 | -An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == ... | gpl-2.0 |
mohammad43/NOSPAM | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.