mIRC Homepage
Posted By: moshkin sudden stopage - 26/11/06 03:52 PM
Suddenly stopped working, when i tryed to make a !eventtommorow, script, but i deleted that and it still doesnt work..
Code:
 on *^1:TEXT:!setevent *:#: {
    if (($nick isreg $chan || $nick isvoice $chan )) { halt }
    else set %event $2-
    msg $chan The current event has been set to : %event .
  }
  on $^1:TEXT:/^!(event|events)/iS:#: {
    if ($nick ishop $chan) || ($nick isop $chan) || ($nick isvoice $chan) /notice $nick 8,2The event today is %event
    else /notice $nick voice or higher only
  } 
Posted By: PhantasyX Re: sudden stopage - 30/11/06 03:42 AM
I'm unable to reproduce your effects.
Check to make sure you have appropriate access within the channel to match your script.
I "redid" your this to make:
Code:
on *^:TEXT:!setevent*:#:{
  if ($nick isreg $chan) || ($nick isvoice $chan) { halt }
  else {
    set %event $2-
    msg $chan The current event has been set to : %event .
  }
}
on $^1:TEXT:/^!(event|events)/iS:#:{
  if ($nick isreg $chan) { notice $nick Voice or higher only. | halt }
  else { notice $nick 8,2The event today is %event . }
}
Posted By: PhantasyX Re: sudden stopage - 30/11/06 03:42 AM
I'm unable to reproduce your effects.
Check to make sure you have appropriate access within the channel to match your script.
I "redid" your this to make:
Code:
on *^:TEXT:!setevent*:#:{
  if ($nick isreg $chan) || ($nick isvoice $chan) { halt }
  else {
    set %event $2-
    msg $chan The current event has been set to : %event .
  }
}
on $^1:TEXT:/^!(event|events)/iS:#:{
  if ($nick isreg $chan) { notice $nick Voice or higher only. | halt }
  else { notice $nick 8,2The event today is %event . }
}
© mIRC Discussion Forums