mIRC Homepage
Posted By: Orobas nick search string relay - 28/05/18 08:24 PM
Looking for an mirc script please for a bot to relay results of a search using the who flag system..

for example !user game
this would then prompt the bot who is opered, to perform a /who +n *game* and then message the named channel all users shown from the search.

The search "name" cant be fixed due to the diverse range of names out there

server is unrealircd and my bot is mirc 6.35
Posted By: Raccoon Re: nick search string relay - 28/05/18 09:29 PM
I am not interested in writing scripts for mIRC 6.35, which is 10 years outdated. Upgrade.
Posted By: Orobas Re: nick search string relay - 28/05/18 09:32 PM
i do have a 7.52 bot somewhere..
Posted By: Orobas Re: nick search string relay - 04/06/18 10:25 PM
;-- #Tracking_Trouble
on 1:text:.who*:#tes1t:{
if ($2 === $chr(42)) { msg $chan do not add any spaces. The format is *word* | halt }
who $$2 +n
}
raw 352:*:{ if ($me isin $1-) && (($network == networkname)) { msg #tes1t 14 $6 $2-4 $7-  } }

ok... so when i run this on the bot directly.. it shows me exactly the right information... but... if i or anyone else issues the command .who *name* it returns anything from the nick!ident@hostname whichhas the parameter in it... I cant work out why it is doing this! I know $6 is the nick... I have removed the $2-4 and $7- but it still gives me the same names as when they are there .. just minus the additional info...

help!!!!
© mIRC Discussion Forums