mIRC Home    About    Download    Register    News    Help

Print Thread
#174812 13/04/07 12:35 AM
B
BritishGent
BritishGent
B
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

Last edited by BritishGent; 13/04/07 12:36 AM.
Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
It's HELP/DEHELP, not HALFOP/DEHALFOP.

Joined: Dec 2002
Posts: 1,995
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,995
try on 1:HELP:#:{

~ Edit ~

Beat by seconds!
smile

Last edited by RoCk; 13/04/07 12:40 AM.
B
BritishGent
BritishGent
B
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

Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
Should be $hnick, not $hopnick, and you'll need a | after the first } in both code blocks.

B
BritishGent
BritishGent
B
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

Joined: Sep 2005
Posts: 2,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
No probs smile

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

B
BritishGent
BritishGent
B
thats not to far away...

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


lol.


Link Copied to Clipboard