mIRC Home    About    Download    Register    News    Help

Print Thread
S
shamguy4
shamguy4
S
hey im new to the forums
i started my own channel and wanted to add a remote event
so in scripts under remote tab i added
Code:
ON 1:TEXT:!shamguy4*:#shamguy4:/fserve $nick 3 c:\serve c:\serve\welcome.txt

I want that when people are in my channel they can do !shamguy4 and get my files or list of files in a set directory
the directory i want to give is not in the above script -obviously...

it doesnt seem to work?? what did i do wrong?

S
shamguy4
shamguy4
S
it seems no scripts are working for me??
anything i put in remote is like as if its not there??
and /remote is set to on

Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
You've gone into remotes and hit the 'Check Brackets' button (top-left corner of the script editor), and it hasn't complained?

No other ON TEXT events in the same remote script?

S
shamguy4
shamguy4
S
yes i pressed the button and i think everything is ok... there are no brackets in this tiny code??
i enabled /remote on and it should work??
what is wrong?
i dont think any scripts are working?? i typed in the same kinda event except when i write !shamguy4 i made it say hello rather than the whole fserve thingy
and it still doesnt work??
some switch or somehing must be off

Last edited by shamguy4; 13/11/07 05:18 AM.
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
Are you trying to run the script on the same client that's sending the message? If so, that's why it's not working. You can't activate your own on text events. You have to get someone else to send the message, or put the code on a different client.

Joined: Jan 2003
Posts: 1,057
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,057
ON TEXT events can't be triggered by yourself but only by others... so you can't test those yourself unless you start another connection to the same network and try it on that one

S
shamguy4
shamguy4
S
Wait... I put the on text in my script and let someone else on a different computer type !shamguy4 -right??
yeah... it still doesnt work
if you want to try im at irc.nodrama-irc.net and my channel is shamguy4
(my nick might be shazzam)

...oh
actually i used chatzilla and signed onto my own channel and used !shamguy4
I think it gave an error saying it couldnt find path but the path it showed was different then the one i set up??

also how can I make i that I could also access !shamguy4 even on my own client?? i want to make sure its set up right...

I want to also make commands that list all the files in the folder
or at least a notepad that shows all the stuff in the folder...
are there any good fserve scripts out there anywhere?? for download??

Last edited by shamguy4; 13/11/07 02:17 PM.
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
For downloading scripts that are already made, try checking mIRC Scripts.org, Hawkee, or one of the other sites that they have links to.

Personally, if I haven't been able to write it myself, I've never had to go beyond those two.

S
shamguy4
shamguy4
S
er..? i cant seem to find any fserve scripts
anyhow this is what it says when i try to connect with my script above
/fserve: no such file 'C:\Documents and Settings\click me!\Application Data\mIRC\and'

thats not even the path i set??
i discovered it works when i type in just c: as my path
but thats not what i want to serve
id there a problem with using the folder documents and settings??

Last edited by shamguy4; 14/11/07 06:38 AM.
S
shamguy4
shamguy4
S
... so it works if i just set the folder in c: like c:/my files

and i wanted to make an event
i decided rather than an fserve remote event i will do an event that when you type like !file1 it sends file 1
but i want to make it that it corresponds to the number after the word file
so i can make it in the script file<the number> and it will send any file corresponding to that number file1 or file2... ect
is this possible?

how do i use the $ identifier to make this possible

and i still cant find any fserve scripts

Last edited by shamguy4; 14/11/07 09:10 PM.
R
r34dm4n
r34dm4n
R
Originally Posted By: shamguy4
... so it works if i just set the folder in c: like c:/my files

and i wanted to make an event
i decided rather than an fserve remote event i will do an event that when you type like !file1 it sends file 1
but i want to make it that it corresponds to the number after the word file
so i can make it in the script file<the number> and it will send any file corresponding to that number file1 or file2... ect
is this possible?

how do i use the $ identifier to make this possible

and i still cant find any fserve scripts


easy...do the on text and instead of /fserv just do the regular dcc send command and as for the second word just use $2 so it would be something like...

on *:text:*:#:{
if (!text isin $1) && (word isin $2) { dcc send $nick $2 }
}

of course you would have to do some teaking with it to make it work the way you want it...like setting variables and such to specify the folder and files

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Originally Posted By: shamguy4
er..? i cant seem to find any fserve scripts


Then you're not looking very hard. There are a LOT of fserv scripts out there, some that are standalone and some that are part of other, larger scripts.


Link Copied to Clipboard