Guest User

Untitled

a guest
Jun 3rd, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.04 KB | None | 0 0
  1. # Command Bindings
  2.  
  3. bind pub -|- ~commands proc_commands
  4.  
  5. # Commands Process
  6.  
  7. proc proc_commands { nick uhost hand chan text } {
  8. if {[matchattr $hand m|m $chan]} {
  9. putquick "NOTICE $nick :You Are Currently Bot Master, And Have Access To The Following Commands"
  10. proc_listcommands $nick $uhost $hand $chan
  11. return 0
  12. } elseif {[matchattr $hand o|o $chan]} {
  13. putquick "NOTICE $nick :You Are Currently Auto-Op, And Have Access To The Following Commands"
  14. proc_listcommands $nick $uhost $hand $chan
  15. return 0
  16. } else {
  17. putquick "NOTICE $nick :You Are A Basic User, And Have Access To Teh Following Commands"
  18. proc_listcommands $nick $uhost $hand $chan
  19. return 0
  20. }
  21. }
  22.  
  23. proc proc_listcommands { nick uhost hand chan } {
  24. global botnick
  25. putquick "NOTICE $nick :\002BASIC USER COMMANDS\002"
  26. putquick "NOTICE $nick :\002BLACKJACK COMMANDS\002 (must have more than 1 player to play)"
  27. putquick "NOTICE $nick :\002?blackjack on\002 - turn on blackjack in the channel (must be bot owner)"
  28. putquick "NOTICE $nick :\002?blackjack off\002 - turn off blackjack in the channel (must be bot owner)"
  29. putquick "NOTICE $nick :\002?blackjack\002 - start a game"
  30. putquick "NOTICE $nick :\002?blackjack stats\002 - get channel stats for blackjack"
  31. putquick "NOTICE $nick :\002?blackjack version\002 - shows the blackjack script version"
  32. putquick "NOTICE $nick :\002?join\002 - join a game once started"
  33. putquick "NOTICE $nick :\002?card\002 - get a card"
  34. putquick "NOTICE $nick :\002?enough\002 - finish with what cards you have"
  35. putquick "NOTICE $nick :\002?stop\002 - ends the game (must be bot owner)"
  36. putquick "NOTICE $nick :\002COIN AND ROLL COMMANDS\002"
  37. putquick "NOTICE $nick :\002!coin nick\002 - to flip a coin between you and another nick"
  38. putquick "NOTICE $nick :\002!coin nick1 nick2\002 - to flip a coin between the two named nicks"
  39. putquick "NOTICE $nick :\002!roll nick1 nick2 nick3\002 - list any two or more nicks as the players, can use +me or your nick to include yourself"
  40. putquick "NOTICE $nick :\002!roll nick\002 - command user will be the second player"
  41. putquick "NOTICE $nick :\002!roll -all\002 - rolls the dice for every user in the channel"
  42. putquick "NOTICE $nick :\002!roll <number of players>\002 - example !roll 14, will roll 14 random nicks in the channel"
  43. putquick "NOTICE $nick :\002FIGHT COMMANDS\002"
  44. putquick "NOTICE $nick :\002!fight nick\002 - starts a fight with the nick"
  45. putquick "NOTICE $nick :\002!fj or !jab\002 - setup a jab"
  46. putquick "NOTICE $nick :\002!fp or !punch\002 - setup a punch"
  47. putquick "NOTICE $nick :\002!fk or !kick\002 - setup a kick"
  48. putquick "NOTICE $nick :\002!fu or !uppercut\002 - setup an uppercut"
  49. putquick "NOTICE $nick :\002!fg or !guard\002 - use guard"
  50. putquick "NOTICE $nick :\002!fd or !dodge\002 - dodge the attack"
  51. putquick "NOTICE $nick :\002!fs or !suicide\002 - kamikaze"
  52. putquick "NOTICE $nick :\002!fstat\002 - show your fight stats"
  53. putquick "NOTICE $nick :\002!fversion\002 - shows the script version"
  54. putquick "NOTICE $nick :\002!fhis\002 - shows fight history"
  55. putquick "NOTICE $nick :\002!HOLDEM POKER COMMANDS\002"
  56. putquick "NOTICE $nick :\002!holdem\002 - starts the game"
  57. putquick "NOTICE $nick :\002!join\002 - joins a started game"
  58. putquick "NOTICE $nick :\002!play\002 - use to start a game without waiting 60secs for others to join"
  59. putquick "NOTICE $nick :\002call\002"
  60. putquick "NOTICE $nick :\002check\002"
  61. putquick "NOTICE $nick :\002raise amount\002 - use to raise the bet, ie. raise 20 or raise all-in"
  62. putquick "NOTICE $nick :\002fold\002 - give up on the current hand being played"
  63. putquick "NOTICE $nick :\002cards\002 - shows your current hand"
  64. putquick "NOTICE $nick :\002!endgame\002 - stops the game"
  65. putquick "NOTICE $nick :\002FISHING AND HUNTING COMMANDS\002"
  66. putquick "NOTICE $nick :\002!hunt\002 - try and hunt something"
  67. putquick "NOTICE $nick :\002!cast\002 - try to catch a fish"
  68. putquick "NOTICE $nick :\002!trophy\002 - shows current record holders"
  69. putquick "NOTICE $nick :\002UNO COMMANDS\002"
  70. putquick "NOTICE $nick :\002!uno\002 - starts a game of uno"
  71. putquick "NOTICE $nick :\002join\002 - join a game"
  72. putquick "NOTICE $nick :\002!remove\002 - remove yourself from a game in progress"
  73. putquick "NOTICE $nick :\002time\002 - shows how long the current game has been running"
  74. putquick "NOTICE $nick :\002order\002 - shows the order of players"
  75. putquick "NOTICE $nick :\002hand\002 - shows your current cards"
  76. putquick "NOTICE $nick :\002turn\002 - shows whos turn it is to play a card"
  77. putquick "NOTICE $nick :\002players\002 - shows the list of players in the current game"
  78. putquick "NOTICE $nick :\002play\002 - play a card. to play a yellow 2 you would type play y 2"
  79. putquick "NOTICE $nick :\002card\002 - shows the current card in play"
  80. putquick "NOTICE $nick :\002draw\002 - draw a card if you have nothing to use"
  81. putquick "NOTICE $nick :\002color\002 - used with WILD and WILD DRAW FOUR, usage is color yellow or color red etc."
  82. putquick "NOTICE $nick :\002pass\002 - use after drawing a card if you didnt pick up something you could use"
  83. putquick "NOTICE $nick :\002count\002 - shows how many cards each player has left in their hand"
  84. putquick "NOTICE $nick :\002!unowon\002 - shows how many games you have won"
  85. putquick "NOTICE $nick :\002!unotop10\002 - shows the top 10 players"
  86. putquick "NOTICE $nick :\002!unorules\002 - shows the rules for gameplay"
  87. putquick "NOTICE $nick :\002MISC COMMANDS\002"
  88. putquick "NOTICE $nick :\002!pastlife\002 - usage is !pastlife month day year ie. !pastlife 9 17 1982"
  89. putquick "NOTICE $nick :\002!morbid\002 - will display a random morbid fact"
  90. putquick "NOTICE $nick :\002!fact\002 - will display a random fact"
  91. putquick "NOTICE $nick :\002!timebomb nick\002 - timebombs the nickname with random number of wires and time, user must cutwire color to save themselves"
  92. putquick "NOTICE $nick :\002trivia\002 - toggles start and stop of trivia game"
  93. putquick "NOTICE $nick :\002END OF BASIC USER COMMANDS\002"
  94. if {[matchattr $hand o|o $chan]} {
  95. putquick "NOTICE $nick :\002AUTO-OP COMMANDS\002"
  96. putquick "NOTICE $nick :~commands\002 - Kinda Obvious Don't Ya Think.."
  97. putquick "NOTICE $nick :~opme\002 - Have The Bot Op You"
  98. putquick "NOTICE $nick :~deopme\002 - Have The Bot De-Op You"
  99. putquick "NOTICE $nick :~op <nickname>\002 - Have The Bot Op Someone"
  100. putquick "NOTICE $nick :~deop <nickname>\002 - Have Tbe Bot DeOp Someone"
  101. putquick "NOTICE $nick :~whois <nickname>\002 - Find Out If The Nickname Is In The Bots User Database"
  102. putquick "NOTICE $nick :~kick <nickname>\002 - Have The Bot To A Quick Kick Of Nickname"
  103. putquick "NOTICE $nick :~ban <nickname>\002 - Have The Bot Do A Quick Kick/Ban Of Nickname"
  104. putquick "NOTICE $nick :~server\002 - Find Out What Server:Port The Bot Is On"
  105. putquick "NOTICE $nick :~lc\002 - Lock The Channel To Prevent Flooding"
  106. putquick "NOTICE $nick :~uc\002 - Unlock The Channel"
  107. putquick "NOTICE $nick :\002END OF AUTO-OP COMMANDS\002"
  108. }
  109. if {[matchattr $hand m|m $chan]} {
  110. putquick "NOTICE $nick :\002BOT MASTER COMMANDS\002"
  111. putquick "NOTICE $nick :~addop <nickname>\002 - Add The Nickname To The Bots Auto-Op List"
  112. putquick "NOTICE $nick :~delop <nickname>\002 - Remove The Nickname From The Bots Auto-Op List"
  113. putquick "NOTICE $nick :~adduser <nickname>\002 - Add User To The User Database With Default Flags"
  114. putquick "NOTICE $nick :~deluser <nickname>\002 - Remove A User From The Bots Database, Can Be Used If User Needs To Re-Register With The Bot"
  115. putquick "NOTICE $nick :~jump <server>\002 - Forces The Bot To Change Servers To Server Entered"
  116. putquick "NOTICE $nick :~update\002 - Manually Update The Stats Site"
  117. putquick "NOTICE $nick :~gban <nickname>\002 - Add A Global Ban To The Bots Internal Ban List (ie: akick)"
  118. putquick "NOTICE $nick :\002END OF BOT MASTER COMMANDS"
  119. }
  120. }
  121.  
  122.  
  123. putlog "*** Op Commands by xTc^bLiTz <[email protected]> Loaded"
Advertisement
Add Comment
Please, Sign In to add comment