This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

ptools v2.1 - Channel service script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
N
Nathema
Voice
Posts: 15
Joined: Wed May 13, 2009 6:25 am
Location: The Netherlands
Contact:

ptools v2.1 - Channel service script

Post by Nathema »

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: Select all

###############################################
#
# 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
Post Reply