Hotlink Query

By Cheiron on Mar 03, 2019

Looking to return info based on the hotlink command but what used to work with the old mirc 6.35 and unrealircd 3.2 series, no longer works with the new mirc 7.55 or unrealircd 4 series.
So far.. changing the gline to //echo -a gives me this ..
tunix18
(~U2FsdGVkX@eagle.netsplit.de)
depending on where i click..
if i click an ip .. it gives me the ip inside of square brackets ie [123.23.23.123]
I want to be to able to echo "just " the ip firstly. secondly, i am looking to simulate a ban command on echo
but as of yet all i can simulate is "banning @. [ip.here]
Any help please ?

on ^*:hotlink:*:@Connecting: { }
on *:hotlink:*:@connecting: { //echo -a $+($strip($1)) }
;add simulated ban line. swap semicolon to test output
;on *:hotlink:*:@connecting: { //echo -a bannning *@*. $+($strip($1)) }

Comments

Sign in to comment.
ovelayer   -  Mar 06, 2019

if i click an ip .. it gives me the ip inside of square brackets ie [123.23.23.123]
I want to be to able to echo "just " the ip firstly
try:

on *:hotlink:*:@connecting: { //echo -a $remove($+($strip($1)),$chr(91),$chr(93)) }

to create a ban type..find which $ targets the nick..like $4

on *:hotlink:*:@connecting: { //echo -a bannning $address($4,2) }

or if you have oper

on *:hotlink:*:@connecting: { //echo -a gline $+(*,$chr(64),$remove($+($strip($1)),$chr(91),$chr(93))) 1d because i can. }
Cheiron  -  Mar 06, 2019

Many thanks ovelayer :)

torbenanders  -  Jul 02, 2019

Thanks!!

Michaelzhang  -  Nov 20, 2020

Thanks for sharing. If you are interested, please check www.jh-mech.com

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.