Skip to content
View in the app

A better way to browse. Learn more.

RenCorner Network

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

need help with script

Featured Replies

I need help with the code below. what I want to accomplish is having myself pm'd (in irc not game) when a monitored player joins from either ip, hostname or serial.

each line in the script need to be treated as seperate instances as sometimes I monitor by ip, other times by host and sometimes by serial.

on *:text:*hostname.com*:#channel:/msg $me someone connected from monitored host
on *:text:*127.0.0.1*:#channel:/msg $me someone connected from monitored ip
on *:text:*0000000000000000*:#channel:/msg $me someone connected from monitored serial

the code above works and pm's me but I get flooded with pm's when anyone uses mod commands (i,e !check player) and this is what I don't want, I just want it to pm me on connection to the server.

 

any help will be much appreciated.

I only monitor suspects.

pm if any mod related codes are used.

 

Edited by dubstar

you should just force suspects to play on their usual name

if they refuse send them to the gulag, create the dictatorship renegade needs

You mock, but I've tried to get people to stick with known nicks("stick with it or I'll make a script force you"). Otherwise you all scream to the heavens about new hackers. o.O

 

If you're on when I get home tonight, page me Furi. Or, see if Manuel/Mass can send you a copy of RCBOT's IPban.mrc script.

  • 1 month later...
  • Author

This got sorted a while ago with the help of shai and am posting result incase anyone else wants to do similar coding

 

on *:text:*:#channel:{
if (($1 == Name:) && ($3 == IP:) && ($5 == FDSID:) && ($7 == Host:)) {
if ($right($4,11) == 00.00.00.00) /msg $me $2 $4 monitored ip has joined the server  
if ($right($8,8) == host.com) /msg $me $2 $4 monitored host has joined the server
if ($left($2,6) == player) /msg $me $2 $4 monitored name has joined the server
}
}

 

Create an account or sign in to comment

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.