All pastes #400646 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-03-18 20:49 UTC
rendered paste body
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  You need to type: /run notepad.exe show1.txt
;  You need to type: /run notepad.exe show2.txt
;  You need to type: /run notepad.exe ppv.txt
;
;   When it asks "Cannot find x file, Do you want to create a new file?"
;   Click YES.
;
;    After you create a file called show1.txt, show2.txt, and ppv.txt 
;    (They must be in your mIRC Directory (e.g C:\mIRC\filename.txt)
;
;    Then you can edit them with whatever you want to display
;
;    Command: !Card Show1/Show2/PPV
;
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


on *:TEXT:!card*:#WWI2:{
  if (%CC. [ $+ [ $address($nick,2) ] ] >= 3) { halt }
  if (%CC. [ $+ [ $address($nick,2) ] ] == 2) { set -u60 %CC. [ $+ [ $address($nick,2) ] ] 3 }
  if (%CC. [ $+ [ $address($nick,2) ] ] == 1) { set -u60 %CC. [ $+ [ $address($nick,2) ] ] 2 }
  if (%CC. [ $+ [ $address($nick,2) ] ] == $null) { set -u60 %CC. [ $+ [ $address($nick,2) ] ] 1 }  
  if (($2 == Change-me-to-show1-name) && (%card.show1 == $null)) { set -u20 %card.show1 on | .play $chan show1.txt 1000 | HALT }
  if (($2 == Change-me-to-show2-name) && (%card.show2 == $null)) { set -u20 %card.show2 on | .play $chan show2.txt 1000 | HALT }
  if (($2 == PPV) && (%card.ppv == $null)) { set -u20 %card.ppv on | .play $chan ppv.txt 1000 | HALT }
  else { .notice $nick Please use either Show1, Show2, or PPV. | HALT }
}