mIRC Home    About    Download    Register    News    Help

Print Thread
#247900 04/09/14 09:04 PM
Joined: Sep 2014
Posts: 2
D
DasMan Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Sep 2014
Posts: 2
help...I am trying to understand how to get a short sentence into a script that I don't have to keep retyping.

Hello, would you care to chat a while.

How would I do that please.

Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Example:
Code:
alias f8 { msg # Hello, would you care to chat a while. }
Then press f8.
Or, if you want it to be part of your future scripts, you can use something like this:
Code:
alias hello { return Hello, would you care to chat a while. }
on 1:join:#: { msg # $hello }



Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Sep 2014
Posts: 2
D
DasMan Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
D
Joined: Sep 2014
Posts: 2
I took your code for my script...

"Hello, would you care to chat for a while" put it in the script editor and tried it and nothing worked.alias

f8 { msg # Hello, would you care to chat a while. }

am I doing something wrong here


Link Copied to Clipboard