Advertisement
Joeytje50

-.-

May 19th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.60 KB | None | 0 0
  1. 4:48 Joeytje50 what do the instructions tell you exactly
  2. 4:48 Joeytje50 explain to me
  3. 4:48 Dogfoger Thats the thing
  4. 4:48 Joeytje50 as if I'd not understand it
  5. 4:48 Dogfoger I don't understand it at all
  6. 4:48 Dogfoger This is what I see
  7. 4:48 Joeytje50 read it again
  8. 4:49 Dogfoger /* Script to beep when people say your name, or bad words. This is helpful to notice people saying your name, or to notice spammers or trolls. To import this script, add the following to your /chat.js page:
  9. 4:49 Joeytje50 okay
  10. 4:49 Dogfoger var pings = 'phrase1|phrase2|etc'; importScript('User:Joeytje50/chat-pings.js'); onchatmessage = function(text, rawtext) { text = unameBeep(text);//remove this line if you don't want username
  11. 4:49 Joeytje50 what does that say
  12. 4:49 Joeytje50 yes that's what it is
  13. 4:49 Joeytje50 now
  14. 4:49 Joeytje50 what does that say
  15. 4:49 Dogfoger Ehh
  16. 4:49 Dogfoger That I need to add those into chat?
  17. 4:50 Joeytje50 read it again
  18. 4:50 Dogfoger so i just type var pings = dogfoger
  19. 4:50 Joeytje50 read the first 2 lines and then "translate" it to your own words
  20. 4:50 Dogfoger I'm utterly confused joey
  21. 4:50 Joeytje50 I'm explaining it to you
  22. 4:50 Dogfoger I know
  23. 4:50 Joeytje50 read the first 2 lines and then "translate" it to your own words
  24. 4:50 Dogfoger Ur patience is admirable
  25. 4:51 Dogfoger But thats the thing
  26. 4:51 Dogfoger I cant because they make no sense
  27. 4:51 Dogfoger var pings = 'phrase1|phrase2|etc'; importScript('User:Joeytje50/chat-pings.js');
  28. 4:51 Joeytje50 no not that
  29. 4:51 Dogfoger Wut
  30. 4:51 Joeytje50 /* Script to beep when people say your name, or bad words. This is helpful to notice people saying your name, or to notice spammers or trolls. To import this script, add the following to your /chat.js page:
  31. 4:51 Joeytje50 translate that to your own words
  32. 4:51 Dogfoger No that makes sense
  33. 4:51 Dogfoger Thats english lol
  34. 4:51 Dogfoger But what does
  35. 4:51 Joeytje50 okay
  36. 4:51 Dogfoger /* mean
  37. 4:52 Joeytje50 that's a symbol to indicate it is a comment, else JavaScript treats it as script
  38. 4:52 Joeytje50 when reading it you can ignore that
  39. 4:52 Dogfoger Oh
  40. 4:52 Dogfoger Ok so now wut
  41. 4:52 Joeytje50 so explain to me what those 2 lines say
  42. 4:52 Dogfoger Their telling you what this thing does
  43. 4:53 Joeytje50 yup
  44. 4:53 Joeytje50 and the 2nd line?
  45. 4:53 Dogfoger Ok
  46. 4:53 Dogfoger Telling you how to mport it
  47. 4:53 Dogfoger Meaning how to make it work
  48. 4:53 Joeytje50 yup
  49. 4:53 Joeytje50 yup
  50. 4:53 Joeytje50 and, what does the 2nd line exactly tell you
  51. 4:54 Dogfoger That you need to put something into your chat page to import it
  52. 4:54 Dogfoger o.O
  53. 4:54 Joeytje50 yey
  54. 4:54 Joeytje50 and where does the script say that chat page is?
  55. 4:54 Dogfoger /chat.js
  56. 4:54 Joeytje50 yes
  57. 4:55 Joeytje50 User:Dogfoger/chat.js]
  58. 4:55 Dogfoger OHhhh!
  59. 4:55 Dogfoger Ok
  60. 4:55 Dogfoger So I need to
  61. 4:55 Dogfoger Create that page
  62. 4:55 Dogfoger then
  63. 4:55 Dogfoger put
  64. 4:55 Dogfoger var pings = 'phrase1|phrase2|etc'; importScript('User:Joeytje50/chat-pings.js'); onchatmessage = function(text, rawtext) { text = unameBeep(text);//remove this line if you don't want username
  65. 4:55 Dogfoger Right?
  66. 4:56 Joeytje50 put the code given there on your /chat.js page, yes
  67. 4:56 Dogfoger Okk
  68. 4:56 Joeytje50 buttt....
  69. 4:56 Dogfoger Does it have to be in that order?
  70. 4:56 Joeytje50 yes
  71. 4:57 Joeytje50 you see var pings = 'phrase1|phrase2|etc'; there right?
  72. 4:57 Dogfoger Whats teh butttt for?
  73. 4:57 Dogfoger Yesh
  74. 4:57 Joeytje50 change the 'phrase1|phrase2|etc' to the phrases you want
  75. 4:57 Dogfoger Yesh
  76. 4:57 Dogfoger Ok
  77. 4:57 Joeytje50 for example, change the 'phrase1|phrase2|etc' to 'dogfoger|doggy|cake';
  78. 4:57 Dogfoger Now do i have to make it in list form?
  79. 4:57 Joeytje50 huh?
  80. 4:58 Dogfoger Do i have to make it like
  81. 4:58 Joeytje50 you need to make it the same format as in the example
  82. 4:58 Joeytje50 so the phrases seperated with |
  83. 4:58 Dogfoger var pings = 'phrase1|phrase2|etc'; importScript('User:Joeytje50/chat-pings.js'); onchatmessage = function(text, rawtext) { text = unameBeep(text);//remove this line if you don't want username beeps text = badWordsBeep(text);//remove this line if you don't want bad words beeps
  84. 4:58 Dogfoger or can it be one long line
  85. 4:58 Joeytje50 you need to directly copy is
  86. 4:58 Joeytje50 it*
  87. 4:58 Joeytje50 then edit the ping phrases to the thing you want it to be
  88. 4:59 Dogfoger k
  89. 4:59 Joeytje50 did you do that?
  90. 5:00 Joeytje50 don't press save yet
  91. 5:01 Dogfoger Joey
  92. 5:01 Dogfoger text = unameBeep(text);//remove this line if you don't want username beeps
  93. 5:01 Dogfoger What does that mean
  94. 5:02 Joeytje50 the part of //remove this line if you don't want username beeps is a comment
  95. 5:02 Joeytje50 do you want to be beeped if someone says your username?
  96. 5:03 Dogfoger Yes
  97. 5:03 Dogfoger I do lol
  98. 5:03 Joeytje50 okay
  99. 5:04 Joeytje50 then don't remove that line
  100. 5:04 Dogfoger So I leave it how it is?
  101. 5:04 Joeytje50 that line, yes
  102. 5:04 Dogfoger Ive edited the var thing to wut I want
  103. 5:04 Joeytje50 yes
  104. 5:04 Joeytje50 then the next line you see text = badWordsBeep(text);//remove this line if you don't want bad words beeps
  105. 5:04 Joeytje50 do you want to be beeped for words that are inappropriate?
  106. 5:05 Dogfoger Yesh
  107. 5:06 Joeytje50 okay then leave that line as it is too
  108. 5:06 Dogfoger Sorry just finished off shadow before the storm
  109. 5:06 Joeytje50 okay what is the current code you have
  110. 5:06 Dogfoger var pings = 'Dogfoger|Yawns|Yawn|Waves|Wave|Dog|Doggy'; importScript('User:Joeytje50/chat-pings.js'); onchatmessage = function(text, rawtext) { text = unameBeep(text);//remove this line if you don't want username beeps text = badWordsBeep(text);//remove this line if you don't want bad words beeps
  111. 5:06 Dogfoger o.O
  112. 5:06 Joeytje50 where is the part of return text; //DO NOT EDIT THIS LINE }
  113. 5:07 Dogfoger return text; //DO NOT EDIT THIS LINE
  114. 5:07 Dogfoger lol
  115. 5:07 Joeytje50 and the }
  116. 5:07 Dogfoger I have that on it
  117. 5:07 Joeytje50 okay
  118. 5:07 Dogfoger There is no }
  119. 5:07 Dogfoger
  120. 5:07 Joeytje50 there is
  121. 5:07 Joeytje50 add a } on a line below it then
  122. 5:07 Dogfoger Nop
  123. 5:07 Dogfoger K
  124. 5:08 Dogfoger Anywhere on the line?
  125. 5:08 Joeytje50 add a new line with just } on it below the line with return text; //DO NOT EDIT THIS LINE
  126. 5:08 Dogfoger K
  127. 5:08 Dogfoger Got it
  128. 5:08 Dogfoger Now wut
  129. 5:09 Dogfoger Save?
  130. 5:09 Joeytje50 yes
  131. 5:09 Dogfoger k
  132. 5:09 Dogfoger K done that
  133. 5:09 Dogfoger Now wut
  134. 5:10 Joeytje50 okay go back to the instructions on User:Joeytje50/chat-pings.js
  135. 5:10 Dogfoger Their on that page
  136. 5:10 Joeytje50 do you see any further instructions below the part you've got now
  137. 5:10 Dogfoger So must I clear cache againm
  138. 5:10 Dogfoger Yeah i have
  139. 5:10 Dogfoger Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5. Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R. Opera users have to clear their caches through Toolsโ†’Preferences.
  140. 5:10 Joeytje50 no below the instructions you've followed already
  141. 5:11 Dogfoger The var ones?
  142. 5:11 Joeytje50 no
  143. 5:11 Dogfoger Which ones
  144. 5:11 Joeytje50 do you see the part with Or just add badWordsBeep(text); or unameBeep(text); to the onchatmessage function, if you already defined the function.
  145. 5:11 Dogfoger No
  146. 5:11 Dogfoger Wait
  147. 5:11 Dogfoger Yes
  148. 5:12 Dogfoger Something like that
  149. 5:12 Joeytje50 okay
  150. 5:12 Joeytje50 now read the things below that
  151. 5:12 Dogfoger var pings = 'Dogfoger|Yawns|Yawn|Waves|Wave|Dog|Doggy'; importScript('User:Joeytje50/chat-pings.js'); onchatmessage = function(text, rawtext) { text = unameBeep(text);//remove this line if you don't want username beeps text = badWordsBeep(text);//remove this line if you don't want bad words beeps
  152. 5:12 Dogfoger Thats on my page atm
  153. 5:12 Joeytje50 yes okay
  154. 5:12 Dogfoger Along with instructions for restarting
  155. 5:12 Joeytje50 okay read
  156. 5:12 Joeytje50 Also, if you haven't imported User:Joeytje50/chatmsg.js you should add the following above this script's import: importScript('User:Joeytje50/chatmsg.js');
  157. 5:12 Joeytje50 do you have importScript('User:Joeytje50/chatmsg.js') on your /chat.js page anywhere?
  158. 5:13 Dogfoger yesh
  159. 5:13 Joeytje50 nop
  160. 5:13 Dogfoger wut
  161. 5:13 Joeytje50 it's /chatmsg.js
  162. 5:13 Joeytje50 not /chat-pings.js
  163. 5:13 Dogfoger Lewk
  164. 5:13 Dogfoger this is the page i created
  165. 5:13 Dogfoger User:Dogfoger/chat.js
  166. 5:14 Joeytje50 hm nvm about the last thing I said, I'll fix it in my script
  167. 5:14 Joeytje50 okay
  168. 5:14 Joeytje50 now press ctrl+shift+del
  169. 5:14 Joeytje50 clear your cache again
  170. 5:14 Dogfoger kk
  171. 5:14 Joeytje50 and refresh chat
  172. 5:14 Dogfoger Cleard
  173. 5:14 Dogfoger K
  174. 5:15 Joeytje50 refreshed?
  175. 5:15 Dogfoger Refreshed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement