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 

ptools v2.1 - Channel service script

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


Joined: 13 May 2009
Posts: 15
Location: The Netherlands

PostPosted: Thu May 28, 2009 4:47 pm    Post subject: ptools v2.1 - Channel service script Reply with quote

After searching for a long time for that elusive script that perfectly fitted my needs, i decided to make my own script.

http://4pdj.nl/?page_id=103

Bit of the header:
Code:
###############################################
#
# ptools.tcl - Public command script
#
# (c) 2009 - Peter "pDj" de Jong @ Qnet
#
# Revision History
# ---------------------------------------------
# 1.0  27-may-2009 pDj    Initial creation
# 1.1  29-may-2009 pDj    Colorized userlist
#                         Fixed sorting help
#                         Added pub !resethost
# 1.2   5-jun-2009 pDj    Added pub !whoami
#                         Moved notices to array
#                         Added some logging
# 1.3   6-jun-2009 pDj    Modified deluser
#                         Modified adduser
#                         Added pub !resetrights
# 2.0   6-jun-2009 pDj    Code restructure
# 2.1   6-jun-2009 pDj    Renamed some public functions
#                         Colorized notices
#
# Public commands:
# !help - Shows this help
# !useradd <nickname on channel> <master/operator> <username on bot>
#               - Adds a user to the bot with master/operator
#                 rights for the given nick
# !userremove <username on bot> - Removes a user from the bot
# !kick <nick> - Kicks the person
# !ban <nick> - Bans the person
# !banlist - Shows all the bans on the bot
# !unban <banned hostmask> - Unbans a person based on the given hostmask
# !op <nick> - Gives operator rights to the person
# !deop <nick> - Removes the persons operator rights
# !voice <nick> - Gives the person voice
# !devoice <nick> - Removes the persons voice
# !userrename <current name> <new name> - Changes the name of a bot user
# !usersuspend <username on bot> - Suspends a user on the bot
# !userunsuspend <username on bot> - Unsuspends a user on the bot
# !usersethost <username on bot> <nick in channel>
#                      - Resets host of username with host of nick
# !whoami - Shows ur username on the bot
# !usersetrights <username on bot> <master/operator>
#                       - Gives the user master/operator rights
# !userlist - Shows all users for the channel
#
###############################################


Feel free to use my script. Requests / remarks / security critics are welcome!

Download

--EDIT: v1.1
--EDIT: v1.2
--EDIT: v1.3
--EDIT: v2.0
--EDIT: v2.1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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