PtokaX forum

Archive => Archived 5.1 boards => Request for scripts => Topic started by: swee on 04 October, 2007, 12:12:37

Title: Register offline user
Post by: swee on 04 October, 2007, 12:12:37
Hello ppl
I am looking for an script which makes it possible.
For ppl to register offline ppl.
It would be nice if it was right hand click.

I would like it to work so that op could add vip as it highest and vip as reg as it highest.
and that reg couldnt add anyone.And masters could add whtever they would like.

(I know there are several allinone scripts where this feature is inbult.
But there are so many  things in them then that I dont need.)

I am using these scripts now and would like them to work with the script.

NoPubHub 1.0d LUA 5.0/5.1   By Mutor        07/18/06
Bot.version="FreshStuff3 4.4.1 by bastya_elvtars

And they are working like an charm. ;D ;D

These scripts work with Ptokax0360 but will they work with ptokax new version ?  ??? ???
   
Title: Re: Register offline user
Post by: Psycho_Chihuahua on 04 October, 2007, 21:45:19
The Searchfunction is not an enemy ;) Otherwise you would of found a couple of possibilitys.

Like this one here --> PxCommands (http://board.ptokax.ath.cx/index.php?topic=7263.0)
Title: Re: Register offline user
Post by: swee on 04 October, 2007, 22:32:42
True that the search funktion is not an enemy  :)
And I have tried that one before but it was not completely what I was looking for but close.
I would like an vip 2 be able 2 register a reg person but not any higher.
In this script maybe I didnt find where to change in it so it would be possible for an vip to do so.
Need to look in to this some moore.
But the main idea was that an
Op couldnt register higher then a vip.
Vip couldnt register higher then a reg
Reg couldnt register anyone
And Master have full control
Done some searching and plenty off testing Found them in Robocop and in Leviathan as I would like it.
But I dont need (and want the full package) as they come in
It is a nice script   
Regards /swee                             
Title: Re: Register offline user
Post by: HillyBilly on 05 October, 2007, 18:42:44
Goto Ptokax Profile manager select VIP and tick Add registered user.

Hope this is what u want.

If u use PxCommands script from Mutor add this to the local default table to add it to the right click.

[6] = {
[0] = {[-1]=0,[0]=0,[1]=0,[2]=1,[3]=0,[4]=0,[5]=0,[6]=0},
[1] = {"addreguser", " %[line: Nick To Register] %[line:Password For Nick] %[line:Profile (Reg/VIP/Operator/Master)]", "Register A Offline User", "Registration",3},
},
[7] = {
[0] = {[-1]=0,[0]=0,[1]=0,[2]=1,[3]=0,[4]=0,[5]=0,[6]=0},
[1] = {"addreguser", " %[nick] %[line:Password For Nick] %[line:Profile (Reg/VIP/Operator/Master)]", "Register Selected User", "Registration",2},
},


Cheers HB
Title: Re: Register offline user
Post by: swee on 06 October, 2007, 09:37:38
Thank U HillyBilly.
Mutor?s script would work if I could register an offline user.
Added your lines to it but it doesnt say anything about registering a offline user :(
all I get is "register a user" and when I do that ptokax wants the password and the profile so no nick.
wich means they have to be in the hubb already.
And I would like 2 register someone who is offline.
thanx for trying helping me out  :D
regards swee
Title: Re: Register offline user
Post by: HillyBilly on 06 October, 2007, 13:37:21
Did u add both lines cause the 1st one [6] is to Reg an offline user.

If u log in as a VIP u have in Right click registration 2 options ,
1st Register A Offline User
2nd Register Selected User
Title: Re: Register offline user
Post by: swee on 06 October, 2007, 17:20:11
 :-[ Sry Hilly Billy Logged in as operator missed that I had to change in
Quote[6] = {
      
  • = {[-1]=0,[0]=0,[1]=0,[2]=1,[3]=0,[4]=0,[5]=0,[6]=0},
          [1] = {"addreguser", " %[line: Nick To Register] %[line:Password For Nick] %[line:Profile (Reg/VIP/Operator/Master)]", "Register A Offline User", "Registration",3},
          },
Now when done that all is working nicely.
Thank U very much  :D :D
Title: Re: Register offline user
Post by: HillyBilly on 07 October, 2007, 09:20:58
 :) yw