Op command.
This commit is contained in:
parent
91d9b29d29
commit
f3c58f69f1
1 changed files with 5 additions and 0 deletions
|
@ -48,3 +48,8 @@ plugin.AddHook('bot.UnknownCommand', 'DescribeTerm', function(Username, Channel,
|
|||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
plugin.AddCommand('op', 1, function(Username, Channel, Target)
|
||||
irc:_Send(string.format("MODE %s +o %s", Channel, Target))
|
||||
end, "Give operator status to someone on the channel.", 40)
|
||||
|
|
Loading…
Reference in a new issue