Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [19:46:52] Anthony [Technoblazed]: if (command.equalsIgnoreCase("quote")) {
- if (!$.isModv3(sender, event.getTags()))
- return;
- else {}
- }
- else {
- if (argsString.length() > 0) {
- num = parseInt(argsString);
- } else {
- num = $.rand(num_quotes);
- }
- }
- if (isNaN(num_quotes) || num_quotes == 0) {
- $.say("There are no quotes at this time");
- return;
- }
- if ($.inidb.get("quotes", "quote_" + num) == null) {
- $.say("There are only " + (num_quotes) +
- " quotes right now! Remember that quotes are numbered from 0 to " +
- (num_quotes - 1) + "!");
- } else {
- $.say("#" + num + ": " + $.inidb.get("quotes", "quote_" + num));
- }
- }
- is erroring
- There are only 1 quotes right now! Remember that quotes are numbered from 0 to 0!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement