Advertisement
Guest User

Untitled

a guest
Oct 15th, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.38 KB | None | 0 0
  1. # uhelp.tcl v1.1 by Gemster 2011
  2. #
  3. # Help tcl script with almost all help info for unrealircd with anope services.
  4. # This script will allow all users to simple find a command they want without
  5. # having to navigate through /nickserv help, /chanserv help, /memoserv help
  6. # or by asking nertwork staff. Also adds an extra help system for all users.
  7. #
  8. # To use first unzip uhelp.zip and upload uhelp.tcl to your bots script dir,
  9. # open your eggdrop.conf and add this line to the bottom
  10. # source scripts/uhelp.tcl
  11. # then .rehash or .restart your bot.
  12. #
  13. # Commands are:
  14. # .help or what ever command you enter in the set hcommand ".htest" section below.
  15. #
  16. # Any errors please email me at admin@gemhosting.info
  17.  
  18.  
  19. ###########################
  20. # CHANGE THESE 2 SETTINGS #
  21. ###########################
  22.  
  23. #set the command for the bot to respond to in the channel. ie: .help
  24. set hcommand ".help"
  25.  
  26. #Set your help #channel here. ie: #help
  27. set hchannel "#help"
  28.  
  29.  
  30. #############################################################
  31. # DON'T EDIT BELOW HERE UNLESS YOU KNOW WHAT YOU ARE DOING. #
  32. #############################################################
  33.  
  34. bind pub - "$hcommand" pub:help
  35. proc pub:help {nick host hand chan text} {
  36. global hchannel
  37. if {"$chan" != "$hchannel"} {
  38. return
  39. }
  40. switch -- [string tolower [lindex [split $text] 0]] {
  41. "1" {
  42. putquick "NOTICE $nick : ...\00312How To Register an UserName\003..."
  43. putquick "NOTICE $nick : \0034 11)\003 Change Nick"
  44. putquick "NOTICE $nick : \0034 12)\003 Register an UserName"
  45. putquick "NOTICE $nick : \0034 13)\003 Recover UserName"
  46. putquick "NOTICE $nick : \0034 14)\003 Change Password of your UserName"
  47. putquick "NOTICE $nick : \0034 15)\003 Purge your Channel"
  48. }
  49. "2" {
  50. putquick "NOTICE $nick : ...\00312Channel Registrations\003..."
  51. putquick "NOTICE $nick : \0034 21)\003 Register"
  52. putquick "NOTICE $nick : \0034 24)\003 Set"
  53. putquick "NOTICE $nick : \0034 28)\003 Access"
  54. putquick "NOTICE $nick : \0034 30)\003 Levels"
  55. }
  56. "3" {
  57. putquick "NOTICE $nick : ...\00312Bans\003..."
  58. putquick "NOTICE $nick : \0034 77)\003 Ban Nick"
  59. putquick "NOTICE $nick : \0034 78)\003 Ident Ban"
  60. putquick "NOTICE $nick : \0034 79)\003 Host Ban"
  61. }
  62. "11" {
  63. putquick "NOTICE $nick : \0033To Change Your Nick Type:\003 /nick NewNick"
  64. }
  65. "12" {
  66. putquick "NOTICE $nick : \0033To register your UserName(we have 2 ways) First way Type:\003 /msg x hello and follow the steps or The Second way: http://globalirc.cf/live"
  67. }
  68. "14" {
  69. putquick "NOTICE $nick : \0033Login to your username Type:\003 /msg x@channels.undernet.org login <Your username> <Your SECRET password>"
  70. }
  71. "16" {
  72. putquick "NOTICE $nick : \0033If someone else is using your UserName:\003 /join #UserNames for more info"
  73. }
  74. "19" {
  75. putquick "NOTICE $nick : \0033To change the password of your UserName go to:\003 http://globalirc.cf/live ,First you need to login, enter your username and password in the box provided at the site. Then click on the link "New Password"
  76. }
  77. "21" {
  78. putquick "NOTICE $nick : \0033 How i Register my channel Type:\003 /msg x register #your-channel"
  79. }
  80. "23" {
  81. putquick "NOTICE $nick : \0033To PURGE your channel first you must login on http://globalirc.cf/live where you’ll need to login to your username and click *Forms* and then "Purge Request" ,and follow the steps.
  82. }
  83. "24" {
  84. putquick "NOTICE $nick : ...\00312Most popular channel Settings\003..."
  85. putquick "NOTICE $nick : \0034 35)\003 Set Description: /msg x set #channel_here desc Your_description_here"
  86. putquick "NOTICE $nick : \0034 36)\003 Set URL: /msg x set #channe_here url your_url"
  87. putquick "NOTICE $nick : \0034 36)\003 Set floatlimit: /msg x set #channel_here floatlim on
  88. }
  89. "28" {
  90. putquick "NOTICE $nick : ...\00312Channel Access List\003..."
  91. putquick "NOTICE $nick : \0034 57)\003 Access Add: /msg x adduser #channel_here UserName level "
  92. putquick "NOTICE $nick : \0034 58)\003 Access Delete: /msg x remuser #channel_here username"
  93. putquick "NOTICE $nick : \0034 59)\003 Access List: /msg x status #channel_here"
  94. }
  95. "29" {
  96. putquick "NOTICE $nick : ...\00312Chanserv Akick\003..."
  97. putquick "NOTICE $nick : \0034 60)\003 Akick Add"
  98. putquick "NOTICE $nick : \0034 61)\003 Akick Delete"
  99. putquick "NOTICE $nick : \0034 62)\003 Akick List"
  100. }
  101. "30" {
  102. putquick "NOTICE $nick : ...\00312Chanserv Levels\003..."
  103. putquick "NOTICE $nick : \0034 63)\003 Levels Set"
  104. putquick "NOTICE $nick : \0034 64)\003 Levels Disable"
  105. putquick "NOTICE $nick : \0034 65)\003 Levels List"
  106. putquick "NOTICE $nick : \0034 66)\003 Levels Reset"
  107. }
  108. "31" {
  109. putquick "NOTICE $nick : ...\00312Chanserv Clear\003..."
  110. putquick "NOTICE $nick : \0034 67)\003 Clear Ops"
  111. putquick "NOTICE $nick : \0034 68)\003 Clear Users"
  112. putquick "NOTICE $nick : \0034 69)\003 Clear Bans"
  113. putquick "NOTICE $nick : \0034 70)\003 Clear Modes"
  114. putquick "NOTICE $nick : \0034 71)\003 Clear Voices"
  115. }
  116. "32" {
  117. putquick "NOTICE $nick : \0033To change the founder of a channel Type:\003 /msg chanserv set #channel founder nick"
  118. }
  119. "33" {
  120. putquick "NOTICE $nick : \0033To set a successor which becomes the founder if the founder's nick expires or is dropped Type:\003 /msg chanserv set #channel successor nick"
  121. }
  122. "34" {
  123. putquick "NOTICE $nick : \0033To change the password for a channel Type:\003 /msg chanserv set #channel password NewPassword"
  124. }
  125. "35" {
  126. putquick "NOTICE $nick : \0033To change the channel description Type:\003 /msg chanserv set #channel desc Description"
  127. }
  128. "36" {
  129. putquick "NOTICE $nick : \0033To set a URL to be associated with a channel Type:\003 /msg chanserv set #channel URL http://url.here.com"
  130. }
  131. "37" {
  132. putquick "NOTICE $nick : \0033To set an email to be associated with a channel Type:\003 /msg chanserv set #channel email email@here.com"
  133. }
  134. "38" {
  135. putquick "NOTICE $nick : \0033To set an entry message that users will see when joining the channel Type:\003 /msg chanserv set #channel entrymsg message"
  136. }
  137. "39" {
  138. putquick "NOTICE $nick : \0033To set the Keep Topic option which keeps the topic for the channel even if its empty Type:\003 /msg chanserv set #channel keeptopic on"
  139. }
  140. "40" {
  141. putquick "NOTICE $nick : \0033To lock the topic so it cannot be changed using the /topic command Type:\003 /msg chanserv set #chanserv topiclock on/off (the /msg chanserv set #channel topic NewTopic command may still be used if TopicLock is on)"
  142. }
  143. "41" {
  144. putquick "NOTICE $nick : \0033To lock certain modes on or off Type:\003 /msg chanserv set #channel mlock +modes-modes"
  145. }
  146. "42" {
  147. putquick "NOTICE $nick : \0033To restrict the use of the channel from all users except the founder Type:\003 /msg chanserv set #channel restricted on/off"
  148. }
  149. "43" {
  150. putquick "NOTICE $nick : \0033To activate ChanServ's security features which ensure a user must me registered and identified to gain access to the channel as their level on the access list allows Type:\003 /msg chanserv set #channel secure on/off"
  151. }
  152. "44" {
  153. putquick "NOTICE $nick : \0033To activate secure ops which prevents random op'ing in a channel Type:\003 /msg chanserv set #channel secureops on/off"
  154. }
  155. "45" {
  156. putquick "NOTICE $nick : \0033To ensure only the true channel founder can drop the channel, change the password, the founder or the successor and not just anyone who is identified to the channel through ChanServ Type:\003 /msg chanserv set #channel securefounder on/off"
  157. }
  158. "46" {
  159. putquick "NOTICE $nick : \0033To send a notice when the ChanServ op/deop command is used Type:\003 /msg chanserv set #channel opnotice on/off"
  160. }
  161. "47" {
  162. putquick "NOTICE $nick : \0033To activate the AOP, SOP, and VOP lists Type:\003 /msg chanserv set #channel XOP on"
  163. }
  164. "48" {
  165. putquick "NOTICE $nick : \0033To add a user to your channel Auto-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv AOP #channel add user"
  166. }
  167. "49" {
  168. putquick "NOTICE $nick : \0033To delete a user from your channel Auto-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv AOP #channel del user"
  169. }
  170. "50" {
  171. putquick "NOTICE $nick : \0033To list all users on the Auto-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv AOP #channel list"
  172. }
  173. "51" {
  174. putquick "NOTICE $nick : \0033To add a user to your channel Super-Op lis, the Chanserv XOp mode must be on. Type:\003 /msg chanserv SOP #channel add user"
  175. }
  176. "52" {
  177. putquick "NOTICE $nick : \0033To delete a user from your channel Super-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv SOP #channel del user"
  178. }
  179. "53" {
  180. putquick "NOTICE $nick : \0033To list all users on the Super-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv SOP #channel list"
  181. }
  182. "54" {
  183. putquick "NOTICE $nick : \0033To add a user to your channel Voice-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv VOP #channel add user"
  184. }
  185. "55" {
  186. putquick "NOTICE $nick : \0033To delete a user from your channel Voice-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv VOP #channel del user"
  187. }
  188. "56" {
  189. putquick "NOTICE $nick : \0033To list all users on the Voice-Op list, the Chanserv XOp mode must be on. Type:\003 /msg chanserv VOP #channel list"
  190. }
  191. "57" {
  192. putquick "NOTICE $nick : \0033To add a user to your channel access list Type:\003 /msg chanserv access #channel add user level (the default levels settings vary from can be from -2 to 10, but can be changed using the ChanServ levels command)"
  193. }
  194. "58" {
  195. putquick "NOTICE $nick : \0033To delete a user from your channel access Type:\003 /msg chanserv access #channel del user"
  196. }
  197. "59" {
  198. putquick "NOTICE $nick : \0033To list all users on the access list and their levels Type:\003 /msg chanserv access #channel list"
  199. }
  200. "60" {
  201. putquick "NOTICE $nick : \0033To set an akick Type:\003 /msg chanserv akick #channel add user/ident/host reason"
  202. }
  203. "61" {
  204. putquick "NOTICE $nick : \0033To remove a user from the channel akick list Type:\003 /msg chanserv akick #channel del nick/ident/host -OR- /msg chanserv akick #channel del EntryNumber"
  205. }
  206. "62" {
  207. putquick "NOTICE $nick : \0033To list all akick's for a channel Type:\003 /msg chanserv akick #channel list"
  208. }
  209. "63" {
  210. putquick "NOTICE $nick : \0033To change the levels setting for your channel Type:\003 /msg chanserv levels #channel set type level"
  211. }
  212. "64" {
  213. putquick "NOTICE $nick : \0033To disable a function to all users except the founder Type:\003 /msg chanserv levels #channel disable type"
  214. }
  215. "65" {
  216. putquick "NOTICE $nick : \0033To list your channel's current levels settings Type:\003 /msg chanserv levels #channel list"
  217. }
  218. "66" {
  219. putquick "NOTICE $nick : \0033To reset your channel's levels to the default level settings Type:\003 /msg chanserv levels #channel reset"
  220. }
  221. "67" {
  222. putquick "NOTICE $nick : \0033To remove +o from all users on your channel with operator status Type:\003 /msg chanserv clear #channel ops"
  223. }
  224. "68" {
  225. putquick "NOTICE $nick : \0033To remove all users from your channel Type:\003 /msg chanserv clear #channel users"
  226. }
  227. "69" {
  228. putquick "NOTICE $nick : \0033To remove all bans from your channel Type:\003 /msg chanserv clear #channel bans"
  229. }
  230. "70" {
  231. putquick "NOTICE $nick : \0033To remove all modes from your channel Type:\003 /msg chanserv clear #channel modes"
  232. }
  233. "71" {
  234. putquick "NOTICE $nick : \0033To remove +v from all users on your channel with voice-op status Type:\003 /msg chanserv clear #channel voices"
  235. }
  236. "72" {
  237. putquick "NOTICE $nick : \0033To send a memo your nick must be registered, Type:\003 /msg memoserv send nick/channel Message"
  238. }
  239. "73" {
  240. putquick "NOTICE $nick : \0033To read a memo Type:\003 /msg memoserv read 1-5"
  241. }
  242. "74" {
  243. putquick "NOTICE $nick : \0033To set a limit to the amount of memos you can have at once Type:\003 /msg memoserv set limit number"
  244. }
  245. "75" {
  246. putquick "NOTICE $nick : \0033To cancel the last memo you sent Type:\003 /msg memoserv cancle nick/channel"
  247. }
  248. "76" {
  249. putquick "NOTICE $nick : \0033To delete a memo Type:\003 /msg memoserv del 1-5"
  250. }
  251. "77" {
  252. putquick "NOTICE $nick : \0033To do a nick ban Type:\003 /mode #channel +b nick (effective at only keeping a certain nick out of a channel, easiest to evade)"
  253. }
  254. "78" {
  255. putquick "NOTICE $nick : \0033To do an ident ban Type:\003 /mode #channel +b *!*ident@*.host.com (this is the most commonly used ban, will only ban the single user)"
  256. }
  257. "79" {
  258. putquick "NOTICE $nick : \0033To do a host ban Type:\003 /mode #channel +b *!*@*.host.com (this is the most effective ban, but it will ban all users with the same host)"
  259. }
  260. default {
  261. putquick "NOTICE $nick : \00312Please refer to this list of help files befor you ask a question in this channel.\0033Use .help <number> for the relavent question.\0037 ie: .help 3\003"
  262. putquick "NOTICE $nick : \0034 1)\003 Nickserv"
  263. putquick "NOTICE $nick : \0034 2)\003 Chanserv"
  264. putquick "NOTICE $nick : \0034 3)\003 Memoserv"
  265. putquick "NOTICE $nick : \0034 4)\003 Bans"
  266. putquick "NOTICE $nick : \00312 Please Use .help <number> \0037ie: For memoserv questions type .help 3\003"
  267. }
  268. }
  269. }
  270. putlog "LOADED: uhelp.tcl v1.1 by Gemster admin@gemhosting.info"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement