READ THE RULES
0 Members and 2 Guests are viewing this topic.
Settings = { -- Bot's Name sBot = "»•€xcalibur•Burzeltag•«", -- Script version iVer = "4.07", -- Register in userlist bReg = false, -- Send File Content (true = on, false = off) bSendText = true, -- Birthday Text File fText = "cake.txt", -- Update hub topic (true = on, false = off) bUpdateTopic = true, -- Use Celebrity's command (true = on, false = off) bCelebrity = true, -- Minimum allowed year iMin = 1900, -- Time to check for B-Dayers (in hours) iTime = 12, -- B-Day Man DB fBirth = "tBirthday.tbl", -- Celebrity's DB fCelebrity = "tCelebrity.tbl"
i had requested this long back (19-03-2007, 15:44:00) but the author did not respondedCant any other scripter edit the script for me please
CHANGELOG:¯¯¯¯¯¯¯¯¯¯Added: %ptodaybirthdays - requested by Yahoo (11/28/2007)
Hello speedX hello jitenI tried to use this converted script but it does not show any RC. currently I'm using PX 4.0.0bCan you please review this conversion and perhaps post a corrected version.Thanks in advance.KR.baba.runner
I tried to use this converted script but it does not show any RC. currently I'm using PX 4.0.0bCan you please review this conversion and perhaps post a corrected version.
UserConnected = function(user) -- Supports UserCommands if Core.GetUserValue(user, 12) then for i, v in pairs(tCommands) do if v.tLevels[user.iProfile] then local sRC = string.gsub(v.tRC, "{}", i) Core.SendToNick(user.sNick,"$UserCommand 1 3 B-Day Bot\\"..sRC.."|") end end end -- Check B-Days on connect tFunctions.BDayCheck("OnConnect", user)end
Try replacing your existing UserConnected function with this one:Code: [Select]UserConnected = function(user) -- Supports UserCommands if Core.GetUserValue(user, 12) then for i, v in pairs(tCommands) do if v.tLevels[user.iProfile] then local sRC = string.gsub(v.tRC, "{}", i) Core.SendToNick(user.sNick,"$UserCommand 1 3 B-Day Bot\\"..sRC.."|") end end end -- Check B-Days on connect tFunctions.BDayCheck("OnConnect", user)end