Author Topic: possibly suspending processes?  (Read 1735 times)

AnonStoner

  • Newbie
  • *
  • Posts: 3
possibly suspending processes?
« on: October 16, 2011, 05:38:58 PM »
SO i wrote a short script for kicking people who dont belong in certain channels and here it is---

Code: [Select]
on *:JOIN:#privategamers: {
  if ($nick isreg $chan) {
    /kick #Privategamers $nick 4THIS IS FOR PRIVATE GAMERS ONLY! 3(If you are a true private gamer already, please let Jake know, or identify as your normal nickname!)4[banned: 5 minutes]
    ban -ku300 $chan $nick
    halt
  }
}

NOW, this would work perfectly fine, except that the script picks up the fact that the entering user has no modes like +v +h +o or +a set, before chanserv is able to set them, and proceeds to kick them

Normally, I would have a channel set as mode +i and set individual users as +I so that they can bypass the invite command, but the server im on doesnt support that.   Any ideas?  Is there some way i can suspend the script so that the if statement isnt evaluated until maybe 1 second after the user enters?

Thanks
-Jake

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: possibly suspending processes?
« Reply #1 on: October 16, 2011, 09:28:50 PM »
Sorry, the mirc script engine in icechat is not a perfect copy, and some things just do not work the same.

As a result, there is no 'halt'
The IceChat God