mIRC Homepage
Posted By: Hindsight Events... - 29/05/03 08:55 PM
Is there any way to make an event from a raw; and/or is it possible to tell a script that a raw has taken place. Any ideas, cause im stumped on this one?
Posted By: theRat Re: Events... - 29/05/03 10:17 PM
/help raw events ??
Posted By: Hindsight Re: Events... - 29/05/03 10:30 PM
no i mean like defining them as certain things, ie: on ban, thats not the only thing either. is there a way to actually see if a raw has been completed?
Posted By: keeker Re: Events... - 29/05/03 10:40 PM
not sure if this is what yer looking for, but try:

/help on rawmode
it fires when there is a mode change in the channel (ie. bans, ops/deops/voices/devoices/ stuff like that
Posted By: Hindsight Re: Events... - 29/05/03 10:45 PM
Ive been helping one person with a script on a network that i frequent. Well here:
Code:
on *:TEXT:!invite*:#: { 
  if ($me !ison $2) { join $2 }
  set -u0 %a 1
  while (%a <= $nick($2,0)) {
    if ($nick($2,%a) != $me) {
      .timer 1 0 invite $nick($2,%a) $3 
    }
    inc %a
  }
  part $2
}

The script is even running before the nicks are updated... making it usless to even join the channel at all. So when I leave the channel i get no invites because there theoretically was no nicks. Any way, I could use the join raw, but itd be way to much work for such a simple script like this. Any ideas would be appriciated.
Posted By: Nimue Re: Events... - 29/05/03 11:00 PM
You shouldn't be mass inviting.
Posted By: Hindsight Re: Events... - 29/05/03 11:04 PM
Its not my script... Im working on it for someone else; and either way i really dont see how its a bad thing to mass invite, if its such a problem they can ban him from the network
Posted By: ScatMan Re: Events... - 29/05/03 11:10 PM
u should put the loop in the raw 366 which is triggered after u get the names of the channel (end of /names)
Posted By: keeker Re: Events... - 29/05/03 11:26 PM
mass invite = Kline on the network i frequent
© mIRC Discussion Forums