Nathema Voice
Joined: 13 May 2009 Posts: 15 Location: The Netherlands
|
Posted: Thu May 28, 2009 4:47 pm Post subject: ptools v2.1 - Channel service script |
|
|
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 |
|