Skip to content
MSN Addons

clone detect

A TG007 community discussion started by K0rupt.

Discussion 5 posts
Page 1 of 1
Open
Topic #2848 · 5 published posts · 544 views

#clonedetect on

on *:join:*:{

if ($nick == $me) return

if (!$read(users.txt,w,* $+ $address($nick,1) $+ *)) {

write users.txt $address($nick,1) $nick

privmsg $chan S \rTahoma;0 First time here $nick (B)

}

else {

if ($nick == $me) return

if ($read(users.txt,s, $address($nick,1)) != $nick) {

privmsg $chan S \rTahoma;0 Time For A Name Change $nick ... Or Should I Say $ifmatch ;)

write -l $+ $readn users.txt $address($nick,1) $nick

}

else {

privmsg $chan S \rTahoma;0 Hey $nick Welcome Back :D

}

}

}

clonedetect end

}

;--- End of script

-----------------------------------------------------------------------------------------------

my question is there a way instead of msg # ...i want to add it in my script like as a gatekeeper on join it records them.....but i want it to open another window on my script showing me ,instead of telling the room What There Lastnick was......... and help will do thanks

Edited Feb 12, 2005 7:55 PM by OZZY_10â„¢

#clonedetect on
on *:join:*:{
if (!$window(@clonecheck)) { window -knO @clonecheck -1 -1 600 200 }
if ($nick == $me) return 
if (!$read(users.txt,w,* $+ $address($nick,1) $+ *)) {
write users.txt $address($nick,1) $nick
echo $color(own) -ti2 @clonecheck First time here $nick 
}
else {
if ($nick == $me) return 
if ($read(users.txt,s, $address($nick,1)) != $nick) {
echo $color(own) -ti2 @clonecheck Time For A Name Change $nick ... Or Should I Say $ifmatch
write -l $+ $readn users.txt $address($nick,1) $nick
}
else {
echo $color(own) -ti2 @clonecheck Hey $nick Welcome Back
}
}
}
clonedetect end
}
;--- End of script

 

try that

 

My code does NOT have bugs. It just develops random features.

works great.......thanks ozzy

 

 

 

 

np

My code does NOT have bugs. It just develops random features.

clonedetect end

 

with that line it should be

 

#clonedetect end