Quote script

By Gira
Platform:  mIRC
Published  Nov 02, 2009
Updated  Nov 02, 2009
try !addquote to add a quote.
!read to read a quote on *:load: { write -c C:\quotes.txt | set %QuoteN 0 }
on *:unload: { write -c C:\quotes.txt | unset %QuoteN }
on *:text:!AddQuote*:#: { if ($2) { inc %QuoteN 1 | write -l $+ %QuoteN C:\quotes.txt %QuoteN 7Quote5 %QuoteN $+ 1:5" $+ $2- $+ " 1- 7Set by5 $nick $+ 1 7on1 $adate $+ . | msg # 7Added quote1 "5 $+ $2- $+ 1"7 by5 $nick $+ . }
else {
msg # 3Please add a quote!
}
}
on *:text:!read*:#: { if (!$2) { msg # $read(C:\quotes.txt)
}
elseif ($2) && ($2 isin $read(C:\quotes.txt,$2)) {
msg # $read(C:\quotes.txt,$2)
}
elseif ($2 !isin $read(C:\quotes.txt,$2)) {
msg # 3Quote not found! Please try another number!
}
}
alias rquotes {
.timerquote 0 4 msg # $read(C:\quotes.txt)
}

Comments

Sign in to comment.
DragonFlare   -  Oct 25, 2010
Why not just add a Delete as well

Code

 
 Respond  
MashhitDK   -  Oct 25, 2010
Just wanted to say thanks for getting Me started with My own quote script...
 Respond  
lol538   -  Dec 27, 2009
oh great ;O

[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:06] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:07] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:07] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:07] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
[12:07] <lolbot> 1 Quote 1:"test" - Set by lol538 on 12/27/2009.
#DSO.nl Cannot send to channel
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.