| View previous topic :: View next topic |
| Author |
Message |
SL0RD Voice
Joined: 05 Oct 2008 Posts: 19
|
Posted: Wed Jan 13, 2010 10:39 pm Post subject: Random Nick |
|
|
| I am just wondering if there is a way to select a random nick from the channel list, I want to make a script that on a trigger selects a random nick and then says it in the channel. |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Thu Jan 14, 2010 2:04 am Post subject: |
|
|
(Note: #test would be the name of YOUR Channel)
Easy way would be to use: | Code: | | lindex [chanlist #test] [rand [llength [chanlist #test]]] |
Example: | Code: | | set rnick [lindex [chanlist #test] [rand [llength [chanlist #test]]]] |
_________________ TCL the misunderstood |
|
| Back to top |
|
 |
|