|
|
@ -303,8 +303,8 @@ function custom_theme(name, field, color)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if theme_check == 1 then
|
|
|
|
if theme_check == 1 then
|
|
|
|
for _,v in pairs(tracker_db.themes[theme_num]) do
|
|
|
|
for i,_ in pairs(tracker_db.themes[theme_num]) do
|
|
|
|
if string.lower(v) == string.lower(field) then
|
|
|
|
if string.lower(i) == string.lower(field) then
|
|
|
|
field_check = 1
|
|
|
|
field_check = 1
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
@ -317,6 +317,7 @@ function custom_theme(name, field, color)
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ColourNote(tracker_db.themes[tracker_db.set_theme].text, "", "Theme ", tracker_db.themes[tracker_db.set_theme].special, "", name, tracker_db.themes[tracker_db.set_theme].text, "", " not found. Did you ", tracker_db.themes[tracker_db.set_theme].special, "", "addtheme", tracker_db.themes[tracker_db.set_theme].text, "", " it yet?")
|
|
|
|
ColourNote(tracker_db.themes[tracker_db.set_theme].text, "", "Theme ", tracker_db.themes[tracker_db.set_theme].special, "", name, tracker_db.themes[tracker_db.set_theme].text, "", " not found. Did you ", tracker_db.themes[tracker_db.set_theme].special, "", "addtheme", tracker_db.themes[tracker_db.set_theme].text, "", " it yet?")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
SetVariable("atracker", serialize.save("tracker_db"))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function OnPluginBroadcast (msg, id, name, text)
|
|
|
|
function OnPluginBroadcast (msg, id, name, text)
|
|
|
|