Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var count;
- try {
- count = parseInt(storage.get("rockCount"));
- } catch (e) {
- count = 0;
- }
- if (isNaN(count))
- count = 0;
- count++;
- storage.set("rockCount", "" + count);
- channel.message("Nodnam has said rockenroll4life " + count + " times");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement