Author Topic: selective onjoin  (Read 3847 times)

yoursinuk

  • Newbie
  • *
  • Posts: 5
selective onjoin
« on: November 26, 2006, 08:43:01 AM »
Trying to get my head around the icechat 7 scripting!

I have onjoin messages working ok, but how do I send an onjoin message to the room only when, for example, an op (+o) enters.

Do I need to mess with user levels, or is there a bit of script I can insert in the onjoin line which will limit it to a specific nick or group (+o,+V,etc)

many thanks
sin

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: selective onjoin
« Reply #1 on: November 26, 2006, 08:57:31 AM »
When a user joins, he will not get ops right away, the onjoin most likely will not see that.
So you will need to maintain your own seperate list of who you want to message, and who not.
Easiest way to do that is to add users to the user levels list, say at level 20 or such, and then use on join with level 20.
The IceChat God

yoursinuk

  • Newbie
  • *
  • Posts: 5
Re: selective onjoin
« Reply #2 on: November 26, 2006, 09:20:59 AM »
many thanks snerf