on *:TEXT:!stopvd*:#:{ if ($nick == Jcfc) { unset %vdplay unset %p1inf unset %p1drag unset %p1cav unset %player2 unset %p2inf unset %p2cav unset %p2drag unset %play unset %player1 notice $nick All saved data deleted. } else notice $nick Only Jcfc can do this. } on *:TEXT:!onvd*:#:{ if ($nick == Jcfc) { set %vd 1 notice $nick Violent Diplomacy is now ON. } } on *:TEXT:!offvd*:#:{ if ($nick == Jcfc) { set %vd 0 notice $nick Violent Diplomacy is now OFF. } } if (%p1cav == 0) && (%p1inf == 0) && (%p1drag == 0) { msg $chan Congratulations %player2 $+ ! You have won! unset %player1 unset %player2 unset %p1cav unset %p2cav unset %p1inf unset %p2inf unset %p1drag unset %p2drag unset %play unset %vdplay } if (%p2cav == 0) && (%p2inf == 0) && (%p2drag == 0) { msg $chan Congratulations %player1 $+ ! You have won! unset %player1 unset %player2 unset %p1cav unset %p2cav unset %p1inf unset %p2inf unset %p1drag unset %p2drag unset %play unset %vdplay } if (%player1 == %player2) { unset %player1 unset %player2 unset %p1cav unset %p2cav unset %p1inf unset %p2inf unset %p1drag unset %p2drag unset %play unset %vdplay notice %player1 You cannot play against yourself! } on :TEXT:!rules*:#: { notice $nick The game is quite simple. To begin, say !vd [NUMBER OF INFANTRY] [NUMBER OF DRAGOONS] [NUMBER OF CAVALRY], eg !vd 8000 2000 2500. notice $nick You have 20000 points to spend. Infantry cost 1 point each, dragoons 2 points each, and cavalry 4 points each. notice $nick If you are having problems, just say !support, and Jcfc will come to help you with whatever your problem is. notice $nick To attack, say !tell [YOURTROOP] [THEIRTROOP], for example say !tell cav inf. Note that the three commands are cav for cavalry, inf for infantry, and drag for dragoons. notice $nick If you want the game ended, ask Jcfc to do it. If you find any bugs, contact Jcfc. }