I'm currently writing a small custom script for reptilerooms.com's IRC channel. I am using remote scripts for logging onto the server and channel, but am looking for a way to use a random nick when they join. Something along the lines of RR-User***, the *** being the random part. Maybe numbers or something of the sort. Thanks in advance for any help.
your looking for $r / $rand
$+(RR-User,$rand(a,z),$rand(0,9),$rand(a,z))
would give you a nick like RR-Userb3g or RR-Useri6k
hope thats what your looking for...
alias randomnick nick $+(RR-User,[,$r(A,z),$r(A,z),$r(A,z),$r(A,z),])
use the alias
your looking for $r / $rand
$+(RR-User,$rand(a,z),$rand(0,9),$rand(a,z))
would give you a nick like RR-Userb3g or RR-Useri6k
hope thats what your looking for...
That looks like what I'm looking for but to be honest I have no idea how to implement it
whereever youre trying to give them a random name, inser $randRR
and place this in your remote also
alias randRR { return $+(RR-User,$rand(A,z),$rand(0,9),$rand(A,z)) }
i included the idea with varying between capital and non-capital letters
but as i said: whereever you need this random nick, just use $randRR
Ty
I've actully suprised myself on this and was able to get this working before your post. This is what I got for it:
On *:Start: {
randomnick
connect2servers
}
alias randomnick {
nick $+(RR-User,$r(A,z),$r(0,9),$r(A,z))
}
alias connect2servers {
server irc.sorcery.net -j #reptilerooms
}
Thank you very much for your help.