Free2Code
 
Time: 2008-11-21, 09:25pm
Bot help? (mIRC Dreambot)
Subject: Bot help? (mIRC Dreambot)  ·  Posted: 2006-05-03, 02:17am
Rank: ? (1)
Member #: 27385
Well i have two questions:

1. I want to get my script to work (Protection [+a])
This is what i've got now:
if ($1 == !protection) { mode $chan +a }
if ($1 == !deprotection) { mode $chan -a }

It doesnt work :S and a friend of mine, has this function too, but i dont how to let this script work :s.

and 2:

I want to deop myself, but then my bot says that he would not deop his owner, how could i help this?

Thx.
~Ferdi_09~

 
  Reply to this ·  Post link ·  Top
Subject: Re: Bot help? (mIRC Dreambot)  ·  Posted: 2006-05-21, 09:03am
Rank: ? (3)
Member #: 27586
1. Try the following:

if (!protection isin $1-) { mode $chan +a }
if (!deprotection isin $1-) { mode $chan -a }


2. Try the following:

on owner:text:!deop*:#:{ mode $chan -o $2 }

Of course, replace "owner" with the owner level.

 
  Reply to this ·  Post link ·  Top
Subject: Re: Bot help? (mIRC Dreambot)  ·  Posted: 2006-09-01, 02:23pm
Rank: ? (48)
Member #: 20714
if ($1 == !protection) { mode $chan +a $2 }
if ($1 == !deprotection) { mode $chan -a $2 }

you forgot the $2 after the +a / -a ... if you leave that blank it wont work... i think.

PD: i forgot the $2 too...

» Post edited 2006-09-06, 01:29pm by EviLMoD.

Behold the power of cheese!
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons