join nick

By Ville on Apr 08, 2005

Pointless really, when someone join it says a random name from file nick.txt note: you must make a nick.txt file with a random name in it

on 10:text:!nick*:#:{ 
if ($2 == $null) { halt }
write nick.txt $2 | .notice $nick Nickname entered 
on 1:join:#:{ .notice $nick Hiya ' $+ $read(nick.txt) $+ ' }

Comments

Sign in to comment.
xDaeMoN   -  Apr 08, 2005

You forgot to put the closing bracket \"}\" in the on text event.

 Respond  
Ville   -  Apr 08, 2005

edited

 Respond  
xDaeMoN   -  Apr 08, 2005

There should be a check to make sure that a second parameter is entered before writing to the text file.

 Respond  
Ville   -  Apr 08, 2005

Im only new at mirc scripting, so go easy on me.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.