This is a very simple script that I made. It was not ripped RIPS!
It includes many op comamnds and user commands to make it easier to have control of your channel. It can also register new channels for you.
You can edit this script as you like as long as you leave everything the same at the top.
Some more things are in this script that may not be listed.
Fixed bugs: No bugs were needed to be fixed in this version.
Bugs: No bugs found in new version.
Coming soon: I am working on a way to message a user if they mess up a command.
Version 4 and above modified by Aucun50.
############################################################################################################
#;This snippet is made by Bluepower10 Productions at http://bluepower10.webs.com/ . #
#;DO NOT REMOVE THIS!! Feel free to edit add, or delete anything below, but do not edit anything up here. #
#;To get help on this script, please contact me at: MSN: bluepower10@clubpenguinhq.com, AIM: Bluepower1000,#
#;EMAIL: bluepower10_productions@live.com, IRC: irc.clubpenguinhq.com #no_rules. Have fun! 1st #
#;script by Bluepower10. Also visit http://koolbots.izfree.com/. You are using version 7.5 of this script. #
#;Please make sure you are using current version. #
############################################################################################################
on *:TEXT:*:#: {
if (!ban == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan +b $2-
}
}
if (!mode == $strip($1)) && ($strip($2)) && ($strip($3)) {
if ($nick isop $chan) {
mode $chan $2 $3
}
else { msg $chan You're not oped on this channel. }
}
if (!voice == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan +v $2-
}
elseif (!$2) { msg $chan No nick entered }
else { msg $nick You're not oped on this channel. }
}
if (!devoice == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan -v $2-
}
elseif (!$2) { msg $chan No nick entered }
else { .notice $nick You're not oped on this channel. }
}
if (!unban == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan -b $2-
}
elseif (!$2) { msg $nick No nick entered. Try again. }
else { .notice $nick You're not oped on this channel. }
}
if (!commands == $strip($1)) {
.notice $nick Regular commands for this bot are: !commands, !site, !info, !time, !invite < username > and !pm < username >.
}
if (!topic == $strip($1)) && ($strip($2-)) {
if ($nick isop $chan) {
topic $chan $2-
}
else { .notice $nick You're not oped on this channel. }
}
if (!site == $strip($1)) {
msg $chan Come visit us at http://www.bluepower10.webs.com/ and http://koolbots.izfree.com/.
}
if (!info == $strip($1)) {
msg $chan Bot made by Bluepower10. Bluepower10 Productions owns this bot at http://bluepower10.webs.com/ and http://koolbots.izfree.com/ .
}
if (!kick == $strip($1)) && ($strip($2)) && ($strip($3-)) {
if ($nick isop $chan) {
kick $chan $2-
.notice $2 You where kicked by: $nick at $time on $date for $3- $+ .
}
elseif (!$2) { msg $nick No nick entered. Try again. }
elseif ($2 !ison $chan) { msg $nick $2 is not in this channel }
else { msg $nick You're not oped on this channel. }
}
if (!pm == $strip($1)) && ($strip($2)) {
if ($2 ison $chan) {
.notice $2 Hello $2! I was asked to PM you. How are you doing today?
}
else { .notice $nick Their not in this channel. }
}
if (!opc == $strip($1)) {
if ($nick isop $chan) {
.notice $nick Op commands are: !ban < username >, !unban < username >, !kick < username >, !+m, !im, !+i, !-i, !voice < username >, !devoice < username >, and !topic. Note: These commands only work for ops and if I am oped.
}
else { .notice $nick You need to be oped to see these commands. }
}
if (!Time == $strip($1)) {
.notice $nick The time is $time and the date is $date $+ .
}
if (!invite == $strip($1)) && ($strip($2)) {
invite $2- $chan
}
if (!register == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
join $2
mode $chan +o $nick
msg $chan To register type /cs register (Channel) (Password) (Description), good luck!
part $2
elseif (!$2) { .notice $nick No channel entered }
elseif ($2) ($3) { .notice To much info given try: !register (Channel) }
else { halt }
}
}
}
on *JOIN:#: {
.notice $nick Welcome to $chan $+ ! For a list of commands, type !commands. For op commands, type !opc.
}
Guys really as if it's that f*cking hard to fix a mess of a script like this.
on *:TEXT:*:#: {
if ($nick !isop $chan) { notice $nick You're not op. }
else {
if (!ban == $strip($1)) && ($strip($2)) { mode # +b $address($2,9) | if (!$strip($2)) { notice $nick Ban who? } }
if (!unban == $strip($1)) && ($strip($2)) { mode # -b $address($2,9) | if (!$strip($2)) { notice $nick Unban who? } }
;!ban bans the address of (9) of a given $2, which is a good way of banning someone. !unban unbans it.
if (+ == $strip($1)) && ($strip($2)) { mode # + $+ $2- | if (!$strip($2)) { notice $nick What chanmode? } }
if (- == $strip($1)) && ($strip($2)) { mode # - $+ $2- | if (!$strip($2)) { notice $nick What chanmode? } }
;This cuts the !voice, !devoice, etc. +<mode> sets any chanmode, -<mode> "desets" it.
if (!topic == $strip($1)) && ($strip($2)) { topic # $2- | if (!$strip($2)) { notice $nick The topic is $chan(#).topic } }
if (!kick == $strip($1)) { if ($2) { if (!$3) { kick # $2 Requested. | elsif ($3) { kick # $2 $3- } } elseif (!$2) { notice $nick No user specified. } | elseif ($2 !ison $chan) { notice $nick $2 isn't in here. } } }
if (!opc == $strip($1)) { notice $nick The OP Commands in $chan are as follows: !ban <nick> [bans the nick] ; !unban <nick> [unbans a banned nick] ; +<mode> [sets any chan mode] ; -<mode> [unsets any chan mode] ; !topic <topic> [sets channel topic] ; !kick <nick> [kicks a nick if they're on the channel] ; !register <chan> [Guides someone through registering a channel.] }
if (!register == $strip($1)) && ($strip($2)) { if (!$mid($2,1,1) == $chr(35) { notice $nick Invalid channel format. } | else { join $2 | mode # +o $nick | msg # To register type /cs register (Channel) (Password) (Description), good luck! | part $2 } if (!$2) { notice $nick No chan stated. } }
}
if (!site == $strip($1)) { notice $nick Come visit us at http://www.bluepower10.webs.com/ }
if (!info == $strip($1)) { notice $nick Bot made by Bluepower10. Bluepower10 Productions owns this bot at http://bluepower10.webs.com/ $+ . }
if (!commands == $strip($1)) { notice $nick Regular commands for this bot are: !commands, !site, !info, !time, !invite < username > and !pm < username >. }
if (!time == $strip($1)) { notice $nick It is $time(h:nn:ss TT) on $date $+ . }
if (!invite == $strip($1)) && ($strip($2)) { invite # $2 | if (!$strip($2)) { notice $nick Invite who? } }
if (!pm == $strip($1)) && ($strip($2)) { if ($2 !ison $chan) { notice $nick $2 isn't here. } | else { msg $2 Hello $2 $+ ! I was asked to PM you by $nick $+ . How are you doing? } }
}
on *JOIN:#: { notice $nick Welcome to # $+ ! For a list of commands, type !commands. For op commands, type !opc }
Here's a fix for ya:
on *:TEXT:*:#: {
if (!ban == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan +b $2
}
}
if (!mode == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan + $2-
}
else { msg $chan You're not oped on this channel }
}
if (!voice == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan +v $2
}
elseif (!$2) { msg $chan No nick entered }
else { msg $nick You're not oped on this channel. }
}
if (!devoice == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan -v $2
}
elseif (!$2) { msg $chan No nick entered }
else { .notice $nick You're not oped on this channel. }
}
if (!unban == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
mode $chan -b $2
}
elseif (!$2) { msg $nick No nick entered. Try again. }
else { .notice $nick You're not oped on this channel. }
}
if (!commands == $strip($1)) {
.notice $nick Regular commands for this bot are: !commands, !site, !info, !time, !invite < username > and !pm < username >.
}
if (!topic == $strip($1)) && ($strip($2-)) {
if ($nick isop $chan) {
topic $chan $2-
}
else { .notice $nick You're not oped on this channel. }
}
if (!site == $strip($1)) {
msg $chan Come visit us at http://www.bluepower10.webs.com/
}
if (!info == $strip($1)) {
msg $chan Bot made by Bluepower10. Bluepower10 Productions owns this bot at http://bluepower10.webs.com/ .
}
if (!kick == $strip($1)) && ($strip($2)) && ($strip($3-)) {
if ($nick isop $chan) {
kick $chan $2
.notice $2 You where kicked by: $nick at $time on $date for $3- $+ .
}
elseif (!$2) { msg $nick No nick entered. Try again. }
elseif ($2 !ison $chan) { msg $nick $2 is not in this channel }
else { msg $nick You're not oped on this channel. }
}
if (!pm == $strip($1)) && ($strip($2)) {
if ($2 ison $chan) {
.notice $2 Hello $2! I was asked to PM you. How are you doing today?
}
else { .notice $nick Their not in this channel. }
}
if (!opc == $strip($1)) {
if ($nick isop $chan) {
.notice $nick Op commands are: !ban < username >, !unban < username >, !kick < username >, !+m, !im, !+i, !-i, !voice < username >, !devoice < username >, and !topic. Note: These commands only work for ops and if I am oped.
}
else { .notice $nick You need to be oped to see these commands. }
}
if (!Time == $strip($1)) {
.notice $nick The time is $time and the date is $date $+ .
}
if (!invite == $strip($1)) && ($strip($2)) {
invite $2- $chan
}
if (!register == $strip($1)) && ($strip($2)) {
if ($nick isop $chan) {
join $2
mode $chan +o $nick
msg $chan To register type /cs register (Channel) (Password) (Description), good luck!
part $2
}
elseif ($1 == !register) && (!$2) { .notice $nick No channel entered }
elseif ($1 == !register) && ($2) ($3) { .notice To much info given try: !register (Channel) }
else { halt }
}
}
on *JOIN:#: {
.notice $nick Welcome to $chan ! For a list of commands, type !commands. For op commands, type !opc.
}
####################################################################################################
This snippet is made by Bluepower10 Productions at http://bluepower10.webs.com/ .
DO NOT REMOVE THIS!! Feel free to edit add, or delete anything below, but do not edit anything up here. To get help on this script, please contact me at: MSN: bluepower10@clubpenguinhq.com, AIM: Bluepower1000, EMAIL: bluepower10_productions@live.com Have fun! 1st script by Bluepower10.
You are using version 6.0 of this script. Please make sure you are using current version.
####################################################################################################
on *:TEXT:*:#: {
var %e = !ban;!mode;!voice;!devoice;!unban;!commands;!topic;!site;!info;!kick;!pm;!opc;!time;!invite;!register
tokenize 32 $strip($1-)
if ($gettok(%e,1,59) == $1) { if ($nick isop $chan) mode $chan +b $$2 }
if ($gettok(%e,2,59) == $1) {
if ($nick isop $chan) { mode $chan + $$2- }
msg $chan You're not oped on this channel
}
if ($gettok(%e,3,59) == $1) {
if (!$2) msg $chan No nick entered | halt
if ($nick isop $chan) mode $chan +v $$2 | halt
msg $nick You're not oped on this channel.
}
if ($gettok(%e,4,59) == $1) {
if ($nick isop $chan) { mode $chan -v $$2 }
elseif (!$2) { msg $chan No nick entered }
else { .notice $nick You're not oped on this channel. }
}
if ($gettok(%e,5,59) == $1) {
if (!$2) { msg $nick No nick entered. Try again. | halt }
if ($nick isop $chan) { mode $chan -b $$2 }
else { .notice $nick You're not oped on this channel. }
}
if ($gettok(%e,6,59) == $1) { .notice $nick Regular commands for this bot are: !commands, !site, !info, !time, !invite < username > and !pm < username >. }
if ($gettok(%e,7,59) == $1) {
if ($nick isop $chan) { topic $chan $2- }
else { .notice $nick You're not oped on this channel. }
}
if ($gettok(%e,8,59) == $1) { msg $chan Come visit us at http://www.bluepower10.webs.com/ }
if ($gettok(%e,9,59) == $1) { msg $chan Bot made by Bluepower10. Bluepower10 Productions owns this bot at http://bluepower10.webs.com/ . }
if ($gettok(%e,10,59) == $1) {
if (!$2) msg $nick Please provide a name. | halt
if ($2 !ison $target) msg $nick Who?
if ($nick isop $chan) {
kick $chan $2
.notice $2 You where kicked by: $nick at $time on $date for $$3- $+ .
}
else { msg $nick You're not oped on this channel. }
}
if ($gettok(%e,11,59) == $1) {
if ($2 ison $chan) { .notice $$2 Hello $$2 $+ ! I was asked to PM you. How are you doing today? }
else { .notice $nick Their not in this channel. }
}
if ($gettok(%e,12,59) == $1) {
if ($nick isop $chan) { .notice $nick Op commands are: !ban < username >, !unban < username >, !kick < username >, !+m, !im, !+i, !-i, !voice < username >, !devoice < username >, and !topic. Note: These commands only work for ops and if I am oped. }
else { .notice $nick You need to be oped to see these commands. }
}
if ($gettok(%e,13,59) == $1) { .notice $nick The time is $time and the date is $date $+ . }
if ($gettok(%e,14,59) == $1) { invite $$2- $chan }
if ($gettok(%e,15,59) == $1) {
if ($nick isop $chan) {
if (!$2) msg $nick register what?
join $2
if ($me isop $2) {
cs register $2 password $iif($3,$3-,$nick $+ 's channel.)
cs set $2 founder $nick
part $2
msg $chan You now own $2 Password: password Description: $+(,$iif($3,$3-,$nick $+ 's channel.),)
halt
}
msg $chan To register type /cs register (Channel) (Password) (Description), good luck!
part $2
}
}
}
on *JOIN:#: { .notice $nick Welcome to $chan ! For a list of commands, type !commands. For op commands, type !opc }
make sure that youre an op while you trigger it
Really clean version:
####################################################################################################
This snippet is made by Bluepower10 Productions at http://bluepower10.webs.com/ .
DO NOT REMOVE THIS!! Feel free to edit add, or delete anything below, but do not edit anything up here. To get help on this script, please contact me at: MSN: bluepower10@clubpenguinhq.com, AIM: Bluepower1000, EMAIL: bluepower10_productions@live.com Have fun! 1st script by Bluepower10.
You are using version 6.0 of this script. Please make sure you are using current version.
####################################################################################################
on *:TEXT:*:#: {
var %e = !ban;!mode;!voice;!devoice;!unban;!commands;!topic;!site;!info;!kick;!pm;!opc;!time;!invite;!register
tokenize 32 $strip($1-)
if ($gettok(%e,1,59) == $1) { if ($nick isop $chan) mode $chan +b $$2 }
if ($gettok(%e,2,59) == $1) {
if ($nick isop $chan) { mode $chan + $$2- }
msg $chan You're not oped on this channel
}
if ($gettok(%e,3,59) == $1) {
if (!$2) msg $chan No nick entered | halt
if ($nick isop $chan) mode $chan +v $$2 | halt
msg $nick You're not oped on this channel.
}
if ($gettok(%e,4,59) == $1) {
if ($nick isop $chan) { mode $chan -v $$2 }
elseif (!$2) { msg $chan No nick entered }
else { .notice $nick You're not oped on this channel. }
}
if ($gettok(%e,5,59) == $1) {
if ($nick isop $chan) { mode $chan -b $$2 }
else { .notice $nick You're not oped on this channel. }
if (!$2) { msg $nick No nick entered. Try again. }
}
if ($gettok(%e,6,59) == $1) { .notice $nick Regular commands for this bot are: !commands, !site, !info, !time, !invite < username > and !pm < username >. }
if ($gettok(%e,7,59) == $1) {
if ($nick isop $chan) { topic $chan $2- }
else { .notice $nick You're not oped on this channel. }
}
if ($gettok(%e,8,59) == $1) { msg $chan Come visit us at http://www.bluepower10.webs.com/ }
if ($gettok(%e,9,59) == $1) { msg $chan Bot made by Bluepower10. Bluepower10 Productions owns this bot at http://bluepower10.webs.com/ . }
if ($gettok(%e,10,59) == $1) {
if (!$2) msg $nick Please provide a name. | halt
if ($2 !ison $target) msg $nick Who?
if ($nick isop $chan) {
kick $chan $2
.notice $2 You where kicked by: $nick at $time on $date for $$3- $+ .
}
else { msg $nick You're not oped on this channel. }
}
if ($gettok(%e,11,59) == $1) {
if ($2 ison $chan) { .notice $$2 Hello $$2 $+ ! I was asked to PM you. How are you doing today? }
else { .notice $nick Their not in this channel. }
}
if ($gettok(%e,12,59) == $1) {
if ($nick isop $chan) { .notice $nick Op commands are: !ban < username >, !unban < username >, !kick < username >, !+m, !im, !+i, !-i, !voice < username >, !devoice < username >, and !topic. Note: These commands only work for ops and if I am oped. }
else { .notice $nick You need to be oped to see these commands. }
}
if ($gettok(%e,13,59) == $1) { .notice $nick The time is $time and the date is $date $+ . }
if ($gettok(%e,14,59) == $1) { invite $$2- $chan }
if ($gettok(%e,15,59) == $1) {
if ($nick isop $chan) {
if (!$2) msg $nick register what?
join $2
if ($me isop $2) {
cs register $2 password $iif($3,$3-,$nick $+ 's channel.)
cs set $2 founder $nick
part $2
msg $chan You now own $2 Password: password Description: $+(,$iif($3,$3-,$nick $+ 's channel.),)
halt
}
msg $chan To register type /cs register (Channel) (Password) (Description), good luck!
part $2
}
}
}
on *JOIN:#: { .notice $nick Welcome to $chan ! For a list of commands, type !commands. For op commands, type !opc }
made your register more effective. this format is a loooooot cleaner than what you have.
PunkTuReD is correct $2- would be better it'd save unnecessary processing of useless scripting.
PunkTuReD very good oh and Aucun50 to your previous comment of
"This script you have is a fail! Lol if you type anything it does "You're not oped on #pruserv"
@Linuxuser Check to see before you post, also make the script work right"
well on the server i use it works fine and i use the same format in all my scripts so maybe you just typed it wrong or copy and pasted it wrong.