mIRC Homepage

Help Required..........

Posted By: BritishGent

Help Required.......... - 13/04/07 12:35 AM

Hi there Folks.........

I have a small problem I cannot seem to rectify.....

I have recently obtained a script for thanking for voice, op and halfop in channels, but alas the halfop does not seem to work.

Here is the c ode I have used:

Code:
on 1:HALFOP:#:{
if ($hopnick == $me) { /msg $chan ^0^ } /timer 1 2 /describe $chan 7huggles4 $nick $+ 7, "Thank youuu!" }

on 1:DEHALFOP:#:{
if ($hopnick == $me) { /msg $chan 3What? I gave you a friggin huggle for that...! } /timer 1 2 /describe $chan 7flips off4 $nick $+ ... }


If any one could assist me on this I would be greatful.

Many thanks in advance. smile
Posted By: hixxy

Re: Help Required.......... - 13/04/07 12:38 AM

It's HELP/DEHELP, not HALFOP/DEHALFOP.
Posted By: RoCk

Re: Help Required.......... - 13/04/07 12:40 AM

try on 1:HELP:#:{

~ Edit ~

Beat by seconds!
smile
Posted By: BritishGent

Re: Help Required.......... - 13/04/07 12:44 AM

Edited to the following:

Code:
on 1:HELP:#:{
if ($hopnick == $me) { /msg $chan ^0^ } /timer 1 2 /describe $chan 7huggles4 $nick $+ 7, "Thank youuu!" }

on 1:DEHELP:#:{
if ($hopnick == $me) { /msg $chan 3What? I gave you a friggin huggle for that...! } /timer 1 2 /describe $chan 7flips off4 $nick $+ ... }


and sadly it still is not working frown
Posted By: hixxy

Re: Help Required.......... - 13/04/07 12:46 AM

Should be $hnick, not $hopnick, and you'll need a | after the first } in both code blocks.
Posted By: BritishGent

Re: Help Required.......... - 13/04/07 12:51 AM

Originally Posted By: hixxy
Should be $hnick, not $hopnick, and you'll need a | after the first } in both code blocks.


That works a treat.

Thank you very much smile
Posted By: hixxy

Re: Help Required.......... - 13/04/07 12:56 AM

No probs smile

On a side note, you're just up the road from me.. I'm in Lincoln.
Posted By: BritishGent

Re: Help Required.......... - 14/04/07 02:45 PM

thats not to far away...

I only moved back here 2 years ago from the ole' smoke


lol.
© 2022 mIRC Discussion Forums