All pastes #741793 Raw Edit

mirc script

public text v1 · immutable
·published 2007-10-18 23:42 UTC
rendered paste body
on *:text:!addadmin *:#: { if ($address($nick,2) == $address($me,2)) { writeini botadmins2.ini Staff $address($2,2) $address($2,2) | notice $nick $2 has been added as a bot Staff } }

on *:TEXT:!delstaff *:#:{ 
  if ($address == YOUR HOST HERE) { 
    remini botadmins2.ini Staff $address($2,2) $address($2,2) 
    .msg $chan $2 has been deleted from the bot's staff list. 
  } 
}
on *:join:#: { if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) { msg $chan « $nick » Is Bot Staff! | mode $chan +ohv $nick $nick $nick }}

on *:TEXT:!action *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /$2 $3 $4-
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Did the action3 $2 2On Channel:3 $3 2With The Optional Message:3 $4-
    /msg $chan 2The Action You Requested $nick Has Been Made Successfully. Action Done:3 $2 2 On Channel:3 $3 2 Optional Message:3 $4-
  }
}
on *:TEXT:!owners part*:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    part $chan 2A Bot Staff has wished me to part your channel. Staff Member:3 $nick
    /msg #YOURCHANNEL 3 $nick 2Requested F0xB0t Leave3 $chan 2Part Successful.
  }
}
on *:TEXT:!amsg*:#: {
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /amsg 7 [3Global from $nick $+ 7]2 $2- 
    msg #YOURCHANNEL 7[Log]3 $nick 2Sent A Global Message At3 $time 2With The Message:3 $2-
  }
}
on *:TEXT:!help:#:{
  notice $nick Your Request For Help Has Been Sent At $time on $date . Please Wait While You Are Contacted By BotStaff
  msg #YOURCHANNEL Help $nick says From $chan
}
on *:TEXT:!mode *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /mode $2 $3 $4-
    /msg $chan 2The Changes You Requested For3 $2 ( $3 ) 2Have Been Made3 $nick
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Set Mode3 $3- 2On Channel:3 $2
  }
}
on *:TEXT:!say *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /msg $2 3 $3- 7-=2From3: $nick 7 $+ =-
    /msg $chan 3 $nick 2Your Message:3 $3- 2Has Been Sent To Channel:3 $2
  }
}
on *:TEXT:!partchan *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /part $2 $3-
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Parted F0xB0t From3 $2 2With The Message:3 $3-
    msg $chan 3 $nick 2Your Request To Part F0xB0t From Channel:3 $2 2Has Been Carried Out. Your Part Message Was:3 $3-
  }
}
on *:TEXT:!lockchan *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /mode $2 +i
    /mode $2 +k 89483272900478624
    /mode $2 +m
    msg $chan 2The Channel:3 $2 2Has Now Been Locked
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Locked The Channel:3 $2
  }
}
on *:TEXT:!unlockchan *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /mode $2 -i
    /mode $2 -k 89483272900478624
    /mode $2 -m
    msg $chan 2The Channel:3 $2 2Has Now Been Unlocked
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Unlocked The Channel:3 $2 
  }
}
on *:TEXT:!bscmd:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    msg $nick 3Botstaff Commands Are:
    msg $nick 2!action <hop/part> #chan message (make f0xb0t hop or part channel *may also be used to set modes*)
    msg $nick 2!say #chan message (Make F0xB0t speak in a given channel)
    msg $nick 2!lockchan #chan (lock channel from spammers)
    msg $nick 2!unlockchan #chan (Unlock channel)
    msg $nick 2!mode #chan modetoset (Change Modes On Said Chan)
    msg $nick 2!amsg message (Global Message, DO NOT ABUSE)
    msg $nick 2!owners part (Parts the bot from the chan your in)
    msg $nick 2!voiceme #chan (use to voice yourself in another chan if the bot is op/h-op)
    msg $nick 2!hopme #chan (use to halfop yourself in another chan if the bot is op)
    msg $nick 2!me action (uses /me Command)
    msg $nick 2!minvite (Mass Invite Bots To The Current Channel.)
    msg $nick 2!pcban (Bans Pc Channels).
    msg $nick 2!unpcban (Un Bans PC Channels).
    msg $nick 2!inviteme #chan (Invites You Into A Channel)
    msg $nick 2!partchan #chan (Parts F0xB0t From The Channel You Say).
    msg $nick 2!botfix (Will disconnect the bot for 1 minute and then reconnect it. Only use in cases of lag).
    msg $nick 2!settimer repeat seconds message (Will set a timer message for the channel the command is set on).
    msg $nick 2!timers1 off (Unsets all timers).
    msg $nick 3*~*~*~*Blacklist Commands*~*~*~*
    msg $nick 2.!blacknick <nick>    (remove the . infront of the command)
    msg $nick 2.!unblacknick <nick>    (remove the . infront of the command)
    msg $nick 2.!blackchan <#chan>    (remove the . infront of the command)
    msg $nick 2.!unblackchan <#chan>    (remove the . infront of the command
    msg $nick 3*~*~*~*#F0xB0t Lock Commands*~*~*~*
    msg $nick 2!cmode lock <status|on|off>
    msg $nick 2!ban lock <status|on|off>
    msg $nick 2!op lock <status|on|off>
    msg $nick 2!kick lock <status|on|off>
    msg $nick 2!lock <status|on|off>
  }
}
on *:TEXT:!voiceme *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /mode $2 +v $nick
    msg $chan 2You Are Now Voiced In3 $2
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Voiced Themself In Channel:3 $2 
  }
}
on *:TEXT:!hopme *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /mode $2 +h $nick
    msg $chan 2You Are Now Half-Oped In3 $2
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Half-Oped Themself In Channel:3 $2 
  }
}
on *:TEXT:!minvite:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    msg $chan 2Now Mass Inviting Bots To3 $chan 
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Mass Invited Bots To Channel:3 $chan 
    /invite Runescript $chan
    /invite Plasma $chan
    /invite ZetaScript $chan
    /invite Chocobo $chan
    /invite JesusBot $chan
    /invite RobbieBot $chan
    /invite [SR]Serv $chan
    /invite Terrorserv $chan
    /invite InsaneBot $chan
    /invite WIZBOT $chan
    /invite Division $chan
    /invite Vectra $chan
    /invite [mx]FoxB0t $chan
    /invite iRune $chan
    /invite RuneZone $chan
  }
}
on *:TEXT:!me *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /describe $chan $2-
  }
}
on *:TEXT:!pcban:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /mode $chan +b ~c:#pc
    /mode $chan +b ~c:#pest
    /mode $chan +b ~c:#nucs
    /mode $chan +b ~c:#rspc
    /mode $chan +b ~c:#pcelites
    /mode $chan +b ~c:#pctropical
    /mode $chan +b ~c:#pcplace
    /mode $chan +b ~c:#pt
    /mode $chan +b ~c:#rspc
    /mode $chan +b ~c:#pest-time
    /mode $chan +b ~c:#arpc_lobby
    /mode $chan +b ~c:#fastpcw
    /mode $chan +b ~c:#luckypc
    /mode $chan +b ~c:#void
    /mode $chan +b ~c:#rips
    /mode $chan +b ~c:#pc-galaxy
    /mode $chan +b ~c:#pest-ftw
    /mode $chan +b ~c:#pest-control
    /mode $chan +b ~c:#pest-unit
    /mode $chan +b ~c:#pest-unit.staff
  }
}
on *:TEXT:!unpcban:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /mode $chan -b ~c:#pc
    /mode $chan -b ~c:#pest
    /mode $chan -b ~c:#nucs
    /mode $chan -b ~c:#rspc
    /mode $chan -b ~c:#pcelites
    /mode $chan -b ~c:#pctropical
    /mode $chan -b ~c:#pcplace
    /mode $chan -b ~c:#pt
    /mode $chan -b ~c:#rspc
    /mode $chan -b ~c:#pest-time
    /mode $chan -b ~c:#arpc_lobby
    /mode $chan -b ~c:#fastpcw
    /mode $chan -b ~c:#luckypc
    /mode $chan -b ~c:#void
    /mode $chan -b ~c:#rips
    /mode $chan -b ~c:#pc-galaxy
    /mode $chan -b ~c:#pest-ftw
    /mode $chan -b ~c:#pest-control
    /mode $chan -b ~c:#pest-unit
    /mode $chan -b ~c:#pest-unit.staff
  }
}
on *:TEXT:!inviteme *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /invite $nick $2
    /msg $chan 3 $+ $nick 2You Have Successfully Been Invited Into:3 $2
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Invited Themself To Channel:3 $2 
  }
}
on $*:text:/^[!@`.]botfix/Si:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    set %server $server
    msg #YOURCHANNEL 7[3Log7]3 $nick 2Ran The BotFix Command 
    /amsg 7-=3GLOBAL7=-2 BotFix Run... Be Back In 60 Seconds.
    disconnect
    timer 1 60 /server %server
} }
on *:TEXT:!settimer *:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /timer $2 $3 /msg $chan 2 $+ $4-
    /msg $chan 2The Timer With The Message:3 $4- 2Has Been Set to repeat3 $2 2every3 $3 2seconds
  }
}
on *:TEXT:!timers off:#:{
  if ($address($nick,2) == $readini(botadmins2.ini,Staff,$address($nick,2))) {
    /timer2 off
    /timer1 off
    /timer3 off
    /msg $chan 2Timers Off
  }
}