// #scripters — 2008-05-12
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
07:22:53 Quit: schnootop ([email protected]) Quit: Leaving
09:34:45 Nick: LongGone is now known as Longie
13:25:24 Join: stefan|laptop ([email protected]) to #scripters
13:48:46 Join: stefan|laptopp ([email protected]) to #scripters
13:50:35 Quit: stefan|laptop ([email protected]) Ping timeout: 151 seconds
14:15:49 Nick: Longie is now known as LongGone
14:16:04 Nick: LongGone is now known as Longie
14:47:37 Join: echelon ([email protected]) to #scripters
14:55:54 <echelon> when should a futures contract be bought and when should it be sold?
14:56:15 Quit: echelon ([email protected]) Client exited
14:56:24 Join: echelon ([email protected]) to #scripters
15:50:25 Quit: echelon ([email protected]) Ping timeout: 121 seconds
17:04:10 Quit: ChanOP ([email protected]) Service shutdown
17:17:28 Mode: (by ChanOP) -o schnoodles
17:17:28 Join: ChanOP ([email protected]) to #scripters
17:17:28 Mode: (by ezehost.il.us.austnet.org) +o ChanOP
17:55:59 Join: TBtriv ([email protected]) to #scripters
17:56:09 <TBtriv> can anyone explain how this works?
17:56:43 <TBtriv> this: //msg #scripters $+($crlf,TOPIC,$chr(32),#scripters,$chr(32),:fixityet?,$crlf)
17:57:34 <TBtriv> It somehow changes the topic, which I havent figured out yet
17:57:35 <stefan|laptopp> it'll set the topic in here to fixityet? yeah?
17:57:40 <TBtriv> yep
17:58:04 <TBtriv> but this wont: //msg #scripters TOPIC #scripters :fixityet?
17:58:11 <stefan|laptopp> $crlf means carriage return line feed, ie a new line
17:58:18 <TBtriv> how does the $crlf help?
17:58:20 <TBtriv> yeah I know
17:58:31 <stefan|laptopp> wellwhat do you think spaces commands you send to the irc server?
17:59:00 <TBtriv> oic
17:59:28 <TBtriv> but that would mean it does:
17:59:35 <TBtriv> this: //msg #scripters
17:59:46 <TBtriv> then: TOPIC #scripters :fixityet?
18:00:16 <stefan|laptopp> correct, except it's in raw ircd commands
18:00:38 <stefan|laptopp> well, topic command is
18:00:51 <TBtriv> ok
18:01:21 <TBtriv> so is it possible to give someone channel access the same way?
18:01:25 <stefan|laptopp> mIRC handles it like it's a paramater to the first command, the ircd reads it seperately
18:01:27 <stefan|laptopp> yup
18:01:30 <TBtriv> with ADDUSER?
18:02:00 <stefan|laptopp> you'd be using the command CHANOP or PRIVMSG, but yeah
18:02:22 <TBtriv> ADDUSER didnt work
18:02:39 <TBtriv> so what other commands can be abused like that?
18:02:48 <TBtriv> because someone is using it in my trivia commands
18:03:04 <stefan|laptopp> anything on the ircd including services
18:03:13 <TBtriv> eg: !mystats $+($crlf,TOPIC,$chr(32),#scripters,$chr(32),:fixityet,$crlf)
18:03:36 <TBtriv> how would you change that to add a user to the channel?
18:03:44 <TBtriv> or to OP someone?
18:04:22 <TBtriv> because if its possible, i'll have to remove my bots access until I fix my scripts
18:04:53 <stefan|laptopp> well that won't stop people simply replacing topic with quit
18:05:17 Mode: (by ezehost.il.us.austnet.org) -r
18:06:21 Quit: stefan ([email protected]) austnet.org!NickOP (Kill requested by stefan_)
18:06:25 Quit: TBtriv ([email protected]) Quit: #tbgames
18:06:27 Join: stefan ([email protected]) to #scripters
18:06:32 Mode: (by ChanOP) +o stefan
18:06:33 <stefan|laptopp> or getting you glined by joining banned channels/etc
18:06:39 Join: TBtriv ([email protected]) to #scripters
18:06:51 <TBtriv> nasty
18:07:02 <TBtriv> so how can I fix it?
18:07:13 <stefan|laptopp> well why are you evaluating it?
18:07:21 <TBtriv> I tried putting $replace($1-,$crlf,$NULL) in on :text
18:07:59 <stefan|laptopp> $!crlf may work
18:08:44 <TBtriv> the !mystats <nick> is supposed to show the nick name in the output to the channel
18:09:11 <TBtriv> $+($crlf,TOPIC,$chr(32),#tbgames,$chr(32),:fixityet?!,$crlf)'s Rating: dweeb This Week / most Week: 0 / 0 This Month / Most Month: 0 / 0 Total Wins: 0 Questions Answered: 0 Longest Streak: 0 MEGAs: 0 Jackpots: 0 Fastest Time: NA Best Speed: NA
18:09:19 <TBtriv> thats the output to the channel
18:09:40 <stefan|laptopp> are you using $eval or a timer?
18:09:43 <TBtriv> nope
18:09:53 <TBtriv> the string is passed to an alias which does this:
18:09:57 <TBtriv> /scon %TBtrivnetid /msg %TBtrivchannel $1-
18:10:23 <stefan|laptopp> hmm, scon may do it too, not sure
18:10:37 Nick: Longie is now known as LongGone
18:10:47 <TBtriv> ok i'll try to remove $crlf from on :text
18:11:35 <stefan|laptopp> $1crlf yeah
18:11:40 <TBtriv> not too sure why $remove($1-,$crlf,$NULL) doesnt work
18:11:53 <stefan|laptopp> because it evaluates, you need the !
18:11:54 <TBtriv> but i'll try $!crlf
18:13:47 <TBtriv> yep it works now, thanks :)
18:14:15 <TBtriv> rather nasty, I was starting to think it could run / commands from my computer
18:14:42 <stefan|laptopp> I may suggest just removing !$ and !% from it, hopefully you don't want want to print percentages, but you probably don't want them to be able to echo all your variables
18:15:15 <stefan|laptopp> but depending on where you remove it you still can
18:18:36 <TBtriv> It seems to be the /scon thats doing it
18:18:51 <stefan|laptopp> yeah, thought it might be
18:18:54 <TBtriv> because its doing it on my other script that responds to "+v <nick>"
18:19:23 <TBtriv> this is inside a "on :text"
18:19:26 <TBtriv> //scon $TBcoregetnetid($network) /mode $chan - $+ $str(v,$numtok($2-,32)) $2-
18:21:12 <TBtriv> thats what I get for scripting everything for multi-network :/
18:31:20 <TBtriv> Thanks for the help, 4 of my scripts secured again :)
18:31:23 Part: TBtriv ([email protected]) from #scripters
19:28:56 Join: wobelong ([email protected]) to #scripters
20:58:00 Quit: Timegrinder ([email protected]) Quit: The light seeks to destroy our existence due to its imperfection while the darkness seeks to continue it. Which is more evil?
20:58:03 Join: Timegrinder ([email protected]) to #scripters
21:56:56 <schnoodles> anyone know the best VNC server to run on windows
21:57:22 <schnoodles> i want to access it from ubuntu just want basic options, and i want it to allow for connection without having to accept it
21:59:32 Join: schnootop ([email protected]) to #scripters
22:29:46 Join: echelon ([email protected]) to #scripters
22:47:41 Quit: wobelong ([email protected]) Quit: "<Whitewolf> When you divide any number (x) by the number of your friends (y), you always get the answer being "Un-defined" . Your task is to work out the number of your friends (y). Equation: x/y = Undefined Find y."
Search this day's buffer:
