This is a simple quote system.
i recommend use on a bot.
!addquote nick quote (op's only)
!quote nick
!quote (quote the person that types !quote without a second var)
do not add the < > around the nick when entering the quote (if you want to remove the < $+ $+ > in the addquote code.
it records separate quote records for each channel.
this is one of my first scripts please be nice :D
any corrections/recommendations/comments are greatly appreciated.
on *:TEXT:!addquote *:#:{ if ($nick isop $chan) {
writeini -n quote. $+ $chan $+ .ini QUOTES $2 < $+ $2 $+ > $3-
msg $chan Quote added! }
else { msg $chan OP's only! }
}
on *:TEXT:!quote*:#:{ if ($2 == $null) { msg $chan $readini(quote. $+ $chan $+ .ini, QUOTES, $nick) }
else { msg $chan $readini(quote. $+ $chan $+ .ini, QUOTES, $2) }
}
not bad addon but when u type !quote it says there is some errors on line 6 tht mean---> else { msg $chan $readini(quote. $+ $chan $+ .ini, QUOTES, $2) } , and if u said !quote + nick it says error in line 6 ---> if ($2 == $null) { msg $chan $readini(quote. $+ $chan $+ .ini, QUOTES, $nick) }
.....................................................
i tried to fix it by deleteing the line 7 but for line 6 i changed the $readini to $read and delete $nick so it look like this
on :TEXT:!quote:#:{ if ($2 == $null) { msg $chan $read(quote. $+ $chan $+ .ini, QUOTES)}
and im new on this things i just cant find a way to keep it with colours if u added colours its like strip them off thx for all i still like ur script >:)