Bighecks to interact w/ UnrealIRCd 4.x as een leaf server to watch raw logs etc
|
7 months ago | |
---|---|---|
.editorconfig | 1 year ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 4 years ago | |
ircl.pl | 7 months ago | |
muh.conf.example | 7 months ago |
This is a quick and dirty script I maed to watch UnrealIRCd server connections in-depth. Cuz you know, sometimes the command format differs for servers when compared to regular users etc. xd
The code is undocumented as of yet cuz it's een alpha version still. So enjoy reading it and getting eye cancer or some shit. =]]]
A simple plaintext file called muh.conf
, must be kept in the same dir as the Perl skrip cuz I'm lazy. ;3 A bunch of values here should match something on UnrealIRCd's end, so keep that in mind fambi. ;];]
Simply copy muh.conf.example
to muh.conf
and change em to suit your needs (everything's explained in there yo).
Refer to the Unreal docs about snomasks and usermodes for a bit more in-depth info about those kek.
Simply run ./ircl.pl
and watch 'em stdout yo. You can also send raw commands to the hub using stdin, but obviously you need some knowledge bout it etc. There are some placeholder thingies you can use to make life easier, they should be pretty self-explanatory:
<LNAME>
(linkname)<HUB>
<SID>
<UID>
<TIME>
(current time in UNIX timestampus formatterino)<NICK>
<IDENT>
<HOST>
<GECOS>
So, if you were to slam :<UID> PRIVMSG #ham :h0y
in there, the user ayy
would send that message etc. The UID is auto-generated, although there should only be one "user" on there anyways.
A bunch of shit is formatted too:
**
, bold text==
, "bold white" colour (but looks gray to me)>>
, cyan colour<<
, magenta colour--
, red colour++
, bright green colourAlso, the script pings the IRCd about once every 30 seconds. =] If the hub shits itself the connection will be closed and the skrip will exit too.