// #scripters — 2008-02-03
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
00:07:02 Quit: ImmutableDark ([email protected]) Read error to ImmutableDark: Connection reset by peer
00:11:16 Join: ImmutableDark ([email protected]) to #scripters
00:13:16 <GrEmLiNz> nice cheers
01:24:19 Join: Mayhem ([email protected]) to #scripters
01:25:45 <Mayhem> out of shere curiousity, i would like to know if any of you are aware if this can be done: a script which on :join: //whois $nick , then well either sends the info to a txt file or just uses some kind of get identifier to take the fullname information off the whois and compare it to a ban trigger?
01:25:47 <Mayhem> :)
01:26:12 <Mayhem> ie, my name info for my whois is
01:26:32 <Mayhem> i want to make a script which i can set a list of masks that will trigger bans for users that have certain name entries
01:26:54 <Mayhem> ppl neglect to change this now and then when changing their ident to evade bans, i just htink it could be handy
01:27:11 <Mayhem> if neof u are awake, hehehe id appreciate your feedback :D
01:28:42 <Mayhem> maybe wildcard support for the masks, but im guessin thats pushin my luck
01:29:11 <Mayhem> i can script (poorly now) heh just after some advice
01:45:02 <stefan> yup, it can be done quite easily, I've done it before with eggdrop but not mIRC
01:45:22 <Mayhem> itd be hard or not possable in mirc right
01:45:32 <Mayhem> cos some hostmasks will have different lengths to others
01:45:36 <stefan> it's quite easy really
01:45:45 <stefan> that doesn't matter, it's always the same word
01:45:52 <Mayhem> ie vw.blah blah-telstra,com say as to 59.345.342.521
01:45:57 <stefan> there's always spaces in the right spot
01:46:02 <Mayhem> ohh
01:46:12 <Mayhem> so u write it to determine the fourth or third space
01:46:27 <Mayhem> then take anything after that on the same line? :)
01:46:27 <stefan> yup, $4- or $3- respectively
01:46:38 <stefan> and that's exactly what the - means
01:46:47 <Mayhem> is it a good idea for it to generate the whois to a text file?
01:46:51 <stefan> however to read whois data you need to use raws which is a little harder
01:47:04 <stefan> that's a bit pointless, you just need to keep a list of what you want to ban somewhere
01:47:54 <Mayhem> id prefer it to dump or directly read the whois from the status or from another window (custom one) if i can
01:47:58 <Mayhem> so its more of an automated process
01:48:11 <Mayhem> i want to make it capable of being part of my shitlist script
01:48:20 <Mayhem> but that currently only works on masks idents and nicks
01:48:29 <Mayhem> full name support ive never been able to work out
01:48:30 <Mayhem> :\
01:48:42 <stefan> yeah, no need to keep that data though, just have the script read the whois as your client gets it
01:49:25 <Mayhem> id defidently need some help working out the raw stuff
01:49:44 <Mayhem> cant do em or sockets or tokens or alot of that stuff
01:49:46 <Mayhem> heh
01:49:53 <Mayhem> pretty noobie now days
01:50:22 <GrEmLiNz> im stilling get notices in status even though i have a separate window created.
01:50:45 <stefan> do you have any other snotice scripts running GrEmLiNz?
01:50:49 <Mayhem> hey gremz :D
01:52:57 <Mayhem> i think im gettin it now
01:53:06 <Mayhem> altho im not going to write it striaght away
01:53:18 <GrEmLiNz> not that i know of.. im goin to check on a clean client
01:53:33 <Mayhem> but itd invole some sorta $rawread(status, [some kinda event trigger] )
01:55:11 <stefan> hmm, if that fails GrEmLiNz, try replacing haltdef with halt, it appears that event is a little unique and actually does need a real halt
01:55:30 <stefan> (which is normally bad practice)
01:55:48 <Mayhem> haltdef is halt default?
01:56:13 <stefan> halt default text only, yes, and it continues to run other event triggers
01:56:29 <stefan> halt will stop any further processing completely
01:56:37 <Mayhem> ah
01:58:20 <GrEmLiNz> halt sends to status only now
01:59:14 <Mayhem> thanks for the advice stefan :D
01:59:22 <GrEmLiNz> oh and hi Mayhem
01:59:24 <GrEmLiNz> :P
01:59:34 <Mayhem> ill likely rejoin tomorrow whilst im writing it to pick yah brain some more =)
01:59:37 <Mayhem> hehe
01:59:41 <Mayhem> hiiiii gremz :D
02:00:08 <Mayhem> g'night all
02:00:14 <Mayhem> byeee gremz :D
02:00:16 <Mayhem> hehe
02:00:17 Quit: Mayhem ([email protected]) Exit:
02:01:18 <stefan> whoops, the halt should be below the echo not above, but that won't stop it sending to status I don't think
02:08:10 <GrEmLiNz> yea its this script forcing to status it appears
02:11:32 <stefan> you did /windows @snotices ?
02:11:58 <GrEmLiNz> i went one better
02:12:09 <GrEmLiNz> if (!$window(@SNotices)) { window @SNotices }
02:16:35 <GrEmLiNz> can i paste what i have already?
02:18:48 Quit: GrEmLiNz ([email protected]) Read error to GrEmLiNz: Connection reset by peer
02:20:22 Join: GrEmLiNz ([email protected]) to #scripters
02:31:15 <stefan> yeah
02:31:37 <stefan> mine is essentially this
02:31:39 <stefan> on ^1:snotice:*:{
02:31:43 <stefan> set %window @SNOTICE- $+ $network
02:32:14 <stefan> echo 15 -t %window $+ $nick $+ $1-
02:32:17 <stefan> halt
02:32:17 <stefan> }
02:33:07 <stefan> yes, nasty global vars, I first wrote that probably 2001
02:36:26 Quit: GrEmLiNz ([email protected]) Read error to GrEmLiNz: Connection reset by peer
02:37:56 Join: GrEmLiNz ([email protected]) to #scripters
02:38:52 <GrEmLiNz> eek
02:49:06 <GrEmLiNz> think ive figured it out
03:48:44 Quit: ImmutableDark ([email protected]) Ping timeout for ImmutableDark
04:00:27 Join: ImmutableDark ([email protected]) to #scripters
04:26:01 Quit: GrEmLiNz ([email protected]) Read error to GrEmLiNz: Connection reset by peer
04:27:39 Join: GrEmLiNz ([email protected]) to #scripters
05:11:15 Quit: GrEmLiNz ([email protected]) Read error to GrEmLiNz: Connection reset by peer
05:12:32 Join: GrEmLiNz ([email protected]) to #scripters
08:38:33 Quit: twig ([email protected]) Ping timeout for twig
08:44:18 Join: twig ([email protected]) to #scripters
12:01:13 Quit: GrEmLiNz ([email protected]) Read error to GrEmLiNz: Connection reset by peer
12:02:06 Join: GrEmLiNz ([email protected]) to #scripters
12:28:20 Join: wobelong ([email protected]) to #scripters
12:34:13 <GrEmLiNz> Cheers for yas help :>
12:34:17 Part: GrEmLiNz ([email protected]) from #scripters
14:28:21 Quit: schnoodles ([email protected]) Exit:
14:35:04 Join: schnoodles ([email protected]) to #scripters
14:35:06 Mode: (by ChanOp) +o schnoodles
14:36:51 Quit: ImmutableDark ([email protected]) Ping timeout for ImmutableDark
16:18:38 Quit: twig ([email protected]) Exit: after 7h34m30s Naturally, when anger is involved, revenge is not very far behind. At least, in my world it's not.
16:21:08 Join: twig ([email protected]) to #scripters
17:20:51 Join: compact ([email protected]) to #scripters
18:09:27 Quit: Bozza ([email protected]) Exit: BRB
18:20:49 Join: Bozza ([email protected]) to #Scripters
18:20:50 Mode: (by ChanOp) +o Bozza
19:09:24 Join: rabbit|A ([email protected]) to #Scripters
19:11:05 Part: rabbit|A ([email protected]) from #Scripters
20:13:09 Quit: josh ([email protected]) Killed (NickOp (Kill requested by JoshReal))
20:14:03 Join: josh_ ([email protected]) to #scripters
20:31:29 Join: ImmutableDark ([email protected]) to #scripters
22:08:53 Topic Is: http://www.scripters-austnet.org/ [Website down!] We help, not make! - Don't ask to ask, just ask! [NO: flooding|pasting|colours|messaging helpers|lameness|repeating|etc.] -- mIRC v6.3 released (16th August, 2007)
22:08:53 Set By: (Bozza) on: Fri Aug 17 11:26:01 2007
22:28:27 Join: schnoodles ([email protected]) to #scripters
22:28:27 Mode: (by ChanOp) +o schnoodles
22:35:00 Join: josh_ ([email protected]) to #scripters
23:35:12 Quit: josh_ ([email protected]) Exit: Leaving
Search this day's buffer:
