mIRC Home    About    Download    Register    News    Help

Print Thread
#124056 01/07/05 04:18 PM
Joined: Jul 2005
Posts: 5
P
pinchux Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jul 2005
Posts: 5
on *:text:*:?:{
if ($1 == go away) {
nick dabl^awaY
.nickserv identify password }
}


I want to change this, so that the programm change my nick first and only after 10seconds identify my new nick (sorry for not very clever language, my english isn't perfect smile

#124057 01/07/05 04:44 PM
Joined: Oct 2004
Posts: 31
B
Ameglian cow
Offline
Ameglian cow
B
Joined: Oct 2004
Posts: 31
Code:
on *:text:go away*:?: {
nick dabl^awaY
.timer 1 10 .nickserv identify PASSWORD
}


First of all, $1 will never equal "go away"
$1 refers to the first word, which would be "go"
Anyway... That will react when you recieve a notice starting with the text "go away"
It will change your nickname
Then 10 seconds later, it will identify


Bear

#124058 01/07/05 05:03 PM
Joined: Jul 2005
Posts: 5
P
pinchux Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jul 2005
Posts: 5
thanx. i'm very very grateful laugh

#124059 13/07/05 08:40 PM
Joined: Jul 2005
Posts: 5
P
pinchux Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jul 2005
Posts: 5
Quote:
Code:
on *:text:go away*:?: {
nick dabl^awaY
.timer 1 10 .nickserv identify PASSWORD
}


First of all, $1 will never equal "go away"
$1 refers to the first word, which would be "go"
Anyway... That will react when you recieve a notice starting with the text "go away"
It will change your nickname
Then 10 seconds later, it will identify


Bear


ok. one more not very hard question. if i want that the program change my nick to dabl^away, then after 10 seconds identify it, and after 3 more seconds part all channels, what should i write?

Code:
 .timer 1 10 .nickserv identify PASSWORD 

and what does the number 1 means? (as i suppose the second number shows the number of seconds)


Link Copied to Clipboard