Skip to content
General IRCX

need a lil help again

A TG007 community discussion started by DigitalX.

Discussion 7 posts
Page 1 of 1
Open
Topic #1571 · 7 published posts · 1,539 views

whats wrong with this coz it isnt working sad.gif lol if someone can correct it for me it would be much appreciated aswell as if needed create a list that can be used instead of stoned but denys access to users not on the list that works

 

on stoned:TEXT:!addme1:#: { 
 if ($nick != $me) {  
   ./auser ScrimList $replace($nick,$chr(32),-)
 }
}
alias do.ScrimNicks { 
 var %ul = $ulist(*,ScrimList,0), %i = 0
 while (%i < %ul) {
   inc %i
   notice 7,14 %i $+ . $ulist(*,ScrimList,%i)
 }
}
alias scrimlist { 
 echo -a 12,0 Nicks 4 Scrim:
 $do.ScrimNicks 
}
on stoned:TEXT:!scrimlist:#: { notice $chan ScrimList is currently: $do.ScrimNicks }

on stoned:TEXT:!addme1:#: { write -a scrimlist.txt $nick | notice $nick Thanks for signing up to the scrim list. To view list of players please type !scrimlist. }

 

you have the following twice

 

on stoned:TEXT:!addme1:#:

My code does NOT have bugs. It just develops random features.

yea i thought mirc woudl read 2 commands once and do two different things on 1 command..

no it wont

My code does NOT have bugs. It just develops random features.

oh i see how to fix it thanks ozzy smile.gif

yea i thought mirc woudl read 2 commands once and do two different things on 1 command..

mirc halts on 2 commands

Edited Oct 5, 2004 3:07 AM by NeilHost
whats wrong with this coz it isnt working sad.gif lol if someone can correct it for me it would be much appreciated aswell as if needed create a list that can be used instead of stoned but denys access to users not on the list that works

 

on stoned:TEXT:!addme1:#: { 
 if ($nick != $me) {  
   ./auser ScrimList $replace($nick,$chr(32),-)
 }
}
alias do.ScrimNicks { 
 var %ul = $ulist(*,ScrimList,0), %i = 0
 while (%i < %ul) {
   inc %i
   notice 7,14 %i $+ . $ulist(*,ScrimList,%i)
 }
}
alias scrimlist { 
 echo -a 12,0 Nicks 4 Scrim:
 $do.ScrimNicks 
}
on stoned:TEXT:!scrimlist:#: { notice $chan ScrimList is currently: $do.ScrimNicks }

on stoned:TEXT:!addme1:#: { write -a scrimlist.txt $nick | notice $nick Thanks for signing up to the scrim list. To view list of players please type !scrimlist. }

on stoned:TEXT:!addme1:#: { 
 if ($nick != $me) {  
   ./auser ScrimList $replace($nick,$chr(32),-)
 }
}
alias do.ScrimNicks { 
 var %ul = $ulist(*,ScrimList,0), %i = 0
 while (%i < %ul) {
   inc %i
   notice 7,14 %i $+ . $ulist(*,ScrimList,%i)
 }
}
alias scrimlist { 
 echo -a 12,0 Nicks 4 Scrim:
 $do.ScrimNicks 
}
on stoned:TEXT:!scrimlist:#: { notice $chan ScrimList is currently: $do.ScrimNicks }

on stoned:TEXT:!signup1:#: { write -a scrimlist.txt $nick | notice $nick Thanks for signing up to the scrim list. To view list of players please type !scrimlist. }

 

Use that if you want both of those .......

 

\\=========//

CRASH

\\==============//