mIRC Home    About    Download    Register    News    Help

Print Thread
#85006 02/06/04 07:36 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
CODE:

raw 367:*:{
if ($window(@BanList) != $null) { .window -c @BanList }
window -lk +s @BanList 220 50 320 290 @BanList Verdana 11
aline @BanList $2 Ban: $3 Set by: $4
}


now i get all that info in status window like this:

#channel *!*banned.host set by "server name"
+ it opens @BanList window few times and writes only last info

now can some1 tell me:
1. how to make it TO write that info in @window
2. how to make it gone from status coz itz annoying on every raw 367



tnx

Last edited by bunar; 02/06/04 07:41 PM.
#85007 02/06/04 07:49 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Quote:
1. how to make it TO write that info in @window

I am not quite sure, but isnt the -c switch to Close the window? Maybe that's the problem.

Quote:
2. how to make it gone from status coz itz annoying on every raw 367

To halt a raw just type halt at the end of the script

Hope this helps smile
Zyzzy.


"All we are saying is give peace a chance" -- John Lennon
#85008 02/06/04 08:01 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
hehe, you were 100% correct in both questions, thanx

#85009 02/06/04 08:12 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
now i need another kinda help in raw

since when i am banned it say itz raw 474 and i made

raw 474:*:{
//mode $1 +b
}

and while doing that it should open that @BanList which is:

raw 367:*:{
window -lk +s @BanList 220 50 320 290 @BanList Verdana 11
aline @BanList $2 Ban: $3 Set by: $4
halt
}

BUT it doesnt open, maybe coz i dunno which identifier is for channel ($1 $2 etc..) and debug window dont show that smirk
so if anyone knows how to make this crap work i would be gratefull

#85010 02/06/04 08:50 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
In Raws, the identifier $1 is always your nick. Try using $2 for the channel in that raw smile

Code:
raw 474:*:{ 
//mode $2 +b 
}



Last edited by Zyzzyx26; 02/06/04 08:51 PM.

"All we are saying is give peace a chance" -- John Lennon
#85011 02/06/04 11:29 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
heh, it works now, thanks

#85012 02/06/04 11:31 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Glad I could help smile


"All we are saying is give peace a chance" -- John Lennon

Link Copied to Clipboard