mIRC Home    About    Download    Register    News    Help

Print Thread
#175391 21/04/07 11:09 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Hi All,

The welcome message below thing is not working.
But I dont understand what the problem is. Tried many variations, but non seem to work.

Code:
on *:JOIN:#channel:{
  if $+(!,%,$nick,.,welcomed) {
    set -u43200 $+(%,$nick,.,welcomed) 1
    msg $nick 05Hi $nick $+ , this is a message that you will receive only once every 12 hours.
  }
}


I guess doing this on address is even better. Can you help?

Thanks a lot!

OrionsBelt #175392 21/04/07 11:12 PM
Joined: Mar 2007
Posts: 139
S
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
Your syntx is wrong, i have not tested it but try the following amended code

Code:
on !*:JOIN:#channel:{
  if !$($+(%,$nick,.,welcomed,$cid),2) {
    set -u43200 $+(%,$nick,.,welcomed,$cid) 1
    msg $nick 05Hi $nick $+ , this is a message that you will receive only once every 12 hours.
  }
}


Solo1 #175394 21/04/07 11:21 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
OP Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
lol yeah.
completely different then I expected, but does the trick.

Thanks a lot man.

OrionsBelt #175409 22/04/07 11:17 AM
Joined: Mar 2007
Posts: 139
S
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
I just reread your post. A script going on the address would be alot better. So here it is.

Code:
on !*:JOIN:#channel:{
  if !$($+(%,$wildsite,.,welcomed,.,$cid),2) {
    set -u43200 $+(%,$wildsite,.,welcomed,.,$cid) 1
    msg $nick 05Hi $nick $+ , this is a message that you will receive only once every 12 hours.
  }
}



Link Copied to Clipboard