on *:TEXT:!quote*:#:{ if ($2 == $null) { notice $nick Unknown Syntax, please type "!quote help" for more information halt } if ($2 == help) { notice $nick Quote commands are: notice $nick !Quote add (quote) notice $nick !Quote Read notice $nick !Quote info halt } if ($2 == add) { if ($3 == $null) { notice $nick Please add a quote! halt } else { /write quotes.txt " $+ $3- $+ " - $nick notice $nick You have just submitted " $+ $3- $+ " as a quote. You have been given credit for your quote. halt } if ($2 == read) { $read(quotes.txt) } } }