Hi,

I have been playing around with this but can't get it to work properly. So, I need your help. smile
Purpose is: when someone joins the channel and has guest (=gast) in the nick (e.g. gast1235) he should get a message which gives some info how to change the nick. After a while the script should check if he changed the nick. If there is still gast in the nick he should be kicked. If he changed and has no longer gast in it nothing should happen.
This is the script:

on *:JOIN:#mytest:{
if (($nick != $me) && ($nick !isop $chan)) {
/timermsg. [ $+ [ $nick ] ] 1 15 /nickmsg $nick $chan
/timermsg2. [ $+ [ $nick ] ] 1 30 /nickmsg2 $nick $chan
}
}
alias nickmsg {
if ((gast isin $1) && ($1 ison $2)) {
/notice $1 Hallo
}
}
alias nickmsg2 {
if ((gast isin $1) && ($1 ison $2)) {
/kick $2 $1 bleh
}
}

The times (15 and 30 sec) are just for testing purpose and will later be 120 and 180.
What the script does not now, is to check if the person has changed the nick. If the person gets the message and then change to e.g. Gastxyz nothing happens.
However if he doesn't change his nick the kick works. So it must be a problem with $1 .. what am I doing wrong?

Thanks
Gwion