mIRC Home    About    Download    Register    News    Help

Print Thread
#263109 28/05/18 08:24 PM
Joined: Oct 2014
Posts: 54
O
Orobas Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Oct 2014
Posts: 54
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

Last edited by Orobas; 28/05/18 08:37 PM.
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
I am not interested in writing scripts for mIRC 6.35, which is 10 years outdated. Upgrade.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Oct 2014
Posts: 54
O
Orobas Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Oct 2014
Posts: 54
i do have a 7.52 bot somewhere..

Joined: Oct 2014
Posts: 54
O
Orobas Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Oct 2014
Posts: 54
;-- #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!!!!


Link Copied to Clipboard