= Fixed conditional
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
local time = os.time();
|
||||
|
||||
function plugin(message)
|
||||
if(message.match("purple"))then
|
||||
if(string.match(message, "purple"))then
|
||||
local response = os.time() - time;
|
||||
time = os.time();
|
||||
return response;
|
||||
end
|
||||
|
||||
return nil;
|
||||
end
|
||||
Reference in New Issue
Block a user