Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Netham45

Pages: 1 ... 37 38 [39] 40 41 ... 123
571
OmnomIRC Development / Re: OmnomIRC Numbers!
« on: May 13, 2011, 06:13:25 pm »
most everything that's missing is client-side parsing of the data it's already getting, though.

572
OmnomIRC Development / Re: OMnomIRC v2 already broken
« on: May 13, 2011, 06:12:32 pm »
fixed the issue.

573
Fixed. Was an issue with cookies expiring.

They're set to last until like 2250 or something now.

574
OmnomIRC Development / Re: iAshbad
« on: May 13, 2011, 07:01:43 am »
Lemme know if he can use the new OmnomIRC.

575
OmnomIRC Development / New OmnomIRC Features
« on: May 13, 2011, 06:59:19 am »
I'm going to make a new post here every time I add a major feature.

05-13-2011 Chrome Desktop Notification support
                 Audible Notification Support (Ding on Highlight)


Edit: I don't need another changelog. Go look at the other one if you want updates.

576
OmnomIRC Development / OmnomIRC Browser Compatibility
« on: May 13, 2011, 06:07:10 am »
Post left over from browser compatibility thread merge. D:

577
Site Feedback and Questions / Christmas theme!
« on: May 13, 2011, 05:40:23 am »
I used to love the Christmas theme we had in 2006, bring it back! :D

578
OmnomIRC Development / Re: OmnomIRC v2 ideas
« on: May 13, 2011, 05:38:28 am »
-Multiple tabs for other channels (not the french one, but like #ti)?

I know it's not what you meant, but I could actually add tabs at the top for what channel you're currently in, then it'd be easy as hell to switch. Might even be able to get #ti people in on it.

#omnimaga | #omnimaga-fr | #omnimaga-radio | #omnimaga-spam | #omnimaga-test | #omnimagaops | #ti

Are there any I missed?

579
OmnomIRC Development / Re: OmnomIRC v2 ideas
« on: May 13, 2011, 05:09:06 am »
That's efnet sucking, which it still does. I thought you meant the web side of things timing out.

580
OmnomIRC Development / OmnomIRC V2 Known Bugs
« on: May 13, 2011, 05:08:20 am »
Known bugs!

NONE!

581
OmnomIRC Development / Re: OmnomIRC v2 ideas
« on: May 13, 2011, 05:06:32 am »
.... what?

582
OmnomIRC Development / Re: OmnomIRC v2 ideas
« on: May 13, 2011, 05:02:45 am »
Massive response!

1) I'm going to make the 'logs' button go to a new page that lets you choose what log(inside the iframe, it'll all look good)
2) The rules are linked to at the top, so I felt it was unnecessary and redundant
3) See 1)
4) See 1)
5) I'm going to add a dropdown selection box for channels, either up where the options text is, or by the send button

@Frey, there is no more timeout on the new bot.

583
OmnomIRC Development / Re: Various bits of OmnomIRC Source Code
« on: May 12, 2011, 10:13:27 pm »
I woulda open-sourced the old one if the code wasn't so ugly. :P


mIRC bot! Using http://reko.tiira.net/mmysql/ for SQL connectivity.

Code: (aliases) [Select]
/sql_config {
  set %db omnomirc
  set %server -snip-
  set %uname -snip-
  set %pass -snip-
}
/sql_connect {
  if (%connection) echo Already connected! Not trying again.
  if (!%connection)  {
    sql_config
    set %connection $mysql_connect( %server , %uname , %pass )
    echo $iif(%connection,Connected Successfully,Failed to connect)
    echo $iif($mysql_select_db( %connection , %db ),DB Selected correctly!,Failed to select DB!)
  }
}
/sql_close {
  noop $mysql_close(%connection)
}
/sql_clean {
  var %sql SELECT MAX(line_number) FROM irc_lines
  var %result $mysql_query(%connection,%sql)
  noop $mysql_fetch_row(%result,row)
  set %lines $hget(row,1)
  set %sql DELETE * FROM irc_lines WHERE line_number < ?
  noop $mysql_exec(%connection, $calc(%lines-1000))
}

/update_names {
  if (!%connection)  sql_connect
  noop $mysql_exec(%connection, DELETE FROM irc_users)
  set %sql INSERT INTO irc_users (username,channel,online) VALUES (?,?,0)
  set %nickpos 1
  while ( %nickpos <= $nick( #omnimaga-test , 0 , a )) {
    noop $mysql_exec( %connection , %sql , $nick( $chan , %nickpos , a ) , #omnimaga-test )
    inc %nickpos 1
  }
}

/check_messages {
  if (!%connection) sql_connect
  var %sql = SELECT * FROM irc_outgoing_messages
  var %res = $mysql_query(%connection,%sql)
  while ($mysql_fetch_row(%res,row)) {
    if ($hget(row,action) == 0)    msg $hget(row, channel) < $+ $hget(row,nick) $+ > $hget(row,message)
    if ($hget(row,action) == 1)    msg $hget(row, channel) 6* $hget(row,nick) $hget(row,message)

  }
  var %sql = DELETE FROM irc_outgoing_messages
  noop $mysql_exec(%connection,%sql)
}
Code: (remote) [Select]
on *:TEXT:*:#:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,message,type,channel,time) VALUES (?,?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,$1-,message,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}
on *:ACTION:*:#:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,message,type,channel,time) VALUES (?,?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,$1-,action,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}
on *:JOIN:#:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,type,channel,time) VALUES (?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,join,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}

on *:PART:#:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,type,channel,time) VALUES (?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,part,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}
on *:QUIT:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,message,type,channel,time) VALUES (?,?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,$1-,quit,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}

on *:RAWMODE:#:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,message,type,channel,time) VALUES (?,?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,$1-,mode,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}

on *:KICK:#:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,name2,message,type,channel,time) VALUES (?,?,?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,$knick,$1-,kick,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}
on *:NICK:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,name2,message,type,channel,time) VALUES (?,?,?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,$newnick,$1-,nick,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}
on *:TOPIC:#:{
  if (!%connection)  sql_connect
  set %sql INSERT INTO irc_lines (name1,message,type,channel,time) VALUES (?,?,?,?,?)
  noop $mysql_exec(%connection,%sql,$nick,$1-,topic,$chan,$chr(91) $+ $asctime(HH:nn:ss) $+ $chr(93))
}

584
OmnomIRC Development / Re: OmnomIRC Dev Ideas
« on: May 12, 2011, 05:34:55 pm »
I actually got it to scroll properly without messing with everything else.

Now there's no scrollbar and it's always at the bottom.

585
OmnomIRC Development / Re: OmnomIRC Dev Ideas
« on: May 12, 2011, 04:48:14 pm »
I removed the animated userlist, I couldn't find a color scheme that looked good with it.

Pages: 1 ... 37 38 [39] 40 41 ... 123