mIRC Home    About    Download    Register    News    Help

Print Thread
#72963 27/02/04 08:37 PM
B
bunar
bunar
B
on /msg something i got this:

(21:34) -> *something* my sentence

can some1 do some lil script that will remove this stupid echo crap

so i dont see it when i do /msg something blabla

#72964 27/02/04 08:42 PM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
/[color:red].msg something blabla[/color]

The . makes it hide the command's output. It works on other commands too, such as /timer.

#72965 27/02/04 08:42 PM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
/.msg something blabla
Wasn't worth getting worked up over now was it?

#72966 27/02/04 08:44 PM
B
bunar
bunar
B
i do not understand your question, expand it more


Last edited by bunar; 27/02/04 08:46 PM.
#72967 27/02/04 08:48 PM
B
bunar
bunar
B
add

i put that in aliases as:

/msg /.msg $1-

but i have also /mcs /msg chanserv $1-

and /msg blabla is good (no echo)

but on /mcs help nothing happens and i got this error:
/msg: insufficient parameters (line where /.msg command is)


help needed

Last edited by bunar; 27/02/04 08:54 PM.
#72968 27/02/04 09:40 PM
Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
Never mind. It was a rhetorical question anyway.

About your other problem, I'm afraid it must be a bug somewhere else in your script because using the two aliases you've given worked fine for me.

#72969 27/02/04 09:54 PM
B
bunar
bunar
B
i dont use script while testing new things,

and this in aliases is clean, no script attached...

#72970 27/02/04 10:02 PM
D
DaveC
DaveC
D
let us see the actual alias lines, rather than just saying what there like. (ok they might be close but you placed text in front of one, which means you likely just typed it out here agian, rather than copied them in here directly)

#72971 27/02/04 11:26 PM
B
bunar
bunar
B
all i got:


/hop { .part # | /.timer 1 2 /join # }
/umode /mode $me $1-
/cmode /mode $chan $1-
/invite /!invite $1- $chan
/msg /.msg $1-

/cs /ChanServ $1-
/ns /NickServ $1-
/ms /MemoServ $1-
/os /OperServ $1-
/as /AdminServ $1-
/hs /HelpServ $1-

/mcs /msg ChanServ $1-
/mns /msg NickServ $1-
/mms /msg MemoServ $1-
/mos /msg OperServ $1-
/mas /msg AdminServ $1-
/mhs /msg HelpServ $1-

#72972 28/02/04 07:33 AM
D
DaveC
DaveC
D
I just pasted that lot into an empty mirc
then did these two commands...

/mcs
* /msg: insufficient parameters (line 5, aliases1.mrc)

/mcs help
[19:31] -ChanServ- ChanServ allows you to register and control various
[19:31] -ChanServ- aspects of channels. ChanServ can often prevent
etc etc

#72973 28/02/04 08:11 AM
I
icer5k
icer5k
I
/msg /.msg $1-
^ that should be:
/msg /.msg $$1-

#72974 28/02/04 03:58 PM
B
bunar
bunar
B
by some weird force it works now normally :0

#72975 29/02/04 12:27 AM
D
DaveC
DaveC
D
Why should it be that? its not going to correct what was happening to him, just make it harder to track down.


The native effect of doing a "/.msg chanserv" is "* /msg: insufficient parameters"
I would expect this as the error "* /msg: insufficient parameters (line 5, aliases1.mrc)" and the script to halt, allowing the user to diagnose why he caused it, rather than it carry on and leave him wondering why the service is not responding.

#72976 01/03/04 01:29 PM
T
TonyTheTiger
TonyTheTiger
T
You may want to use this so you can see it when you want to.

Code:
alias msg {
  if (($1 ischan) || ($query($1))) $iif($show,msg,.msg) $$1-
  else .msg $$1-
}


Edit: oops

Last edited by TonyTheTiger; 01/03/04 02:43 PM.
#72977 01/03/04 03:04 PM
B
bunar
bunar
B
what does this code do?

se nothing as improved...

itz same as
/msg /.msg $1-
in aliases...

explain pls

#72978 01/03/04 06:22 PM
T
TonyTheTiger
TonyTheTiger
T
It's pretty much the same but doesn't hide the output
if you msg a channel or open query window unless
you actually use .msg .. just using alias msg .msg $1-
if you were to msg a channel you're on using the msg
command .. you would not see the output in the channel ..
same with query. use it or not, your choice .. it was just my
contribution to your problem is all smile

Last edited by TonyTheTiger; 01/03/04 06:24 PM.
#72979 01/03/04 11:20 PM
B
bunar
bunar
B
i thank you for your contribution


Link Copied to Clipboard