Lame script, full of mistakes - 10/05/04 06:13 PM
Well, my knowledge at mIRC scripting sux.
Yet, I tried to write a script. I'm sure there are lots and lots of simple mistakes in it:
Plz, I would be greatful if you'll correct me and explaine me more about the mIRC scripting syntax.
10q very much!
Yet, I tried to write a script. I'm sure there are lots and lots of simple mistakes in it:
Code:
ON +100:text:start gather:?: { .msg $nick The gather has started .set %i 1 .set %teamA 0 .set %teamB 0 .enable #gather } ON +100:text:cancel gather:?: { .disable #gather .msg $nick The gather has been cancelled .msg #chan 2>>> 5[7,15$nick has cancelled the gather5] 2<<< } #gather off .msg #chan 2>>> 5[7,15A Gather Has Started. Say !add to play in the gather.5] 2<<< while(%i<=10){ ON *:text:!addme:#chan:{ %i++; .set %player%i $nick if(%teamA >= %teamB) { .set %playert%i A } else .set %playert%i B .set %j 1 .set %k %playert1 .msg $chan 14>>> 5[7,15Players: %i / 10 || Team Alpha: while(%k) { if(%k == A){ echo %player%j %j++ } } %j=1 || Team Bravo: while(%k) { if(%k == B){ echo %player%j %j++ } } %j=1 5] 14<<< } } #gather end
Plz, I would be greatful if you'll correct me and explaine me more about the mIRC scripting syntax.
10q very much!