AAAAhhhhh stupid me.
in al the stress trying to get all the names in one line I overlooked one thing.
I thought it would be nice to have bartender as a trigger but you can only use on 1:text:Bartender *:#: { once in a script.
anyone any ideas on how to expand the script with more drinks......
My eyes hurt from staring
This is what I have so far:
On 1:text:Bartender *:#:{
if (cola isin $1-) {
var %nicknum = $nick($chan,0)
var %nick1 = 1
}
while (%nicknum >= %nick1) {
if ($nick($chan,%nick1) isin $1-) {
var %nicklijst = $+(%nicklijst,$chr(32),$nick($chan,%nick1))
}
inc %nick1
}
if (((I isin $1-) || (me isin $1-) || (myself isin $1-))) { $read(bar\colaik.txt,t)
}
else { $read(bar\colalijst.txt,t)
}
else { $read(bar\cola.txt,t)
}
}