Top

Simple Quote Script


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Aug 28, 2009
Last Updated  Aug 28, 2009
Tags  quote 

Introduction

ADD THIS TO THE END OF YOUR REMOTES!!
also includes a cool thing that adds a Dot after the first/last letter of your nick!

anyway. here's what it does
type !quote <nick> and it will say a random quote of what that nick has said. say !tm and it will say the total messages the bot has seen
!messages <nick> and it will say total messages of that Nick, Enjoy!

Grab the Code

on *:text:!quote*:#: {
  if ($read($2 $+ .txt) == $null) { msg $nick $2 No Such Nick | halt }
  msg $nick Random $2 Quote: $read($2 $+ .txt) 
}
on *:text:!messages*:#: {
  notice $nick Total Messages for $2 $+ : $readini(msgcount.ini, count, $2)
}
on *:text:!tm*:#: {
  notice $nick Total Messages Since my last Disconnect: %totalmsg Since I Was Made %overallmsg
}
on *:text:*:#: {
  /write $nick $+ .txt $1-
  set %temp $readini(msgcount.ini, count, $nick)
  writeini msgcount.ini count $nick $calc(%temp + 1)
  inc %totalmsg 1
  inc %overallmsg 1
}
on *:disconnect: {
  unset %totalmsg
}
alias /als /set %len $len($me) | /titlebar $left($me,1) $+ . $+ $right($me,$calc(%len - 1)) | timer1 3/titlebar $left($me,$calc(%len - 1)) $+ . $+ $right($me,1)
 

Comments

  (0)  RSS

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom