Advertisement
dotMaiku

Soku Lobby Commands

Mar 5th, 2011
3,651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.20 KB | None | 0 0
  1. # A note on syntax: <> means required, [] means optional.
  2. # Each command description has the following syntax:
  3. # Line 1: Regex used to match the command
  4. # Line 2: Who can use the command
  5. # Line 3: Usage
  6. # Line 4: Description of what the command does
  7.  
  8. ^reload$
  9. mod *DISABLED*
  10. # /reload
  11. # Reloads triggers, commands, "not amused" words, slap objects, and bans
  12.  
  13. ^rebuild_whos_online$
  14. mod
  15. # /rebuild_whos_online
  16. # Rebuilds the server's internal cache of online users
  17.  
  18. ^triggers[-_\s]+(left|remaining)$
  19. all
  20. # /triggers_left
  21. # Displays the number of triggers you have left
  22.  
  23. ^ver\s+(.*)$
  24. mod
  25. # /ver <NAME>
  26. # Displays the version a user has
  27.  
  28. ^who$
  29. all
  30. # /who
  31. # Displays a list of everyone in the room
  32.  
  33. ^(vote)?(mute|silence)\s+(.*)$
  34. all
  35. # /mute <NAME>
  36. # Votes to mute a user, 3 votes needed
  37.  
  38. ^shutup\s+(.*)$
  39. mod
  40. # /shutup <NAME>
  41. # Instantly mutes a user
  42.  
  43. ^unmute\s+(.*)$
  44. mod
  45. # /unmute <NAME>
  46. # Unmutes a user
  47.  
  48. ^ban\s(.*?)(\s+\%\s+(.*))?$
  49. mod
  50. # /ban <NAME> [%REASON]
  51. # Bans a user and displays the reason
  52.  
  53. ^permaban\s+(.*?)(\s+\%\s*(.*))?$
  54. admin
  55. # /permaban <NAME> [%REASON]
  56. # Permanently bans a user
  57.  
  58. ^banip\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(\s+\%\s*(.*))?$
  59. mod
  60. # /banip <IP> [%REASON]
  61. # Bans an IP address
  62.  
  63. ^permabanip\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})(\s+\%\s*(.*))?$
  64. admin
  65. # /permabanip <IP> [%REASON]
  66. # Permanently bans an IP
  67.  
  68. ^unban\s+(.*)$
  69. mod
  70. # /unban <NAME>
  71. # Unbans a user (must be online)
  72.  
  73. ^banlist$
  74. mod
  75. # /banlist
  76. # Lists all active bans
  77.  
  78. ^down$
  79. admin *DISABLED*
  80. # /down
  81. # Shuts down the server
  82.  
  83. ^me\s+(.*)$
  84. all
  85. # /me <MSG>
  86. # Displays a self action
  87.  
  88. ^facepalms?$
  89. all
  90. # /facepalm
  91. # Same as /me facepalms
  92.  
  93. ^((to|msg)\s+)(.*)$
  94. all
  95. # /msg <NAME> <MSG>
  96. # Sends a whisper to a user
  97.  
  98. ^ip$
  99. all
  100. # /ip
  101. # Displays your IP:Port
  102.  
  103. ^ip\s+(.*)$
  104. mod
  105. # /ip <NAME>
  106. # Displays the IP:Port of a user
  107.  
  108. ^time$
  109. all
  110. # /time
  111. # Displays the current GMT time
  112.  
  113. ^help|triggers$
  114. all
  115. # /help
  116. # Displays the link to the tutorial
  117.  
  118. ^commands$
  119. all
  120. # /commands
  121. # Displays a link to this pastebin
  122.  
  123. ^faq$
  124. all
  125. # /faq
  126. # Displays the link to the FAQ
  127.  
  128. ^bugs$
  129. all
  130. # /bugs
  131. # Displays the link to known bugs
  132.  
  133. ^rules$
  134. all
  135. # /rules
  136. # Displays a link to the rules
  137.  
  138. ^change(s|log)?$
  139. all
  140. # /changes
  141. # /changelog
  142. # Displays a link to the changelog
  143.  
  144. ^server\s+(.*)$
  145. admin *DISABLED*
  146. # /server <MSG>
  147. # Displays a message from the server to everyone
  148.  
  149. ^slap\s+(.*)$
  150. all
  151. # /slap <NAME>
  152. # Slaps a user
  153.  
  154. ^flowchart\s+(.*)$
  155. all
  156. # /flowchart <CHART NAME>
  157. # Displays a link to a flowchart
  158. # /flowchart ?
  159. # Lists available flowcharts
  160.  
  161. ^not\s*amused$
  162. all
  163. # /notamused
  164. # Displays 'NAME is not amused'
  165.  
  166. ^amused$
  167. all
  168. # /amused
  169. # Displays 'NAME is amused'
  170.  
  171. ^away|idle$
  172. all
  173. # /away
  174. # /idle
  175. # Forces yourself idle
  176.  
  177. ^alert[_\s]*lobby\s+(.*)$
  178. mod
  179. # /alert_lobby <MSG>
  180. # Show a pop-up alert for all users
  181.  
  182. ^alert\s+(.*)$
  183. mod
  184. # /alert <NAME> <MSG>
  185. # Show a pop-up alert for one user
  186.  
  187. ^rm_room\s+(.*)$
  188. mod
  189. # /rm_room <ROOM>
  190. # Force remove a room
  191.  
  192. ^rm_rooms$
  193. mod
  194. # /rm_rooms
  195. # Remove rooms without a host
  196.  
  197. ^code\s+(.*)$
  198. admin *DISABLED*
  199. # /code <CODE>
  200. # Execute code on the server
  201.  
  202. ^whois\s+(.*)$
  203. mod
  204. # /whois <IP>
  205. # IP -> Username
  206.  
  207. ^motd$
  208. all
  209. # /motd
  210. # Display the Message Of The Day
  211.  
  212. ^motd\s+(.*)$
  213. mod
  214. # /motd <NEW MOTD>
  215. # Updates the Message Of The Day
  216.  
  217. ^logs?$
  218. mod
  219. # /logs
  220. # Displays a link to the server logs
  221.  
  222. ^log\s+(.*)$
  223. mod
  224. # /log 2011-10-03
  225. # Displays a link to the specific log file
  226.  
  227. ^print\s+(.*)$
  228. admin
  229. # /print $gName
  230. # Evaluates the text and displays its value
  231.  
  232. ^lookup\s+(.*)$
  233. mod
  234. # /lookup <PLAYER>
  235. # Looks up the player's information (including IP and such)
  236.  
  237. ^wiki$
  238. all
  239. # /wiki
  240. # Displays a link to the wiki
  241.  
  242. ^wiki\s+(.*)$
  243. all
  244. # /wiki <PAGE NAME>
  245. # Displays a link to a specific page on the wiki
  246.  
  247. ^setloc\s+([^%]*?)\s*%\s*(.*)$
  248. mod
  249. # /setloc <PLAYER> <%NEW LOCATION>
  250. # Change's a player's location
  251.  
  252. ^stopslap\s+(.*)$
  253. mod
  254. # /stopslap <PLAYER>
  255. # Prevents a player from using /slap
  256.  
  257. ^whoslap|slaplist$
  258. mod
  259. # /whoslap
  260. # /slaplist
  261. # Displays a list of the most recent slaps and who did them
  262.  
  263. ^random$
  264. all
  265. # /random
  266. # Picks a random character
  267.  
  268. ^kick\s+(.*)$
  269. mod
  270. # /kick <PLAYER>
  271. # Kicks a player from the server
  272.  
  273. ^rename\s+(.*)\%\s*(.*)$
  274. mod
  275. # /rename <CURRENT NAME> <NEW NAME>
  276. # Renames a player (while they're logged in)
  277.  
  278. ^award\s+(\d+)\s+(.*)$
  279. mod
  280. # /award <ACHIEVEMENT #> <PLAYER>
  281. # Gives an achievement to a player
  282.  
  283. ^revoke\s+(\d+)\s+(.*)$
  284. mod
  285. # /revoke <ACHIEVEMENT #> <PLAYER>
  286. # Takes away an achievement from a player
  287.  
  288. ^clear_amused$
  289. all
  290. # /clear_amused
  291. # Removes ALL "Not Amused" achievements from your profile
  292.  
  293. ^kickself|selfkick$
  294. all *DISABLED*
  295. # /kickself
  296. # /selfkick
  297. # Kicks yourself from the lobby (logout) and leaves a message
  298. # (A 5 minute ban is added to prevent abuse)
  299.  
  300. ^streamlink\s+(.*)$
  301. all
  302. # /streamlink http://livestream.com/dotmaiku
  303. # Sets the link you use for streaming
  304.  
  305. ^broadcast\s*(.*)$
  306. all
  307. # /broadcast [DESCRIPTION]
  308. # Broadcasts to the current room that you are streaming.
  309. # (Can only use once per 10 minutes and renews your stream)
  310.  
  311. ^stop\s*broadcast$
  312. all
  313. # /stopbroadcast
  314. # Force removes you from the stream list
  315. # (this is automatically done after 3 hours unless renewed)
  316.  
  317. ^stream\s+(.*)$
  318. all
  319. # /stream <NAME>
  320. # Gets the streaming link for someone
  321.  
  322. ^stream$
  323. all
  324. # /stream
  325. # Lists all known users who are streaming
  326.  
  327. ^host\s*(.*)$
  328. all
  329. # /host [DESCRIPTION]
  330. # Announces that you are hosting a match
  331. # (Your IP, port, and location in the lobby are used. Make sure these are correct.)
  332. # (Can only use once per 5 minutes and renews your host info)
  333.  
  334. ^(un|stop)\s*host(ing)?$
  335. all
  336. # /unhost
  337. # /stophost
  338. # Announces that you are no longer hosting
  339. # (this is automatically done after 3 hours unless renewed)
  340.  
  341. ^who\s*host$
  342. all
  343. # /whohost
  344. # Lists everyone who is hosting
  345.  
  346. ^bold\s+(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s+(.*)$
  347. admin
  348. # /bold red,green,blue message
  349. # /bold 255,0,0 Bolded text
  350. # Sends a message in bold text of a given color to the current room.
  351. # The color values are in the order: red, green, blue and must be from 0 to 255.
  352.  
  353. ^welcome\s+(.*)$
  354. mod *DISABLED*
  355. # /welcome $NAME has logged in.
  356. # Changes the message that appears when you login.
  357. # Your message must contain $NAME - which is replaced with your name.
  358.  
  359. ^unwelcome$
  360. all
  361. # /unwelcome
  362. # Removes your welcome message that was created with /welcome
  363.  
  364. ^save$
  365. mod
  366. # /save
  367. # Forces all variables in the global space to be saved to a file.
  368. # The global space contains data for commands like /stream, /host, and /welcome.
  369.  
  370. ^load$
  371. mod
  372. # /load
  373. # Loads all variables from a file into the global space.
  374. # This will trash any existing variables that haven't been saved yet.
  375.  
  376. ^poll$
  377. all
  378. # /poll
  379. # Displays the current poll
  380.  
  381. ^vote\s+(.*)$
  382. all
  383. # /vote yes
  384. # /vote option
  385. # Casts your vote for an item in the poll.
  386.  
  387. ^(stop|end)\s*poll$
  388. mod
  389. # /stoppoll
  390. # /endpoll
  391. # Stops the current poll and shows the results to everyone.
  392.  
  393. ^(start)?\s*poll\s+([^\%]+)(\%.+)?$
  394. mod
  395. # /startpoll Yes/No question
  396. # /poll Mutliple choice %Choice1, Choice2, Choice3
  397. # Starts a new poll.
  398. # Provide options after % and separated by commas.
  399. # If no options are given, defaults to yes/no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement