[Script] Oracle (version actuelle : 2.3.1)
#11
You shouldn't remove features :s
The point is, you're not supposed to use the script alone, do you ? I mean, what for ? it's not fun Razz
Anyway, i think you can mod the thingy otherwise.
I'd rather make the script outputs the nick "Somebody" when there's not enough people to use the proc :
TCL
proc Oracle::randnick {nick chan} {
    set users_list [lreplace [set users [chanlist $chan -b|]] [set index [lsearch $users $nick]] $index]
    set users_list [lreplace $users_list [set index [lsearch $users_list $::botnick]] $index]
    if {![llength $users_list]} { return Somebody }
    return [lindex $users_list [rand [llength $users_list]]]
}


Répondre Avertir


Messages dans ce sujet
RE: [script] Oracle v1.0 - par cestlemien - 08/06/2009, 19:23
RE: [script] Oracle v1.0 - par MenzAgitat - 08/06/2009, 20:38
RE: [script] Oracle v1.0 - par cestlemien - 08/06/2009, 23:18
RE: [script] Oracle v1.0 - par MenzAgitat - 08/06/2009, 23:41
RE: [script] Oracle v1.0 - par Helias - 09/06/2009, 21:46
RE: [script] Oracle v1.0 - par MenzAgitat - 09/06/2009, 22:10
RE: [script] Oracle v1.0 - par zarkox - 12/06/2009, 11:51
RE: [script] Oracle v1.0 - par lepheniX - 19/06/2009, 14:15
RE: [script] Oracle v1.0 - par panfleto - 13/08/2010, 17:09
RE: [script] Oracle v1.0 - par Artix - 13/08/2010, 22:08
RE: [script] Oracle v1.0 - par panfleto - 14/08/2010, 14:27

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté