A stand alone ShowReg script - Page 2
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

A stand alone ShowReg script

Started by AMediaMan, 20 December, 2003, 22:04:26

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

AMediaMan

Wow the forum is rocking today lol, Thnx to everyone for all the help you guys are truely amazing.

                                    AMediaMan

       MERRY CHRISTMAS EVERYONE !!!!!

wulfy21uk

any chance of u could add a random number gen or something to prevent auto registration?

plop

QuoteOriginally posted by wulfy21uk
any chance of u could add a random number gen or something to prevent auto registration?
you want a !regme command in this script witch generates a random password.?
posible but not now.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

AMediaMan

hey Plop or NightLitch that script works great but..... haha theres always a but right lol.

Well ive changed my profile for my hub so now they dont all show up :( . I was wondering if either of you nice fellows could make it work for me again like i said the script is perfect i just need a couple of profiles added, I will post my profiles.dat here for you thnx for the help in the past and hopefully more to come >:o).

heres my new profile.dat

0|Owner|11111111111111111111111000000001
1|Master|11111111111111111111110000000001
2|Admin|11111111111111111111000000000000
3|Moderator|11111110011111111111000000000000
4|Operator|10111110011111111111000000000000
5|VIP|10000000000001111000000000000000
6|Reg|10000000000000000000000000000000


         Thnx, AMediaMan

plop

QuoteOriginally posted by AMediaMan
hey Plop or NightLitch that script works great but..... haha theres always a but right lol.

Well ive changed my profile for my hub so now they dont all show up :( . I was wondering if either of you nice fellows could make it work for me again like i said the script is perfect i just need a couple of profiles added, I will post my profiles.dat here for you thnx for the help in the past and hopefully more to come >:o).

heres my new profile.dat

0|Owner|11111111111111111111111000000001
1|Master|11111111111111111111110000000001
2|Admin|11111111111111111111000000000000
3|Moderator|11111110011111111111000000000000
4|Operator|10111110011111111111000000000000
5|VIP|10000000000001111000000000000000
6|Reg|10000000000000000000000000000000


         Thnx, AMediaMan
try adding your extra profiles 2 the next parts.
NAMES = {
["reg"] = "\r\n ?*? Registered Users ?*? ",
["vip"] = "\r\n ?*? Vips ?*?",
["operator"] = "\r\n ?*? Operators ?*?",
["moderator"] = "\r\n ?*? Moderators ?*?",
["master"] = "\r\n ?*? Masters ?*?"
} 

function ShowRegistered()
ViewRegs("REG")
ViewRegs("VIP")
ViewRegs("OPERATOR")
ViewRegs("MODERATOR")
ViewRegs("MASTER")
Msg = Msg.."\r\n\tEnd of List"
end
then they should fully work and show up.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

AMediaMan

haha you know what i tried that twice even i must have missed something works great now thnx alot, one last thing though..... how to make it return in a pm to the user ?

thnx again for all the help, AMediaMan

plop

QuoteOriginally posted by AMediaMan
haha you know what i tried that twice even i must have missed something works great now thnx alot, one last thing though..... how to make it return in a pm to the user ?

thnx again for all the help, AMediaMan
change:
 curUser:SendData(BotName, Msg)
for
 curUser:SendPM(BotName, Msg)

thats it.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

AMediaMan

Ok Plop you are teaching me alot here and i thank you much, but lol theres that word again haha, how about a pm in a different window dont i have to reg the bot or something, I have time to learn one more thing if you have time to teach >:o).

Thnx much for the last 2 lessons.


      AMediaMan

plop

QuoteOriginally posted by AMediaMan
Ok Plop you are teaching me alot here and i thank you much, but lol theres that word again haha, how about a pm in a different window dont i have to reg the bot or something, I have time to learn one more thing if you have time to teach >:o).

Thnx much for the last 2 lessons.


      AMediaMan
yw.
2 things you can do.

1) make this script show up in the users list by adding
function Main()
   frmHub:RegBot(BotName)
end
2) use a name from 1 of your other scripts, as long as the name is shown in the userslist the pm window will open.
this is a client issue not a hub.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

AMediaMan

Perfect Plop now if only i can remember this i might get somewhere hahaha, thnx for all the great help.

                AMediaMan

plop

QuoteOriginally posted by AMediaMan
Perfect Plop now if only i can remember this i might get somewhere hahaha, thnx for all the great help.

                AMediaMan
yw.
but i hope you don't get into trouble. lol

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk