As starbucks said, u can use the braces { }.
Then you can, as he stated, just put ur commands each time on a new line.

You can however in this case, also use pipes, which some users might find 'uglier' but i think they are handy for when ur dealing with short commands.

So you could do:
Code:
on 1:JOIN:#Rivella,#dod.wars:{ mode #rivella +v $nick | mode #dod.wars +v $nick | msg $nick hihi } 
  

OR
Code:
 
on 1:JOIN:#Rivella,#dod.wars:{
mode #rivella +v $nick | mode #dod.wars +v $nick | msg $nick hihi 
} 
 

OR as starbucks showed
Code:
on 1:JOIN:#Rivella,#dod.wars:{
mode #rivella +v $nick
mode #dod.wars +v $nick
msg $nick hihi
} 
  

What scripting style u use, that is entirely up to you..feel free to chose whatever suits u smile

On a side note, you don't have to specify the target channel in this event, as it is saved in the '#' or '$chan' parameter, so you could do:
Code:
  
on @!*:JOIN:#Rivella,#dod.wars:{ mode # +v $nick | msg $nick hihi }


Note that the @ means that the script will only trigger if you are oped in the channel where the join occurs, and the ! means that the script will not trigger, when you are the person that joins.

Greetz

Last edited by FiberOPtics; 09/04/04 05:03 PM.

Gone.