How do I Pause a script. Will you can't. But there is a work around.
You need to use a alias. And pass the info to that alias on a timer.
Example 1: I wish to see if the person is still in the channel 5 sec
after they say something
The timer passes on the users nick as $1 and the channels name as $2
;Remote
on *:text:*:#: {
.timer 1 5 usercheck $nick #
}
;Alias
userscheck {
if ($1 ison $2) {
commands
}
}
Example 2: You wish to pass on the name of the person the channel And what the person sead.
The timer passes on the users nick as $1 and the channels name as $2 And the Text is $3-
;Remote
on *:text:*:#: {
.timer 1 5 usersecho $nick # $1-
}
;Alias
usersecho {
if ($1 ison $2) {
echo 12 $2 $1 sead $3-
}
}
I hope this helps you out with adding a pause in your scripts.
You should note the rest of the script will fire. You are not halting anything just delaying it.
Modoc Efnet @#mIRC