mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2003
Posts: 4
I
Self-satisified door
OP Offline
Self-satisified door
I
Joined: Mar 2003
Posts: 4
I'm still partially new to scripting on mIRC, but I've found out many useful things, like devoicing someone when they post a url that they've posted several times already, and simple away notices when your name is mentioned.

But the one problem I have when making scripts is the responce. I can't get my scripts to respond out of an action text. The mIRC help file says that to get the script to respond with normal text you use /msg, but when I use /msg for the responce it tries to message nickserv instead of messaging normally. This would be an example of what I'm talking about:

off 1:JOIN:#The_Fly_Crew_Apartment:/describe $chan looks up at $nick and waves, "Hello, welcome to the #The_Fly_Crew_Apartment."

The script itself works, but not the responce, I can only use /describe or /notice, but I would rather it responded in plain text. Is there any way to fix that?

Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
on 1:JOIN:#The_Fly_Crew_Apartment:/msg $chan looks up at $nick and waves, "Hello, welcome to the #The_Fly_Crew_Apartment."


D3m0nnet.com
Joined: Mar 2003
Posts: 4
I
Self-satisified door
OP Offline
Self-satisified door
I
Joined: Mar 2003
Posts: 4
Unfortunately I've tried that already, the /msg command doesn't work for some reason. It's always trying to message NickServ when my scripts have /msg for the responce, is there any other way of doing it?

Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
/msg $chan should work you might try using /say in some scripts it works in others it doesnt and also maybe look in the bugs forum to see if anyone else has had a similar problem ?

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Sounds to me like you are using a custom /msg alias. Try using /!msg $chan and see if that works.

Joined: Mar 2003
Posts: 4
I
Self-satisified door
OP Offline
Self-satisified door
I
Joined: Mar 2003
Posts: 4
I have absolutely no idea what a custom /msg alias is, but /!msg is working for all my scripts. Thank you very much for your help.

Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
what about /ame? Course its only a suggestion...

Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
doesnt /ame send an action to all open channels?


D3m0nnet.com

Link Copied to Clipboard