Author Topic: On Op  (Read 2403 times)

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
On Op
« on: April 05, 2008, 11:27:03 PM »
Is There An "on *:OP" Or Would I Have To Use VB Scripting, Im Trying To Make It So If Anyone Ops My Bot, It will DeOp Itself Automatically

?

-Sam
~ Sam
~ Visit my website at http://www.TheCellist42.com

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: On Op
« Reply #1 on: April 05, 2008, 11:31:34 PM »
Never Mind...Sorry, I Decided To Write A VB Script...Here It Is!

Code: [Select]
Sub ONOP(ModeSet,Nickname,Host,ModeSetter,ModeSetterHost,Channel,ServerNumber)
if Nickname = "Turtles" then
SendCommand "/mode " & Channel & " -o Turtles"
End If
End Sub

Very Simple, Thanks!

-Sam
~ Sam
~ Visit my website at http://www.TheCellist42.com

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: On Op
« Reply #2 on: April 06, 2008, 04:23:45 PM »
Remember, its is always best to add ',Servernumber' at the end, if you are on multiple servers.
The IceChat God