B-RiZzY Posted September 22, 2005 Report Share Posted September 22, 2005 is there a way i can get a @find script so it can search through a text file? Link to comment Share on other sites More sharing options...
The Gate Keeper Posted September 22, 2005 Report Share Posted September 22, 2005 on admin:TEXT:@find*:#: { var %l = 1 while ($read(test.txt, w, * $+ $2- $+ *, %l)) { var %l = $readn , %i = $ifmatch msg $chan %i } } Just make sure you replace test.txt with the appropriate file name. Link to comment Share on other sites More sharing options...
B-RiZzY Posted September 23, 2005 Author Report Share Posted September 23, 2005 didnt work man? Link to comment Share on other sites More sharing options...
Sorcerer Posted September 23, 2005 Report Share Posted September 23, 2005 what r u searching for also there is a search function in mirc Link to comment Share on other sites More sharing options...
B-RiZzY Posted September 23, 2005 Author Report Share Posted September 23, 2005 i want people to be able to do an @find w/e to search through a text file Link to comment Share on other sites More sharing options...
hixxy Posted March 14, 2006 Report Share Posted March 14, 2006 on *:text:@find *:*:{ set %nick $nick filter -fk <file> sendto * $+ $2-* unset %nick } alias sendto { if (%nick != $null) msg $v1 $1- } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now