Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.59 KB | None | 0 0
  1. on *:TEXT:!enter*:#testing: {
  2.   if (%giveaway == off) { msg $chan 4There is not a giveaway going on in $chan right now. }
  3.   if (%giveaway == on) {
  4.     if ($nick == %giver) { msg $chan 4 %giver $+ , you cannot join the giveaway because you started it. }
  5.     elseif ($read(give.txt, s, $nick)) { msg $chan 4 $nick you cannot join the giveaway twice! You are entered with ticket number $readn $+ .
  6.     }
  7.     else {
  8.       write give.txt $nick
  9.       msg $chan 3Thank you $nick for joining the current giveaway in $chan for a/an %prize $+ . You have ticket number $lines(give.txt)
  10.     }
  11.   }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement