All pastes #925102 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-02 00:10 UTC
rendered paste body


Quotes, Triggers: !addquote quote here, !quote, @quote


on *:text:!quote *:#:{ write quote.txt 3-4[REALBOT]3-4Random Quote:12- $nick - $chan - 7 $2- | notice $nick 3-4[REALBOT]3-4Thank you-3 $nick 4-Your quote has been added. }

on *:text:@quote:#:{
  msg $chan $read(quote.txt) 
}

on *:text:!quote:#:{
  notice $nick $read(quote.txt) 
}


Alarm, Triggers: !alarm #ofsecs


on *:TEXT:!alarm*:#:{
  notice $nick You're alarm will go off in $2- seconds  
  .timer 1 $2- notice $nick 4ALERT 3ALERT 12ALERT!
  .timer 1 $2- notice $nick 4ALERT 3ALERT 12ALERT!
  .timer 1 $2- notice $nick 4ALERT 3ALERT 12ALERT!
  .timer 1 $2- notice $nick 4ALERT 3ALERT 12ALERT!  
  .timer 1 $2- notice $nick 4ALERT 3ALERT 12ALERT!7It's been $2- seconds!

}



Single Person Blacklist, Triggers: Nicklist menu on bot, !blacklist nick #ofmins   <-on admin


menu nicklist {
  Ignore:set %ignoretime $?="Enter ignore time" | set %ignoretime $calc(%ignoretime *60) | set %ignorereason $$?="Enter ignore reason" | ignore $1 | msg $chan  4 $1 1has been 11Blacklisted1 for 4 $calc(%ignoretime / 60) 1minutes. The Reason is:11 %ignorereason | timer 1 %ignoretime ignore -r $1 | timer 1 %ignoretime msg $chan $1 has been 4Unblacklisted. | unset %ignoretime
} 
on *:TEXT:!blacklist*:#: {
if ($nick == NICK1 || $nick == NICK2) {
  ignore $2 | msg $chan  4 $2 1has been 11Blacklisted1 for 4$3 1minutes. The Reason is:11 $4- | timer 1 $calc($3 *60) ignore -r $2 | timer 1 $calc($3 *60) msg $chan $2 has been 4Unblacklisted. 
} }



Cool Text, Trigger: !cool text goes here


on *:TEXT:!cool*:#: {
msg $chan 3-4[REALBOT]4ҳ̸ҲÌ3¸Ò³Ò³Ì7¸Ò²Ì¸Ò³Ò³Ì8¸Ò²Ì¸Ò³Ò³Ì4¸Ò²Ì¸Ò³Ò³Ì2¸Ò²Ì¸Ò³Ò³Ì13¸Ò²Ì¸Ò³Ò³Ì5¸Ò²Ì¸Ò³Ò³Ì3¸Ò²Ì¸Ò³  $2- 4ҳ̸ҲÌ3¸Ò³Ò³Ì7¸Ò²Ì¸Ò³Ò³Ì8¸Ò²Ì¸Ò³Ò³Ì4¸Ò²Ì¸Ò³Ò³Ì2¸Ò²Ì¸Ò³Ò³Ì13¸Ò²Ì¸Ò³Ò³Ì5¸Ò²Ì¸Ò³Ò³Ì3¸Ò²Ì¸Ò³  }



Greet System, Triggers: !greet -text goes here-, !deletegreet, !changegreet nick text goes here(admin command), !deletegreet nick(admin command)


on *:TEXT:!greet*:#: { 
  set %greet [ $+ [ $nick ] ] $2- | notice $nick 4Your greet message has been set to: $2- 
} 

on *:TEXT:!deletegreet*:#: { 
  unset %greet [ $+ [ $nick ] ] | notice $nick 4Your greet has been deleted
   
} 

on *:JOIN:#: { 
  if (%greet [ $+ [ $nick ] ]) msg $chan 3-4[YOURBOTNAME]3-4[ $+ 4 $nick  $+ ]: %greet [ $+ [ $nick ] ] 
  else notice $nick To set a greet type !greet -text goes here!- 
 } 

on *:text:!changegreet *:#: {
  if ($nick == NICK1) || ($nick == NICK2) {
set %greet [ $+ [ $2 ] ] $3- } }
on *:text:!deletegreet *:#: {
  if ($nick == NICK1) || ($nick == NICK2) {
  alias delgreet { unset %greet [ $+ [ $2 ] ]  } }