err0r.net

<my little piece of the internet/>

Forum Discussion

Code Highlight

Open Topic
Back to Forum
2 Posts In This Topic
Original Post by err0r
Thursday, 7 August 2025, 6:48 PM

Test

$name = 'David';
$limit = 1;
// Prepare query
$stmt = $mysqli->prepare('SELECT age, address FROM students WHERE name = ? LIMIT ?');
// data types: i = integer, s = string, d = double, b = blog 
$stmt->bind_param('si', $name, $limit);
// Execute query
$stmt->execute();
// Bind the result
$stmt->bind_result($age, address);




Reply by err0r
Thursday, 7 August 2025, 6:51 PM
#ghostnick on
    on *:JOIN:#: {
      if ($regex($nick($chan,$me).pnick,^('|.|@))) && ($regex($nick,[0-9]+\Z)) { 
        if ($ial($+(*,$address($nick,1),*),2).nick) { 
          inc -eu60 %ghost. [ $+ [ # ] $+ [ . ] $+ [ $address($nick,1) ] ]
          if (%ghost. [ $+ [ # ] $+ [ . ] $+ [ $address($nick,1) ] ] >= 3) {
            access # ADD DENY $address($nick,1) 15 : Ghost Flooding
            kick # $nick Ghosting Flooding - Banned 15 minutes.
          }
          else {
            kick # $nick Ghosting 
          }
        }
      }
    }
    #ghostnick end


Ghost Kicker