Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:!enter*:#testing: {
- if (%giveaway == off) { msg $chan 4There is not a giveaway going on in $chan right now. }
- if (%giveaway == on) {
- if ($nick == %giver) { msg $chan 4 %giver $+ , you cannot join the giveaway because you started it. }
- elseif ($read(give.txt, s, $nick)) { msg $chan 4 $nick you cannot join the giveaway twice! You are entered with ticket number $readn $+ .
- }
- else {
- write give.txt $nick
- msg $chan 3Thank you $nick for joining the current giveaway in $chan for a/an %prize $+ . You have ticket number $lines(give.txt)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement