mIRC Home    About    Download    Register    News    Help

Print Thread
#242075 15/06/13 09:34 PM
G
GamingTom
GamingTom
G
Hi, I am having trouble making a script that says 3 sentences but in 3 different messages.

Code:
on *:TEXT:!links:$chan:{
  msg $chan test1
  timerone 1 3 msg $chan test2
  timertwo 1 3 msg $chan test3
}


I tried that but it only says the first message and the last message.. Any help would be appreciated.

Last edited by GamingTom; 15/06/13 09:35 PM.
#242079 16/06/13 05:01 AM
5
5618
5618
5
The script you provided is correct, assuming you didn't use "$chan" literally in your on TEXT event, only in the timers.

Note that test2 and test3 will both appear simultaneously after 3 seconds. Maybe you are overlooking test2 because of that?

Tip: you don't need to name your timers and if you use ".timer" instead of "timer" then the messages regarding their start and stop will become silent.

#242080 16/06/13 08:22 AM
K
Kyance
Kyance
K
Try this:
on *:TEXT:*:#: {
if ( $1 == !links ) { msg $chan test1
msg $chan test2
msg $chan test3
----------
This is how it showed for me after that:
[11:22] * TeamDRD sets mode +qo Kyance Kyance for #K-Bot
[11:22] * K-Bot sets mode +v Kyance for #K-Bot
[11:22] <~K-Bot> Welcome, Kyance - Please read !help, and enjoy your stay!
[11:22] ->> Channel Modes are: +ntr
[11:22] ->> Channel created on 2013.06.15. 20:26:49
[11:22] <~Kyance> !links
[11:22] <~K-Bot> test1
[11:22] <~K-Bot> test2
[11:22] <~K-Bot> test3


Link Copied to Clipboard