Seb

##werewolf Game on freenode

Seb
Feb 15th, 2014
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.14 KB | None | 0 0
  1. #wolfgame play snippet
  2.  
  3. alias wg { msg ##werewolf !join }
  4. alias ws { msg ##werewolf !stats }
  5. alias ll { .msg lykos $1- | .notice $me 14<7lykos14>14 $1- }
  6.  
  7.  
  8. on ^*:text:*:##werewolf:{
  9.   if ($nick == lykos) && ($2-7 == has started a game of Werewolf) {
  10.     ;if ($active == ##werewolf) { return }
  11.     echo -at 4***14[7##werewolf14]14 Game initiated! Type /wg to "join game"
  12.   }
  13.   if ($nick == lykos) && ($2-5 == has joined the game) && ($1 == $me) {  
  14.     ;if ($active == ##werewolf) { return }
  15.     echo -at 4***14[7##werewolf14]14 Game joined!
  16.   }
  17.   else {
  18.     if ($nick != lykos) { return }
  19.     if ($nick == lykos) {
  20.       echo $chan $timestamp 14<7#wolfgame14>14 $1-
  21.       halt
  22.     }
  23.   }
  24. }
  25.  
  26. menu channel {
  27.   [#wolfgame]
  28.   .!start:msg # !start
  29.   .!join:msg # !join
  30.   .!stats:msg # !stats
  31.   .!retract:msg # !retract
  32.   .!votes:msg # !votes
  33.   .!ping:msg # !ping
  34.   .!wait:msg #e !wait
  35.   .!simple:msg #e !simple
  36.   .!quit
  37.   ..Really Quit:msg # !quit
  38. }
  39. menu nicklist {
  40.   [#wolfgame $$1]
  41.   .!lynch:msg ##werewolf !lynch $$1
  42.   .See:msg lykos see $$1
  43.   .Id:msg lykos see $$1
  44.   .Kill:msg lykos kill $$1
  45. }
Add Comment
Please, Sign In to add comment