determinate determinate

Author Topic: BirthDayMan  (Read 6326 times)

0 Members and 2 Guests are viewing this topic.

Offline baba.runner

  • Forum Ace
  • *****
  • Posts: 94
  • Karma: +16/-2
Re: BirthDayMan
« Reply #35 on: January 04, 2007, 09:25:58 pm »
Hi jiten

Thx for this amazing script.

I just have one question or one little reuqest.
When I enter a b-day for tommorrow is it normal that in the topic it also apears the day after, as there is now B-day specified for that day.

here my settings:
Code: [Select]
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"

and where do I have to put this cake.txt?

Thanks in advance for your assistance.

Offline Yahoo

  • Triple Ace
  • **
  • Posts: 225
  • Karma: +32/-14
  • People Say "I Dont Know English"
    • Yahoo
Re: BirthDayMan
« Reply #36 on: March 19, 2007, 03:44:00 pm »
can some make a small change in Birthday Man v.4.07
can some create a command which will show the birthday(s) of all the users sharing or having on that day for eg
+birthdays
<bot> Today's Birthdays:yahoo,mutor
"BoRN FIGhTEr"

Offline Yahoo

  • Triple Ace
  • **
  • Posts: 225
  • Karma: +32/-14
  • People Say "I Dont Know English"
    • Yahoo
Re: BirthDayMan
« Reply #37 on: November 27, 2007, 01:10:08 pm »
the above mentioned request is not possible???
"BoRN FIGhTEr"

Offline Yahoo

  • Triple Ace
  • **
  • Posts: 225
  • Karma: +32/-14
  • People Say "I Dont Know English"
    • Yahoo
Re: BirthDayMan
« Reply #38 on: November 28, 2007, 09:21:16 am »
i had requested this long back (19-03-2007, 15:44:00) but the author did not responded
Cant any other scripter edit the script for me please
"BoRN FIGhTEr"

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 585
  • Karma: +71/-5
Re: BirthDayMan
« Reply #39 on: November 28, 2007, 06:02:20 pm »
i had requested this long back (19-03-2007, 15:44:00) but the author did not responded
Cant any other scripter edit the script for me please

I didn't reply because I wasn't around at the time.

As stated by Mutor, your request can be done. I'll update the script soon.

Offline Yahoo

  • Triple Ace
  • **
  • Posts: 225
  • Karma: +32/-14
  • People Say "I Dont Know English"
    • Yahoo
Re: BirthDayMan
« Reply #40 on: November 29, 2007, 09:05:24 am »
thanks sir

i will be w8ing for the updated version
"BoRN FIGhTEr"

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 585
  • Karma: +71/-5
Birthday Man v.4.08 - LUA 5.0/5.1
« Reply #41 on: November 29, 2007, 03:44:33 pm »
First post has been updated:

Code: [Select]
CHANGELOG:
¯¯¯¯¯¯¯¯¯¯
Added: %ptodaybirthdays - requested by Yahoo (11/28/2007)

Offline Yahoo

  • Triple Ace
  • **
  • Posts: 225
  • Karma: +32/-14
  • People Say "I Dont Know English"
    • Yahoo
Re: BirthDayMan
« Reply #42 on: November 29, 2007, 06:30:22 pm »
Thanks Jiten the script is working great

but one more small request
i will like to have a small change if a user has not entered his birthday in the database he must get a private message on join like Please Enter your Birthday in Database of this hub by using the command +addbirthday dd/mm/yyyy

and he must get this message on every connect with the hub until he enter his birthday in the database
"BoRN FIGhTEr"

Offline -SkA-

  • Double Ace
  • *
  • Posts: 147
  • Karma: +24/-2
Re: BirthDayMan
« Reply #43 on: January 22, 2008, 02:02:10 pm »
Hello,

great work but now I need this script to be converted in API 2.

Already tried with hungarista's converter but it shows many errors...  :(

Thank you!  ;D
«««:::•€x†®em€-N€†•™:::»»» ØwN€®

BrianzaLand Blog" style="border:0

Offline speedX

  • Lord
  • ***
  • Posts: 436
  • Karma: +57/-19
Re: BirthDayMan
« Reply #44 on: January 22, 2008, 07:12:07 pm »
Hello,
I have converted this script to NEW API using Hungarista's converter and fixed those errors, please test it and tell me if you get any bugs. Currently this script send all messages in main only. In a few days I'll amend it and make it working in both main as well as PM.
« Last Edit: January 22, 2008, 07:21:35 pm by speedX »
Thanking You,

speedX

Offline baba.runner

  • Forum Ace
  • *****
  • Posts: 94
  • Karma: +16/-2
Re: BirthDayMan
« Reply #45 on: March 14, 2008, 08:52:53 pm »
Hello speedX hello jiten

I tried to use this converted script but it does not show any RC. currently I'm using PX 4.0.0b
Can you please review this conversion and perhaps post a corrected version.

Thanks in advance.

KR.
baba.runner

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 585
  • Karma: +71/-5
Re: BirthDayMan
« Reply #46 on: March 15, 2008, 12:22:30 am »
Hello speedX hello jiten

I tried to use this converted script but it does not show any RC. currently I'm using PX 4.0.0b
Can you please review this conversion and perhaps post a corrected version.

Thanks in advance.

KR.
baba.runner

I will look into this issue and post a PX 0.4.0.0 compatible version soon.

Best regards

Offline jiten

  • Scripter
  • Forum Legend
  • ******
  • Posts: 1 585
  • Karma: +71/-5
Re: BirthDayMan
« Reply #47 on: March 15, 2008, 08:36:25 pm »
I tried to use this converted script but it does not show any RC. currently I'm using PX 4.0.0b
Can you please review this conversion and perhaps post a corrected version.

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.."&#124;")
end
end
end
-- Check B-Days on connect
tFunctions.BDayCheck("OnConnect", user)
end

Offline baba.runner

  • Forum Ace
  • *****
  • Posts: 94
  • Karma: +16/-2
Re: BirthDayMan
« Reply #48 on: March 16, 2008, 09:51:55 am »
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.."&#124;")
end
end
end
-- Check B-Days on connect
tFunctions.BDayCheck("OnConnect", user)
end

Hello jiten

That works fine.

Thousand thanks m8

KR
baba.runner

 

determinate determinate
guestbook