egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PISG User Configuration script (test release)

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Aug 17, 2006 7:35 pm    Post subject: PISG User Configuration script (test release) Reply with quote

I've not seen any scripts that fill this need, so here is my own.

Purpose:

This scripts allows users to set the PISG user options: nick, aliases, pic, bigpic, sex and link. I made this script because using a server-side cgi script to allow users to edit their info was not an option. I figure I'm not the only one who generates a pisg stats page on a local machine, then uploads it to a remote website. My bot runs on the same machine that I run the pisg script from, so this is an easier way for me to allow the bot's users to edit their pisg config. This script keeps track of users pisg options by means of a seperate file that must be included from the pisg.cfg (see below.) It also saves data in the bot's userfile XTRA fields to simplify some comparisons and data retrievals.

http://members.dandy.net/~fbn/pisguc.tcl.txt


I've tested it quite a bit, but of course I can't think of every contingency a user may throw at it, so please test and report errors Smile
Back to top
View user's profile Send private message
__henke
Voice


Joined: 10 Nov 2006
Posts: 8

PostPosted: Sat Nov 18, 2006 3:37 pm    Post subject: Reply with quote

Hello!

I've installed it, and typed /msg botname .pisg help but it answers I don't know you good enough... Or, kind of.

Could you write a little step by step =)
_________________
//henke
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Nov 18, 2006 4:12 pm    Post subject: Reply with quote

# User flags to use this script and set pisg user options
set pisgperms "f|f"
Back to top
View user's profile Send private message
__henke
Voice


Joined: 10 Nov 2006
Posts: 8

PostPosted: Sat Nov 18, 2006 5:00 pm    Post subject: Reply with quote

Yup, thats what it says in my .tcl file.

What flags is it? Is there any other script I need for this script to work? Or any modules in eggdrop? Or is it completley stand-alone?

Bottomline, I do not know what the flag means, f=? n=owner?

Is it kind of Q-flags?
_________________
//henke
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Nov 18, 2006 6:08 pm    Post subject: Reply with quote

__henke wrote:
Yup, thats what it says in my .tcl file.

What flags is it? Is there any other script I need for this script to work? Or any modules in eggdrop? Or is it completley stand-alone?

Bottomline, I do not know what the flag means, f=? n=owner?

Is it kind of Q-flags?

1) Install pisg (perl stats generator).
2) "f" means friend: .help whois
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Nov 18, 2006 6:29 pm    Post subject: Reply with quote

__henke wrote:
What flags is it?

http://www.egghelp.org/commands/core.htm#whois
http://www.egghelp.org/commands/core.htm#chattr
Back to top
View user's profile Send private message
__henke
Voice


Joined: 10 Nov 2006
Posts: 8

PostPosted: Sat Nov 18, 2006 8:43 pm    Post subject: Reply with quote

OK...

Well, um, I'm a bit... well, I feel dumb and silly.

I know nothing about Eggdrop, so in that matter, treat me as a complete newbie. I only use it with pisg and mel.

http://henkee.se/pisg

And I really appreciate your patience.

And, another thing, when the bot kept rejecting me, I got angry and I spammed, so now, he ignores me. Sad Typical.

I'll try to make him unignore me Very Happy
_________________
//henke
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Nov 18, 2006 9:27 pm    Post subject: Reply with quote

You do realise nothing on that link works?

Also, if the bot had your hostmask etc set-up properly in the user file you would not have been ignored?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
__henke
Voice


Joined: 10 Nov 2006
Posts: 8

PostPosted: Sun Nov 19, 2006 8:33 am    Post subject: Reply with quote

http://henkee.se/pisg/fmsweden.html

It's just my pisg.

Well, my hostmask is just my IP on this ISP, and its dynamic, so I just have to change that and it wont ignore anymore...? Well, I'll just try it =)

Just, one thing. Where should I type .help whois? The partyline or in query? Doesn't work anywhere...
_________________
//henke
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Nov 19, 2006 2:30 pm    Post subject: Reply with quote

You could set your hostmask to be like: nick!username@*.isp.com or whatever.. And yes you type the .help commands in the partyline.
It's the same info that is available from the links I posted above.
Back to top
View user's profile Send private message
Domin
Halfop


Joined: 10 Jun 2006
Posts: 72

PostPosted: Fri Nov 24, 2006 5:42 am    Post subject: Reply with quote

Is there any way to making this script work in a way that wouldt allow me to specify a few admins to enter details for other users, since i want to use it to make my task of keeping data in the stats current a lot easier easier.

I wouldt then specify a custom flag like P on the users allowed to edit other members details, so i dont have to edit all members my self Smile
_________________
Regards
Domin @ efnet
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Nov 24, 2006 7:01 am    Post subject: Reply with quote

Do you ever actually read the documentation that comes with things? You need to, because this is getting annoying.

# Permissions for admin options (show allcfg, show allxtra, show nick, remove nick, add nick data..)
set pisgopperms "n|n"
Back to top
View user's profile Send private message
Domin
Halfop


Joined: 10 Jun 2006
Posts: 72

PostPosted: Fri Nov 24, 2006 8:39 am    Post subject: Reply with quote

I dont quit think you understand what i ment, i will try to make it a bit more clear.

I want to be able to add info for other users but if i do that now the script adds them as my user info

like this

[13:31:57] <Domin> .pisg add nick="Sierra" alias="Sierra^" sex="m"
[13:34:02] <Domin> .pisg show Sierra
[13:34:04] <MMradio17> PISG show Sierra: No such user.
[13:34:10] <Domin> .pisg show Domin
[13:34:13] <MMradio17> PISG show Domin: <user nick="Sierra" alias="Sierra^" sex="m" >

I hope this can make it a bit more clear what i ment Smile
_________________
Regards
Domin @ efnet
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Nov 24, 2006 11:28 am    Post subject: Reply with quote

In that case, typing .pisg help would have given you the answer:

-Admin Commands:
.pisg show allxtra - Show all users pisgxtra data in bot's userfile.
.pisg show allcfg - Show all pisg user.cfg file data.
.pisg show <handle> - Show pisg options for <handle>
.pisg add <handle> <options> - Add <options> for user <handle>
.pisg remove <handle> - Remove XTRA and user.cfg data for <handle>
[end pisg help]


<handle> is the user's name as known in the bot. <options> are the same type and format as the options for .pisg add (also available in '.pisg help')
Back to top
View user's profile Send private message
Domin
Halfop


Joined: 10 Jun 2006
Posts: 72

PostPosted: Fri Nov 24, 2006 12:55 pm    Post subject: Reply with quote

I read the help section, just dident understand it that way

What your saying is that the user im adding (the handel) needs to be a user in the bot ??

Im managing a channel with lots of regulare users that are not i the bot, and the shouldt not be, i just assumed that i couldt add them this way, but i guess not.

I just thought the script looked through the users.cfg for any existing matches, then eighter added info replaced or createde new info, that wouldt then get included in the next stats update

I guess i just did not understand the functionality of the script right then.
_________________
Regards
Domin @ efnet
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber