mIRC Home    About    Download    Register    News    Help

Print Thread
#26973 29/05/03 08:55 PM
Joined: Jan 2003
Posts: 108
H
Vogon poet
OP Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
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?

#26974 29/05/03 10:17 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help raw events ??


Code:
//if ( khaled isgod ) echo yes | else echo no
#26975 29/05/03 10:30 PM
Joined: Jan 2003
Posts: 108
H
Vogon poet
OP Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
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?

#26976 29/05/03 10:40 PM
Joined: Dec 2002
Posts: 204
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
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


keek: Scots - intr.v. keeked, keek·ing, keeks
To peek; peep.
#26977 29/05/03 10:45 PM
Joined: Jan 2003
Posts: 108
H
Vogon poet
OP Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
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.

#26978 29/05/03 11:00 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
You shouldn't be mass inviting.

#26979 29/05/03 11:04 PM
Joined: Jan 2003
Posts: 108
H
Vogon poet
OP Offline
Vogon poet
H
Joined: Jan 2003
Posts: 108
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

#26980 29/05/03 11:10 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
u should put the loop in the raw 366 which is triggered after u get the names of the channel (end of /names)

#26981 29/05/03 11:26 PM
Joined: Dec 2002
Posts: 204
K
Fjord artisan
Offline
Fjord artisan
K
Joined: Dec 2002
Posts: 204
mass invite = Kline on the network i frequent


keek: Scots - intr.v. keeked, keek·ing, keeks
To peek; peep.

Link Copied to Clipboard