mIRC Home    About    Download    Register    News    Help

Print Thread
#174812 13/04/07 12:35 AM
Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
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.

Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It's HELP/DEHELP, not HALFOP/DEHALFOP.

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

~ Edit ~

Beat by seconds!
smile

Last edited by RoCk; 13/04/07 12:40 AM.
Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
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


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Should be $hnick, not $hopnick, and you'll need a | after the first } in both code blocks.

Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
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


Never ASSUME!!!

As it often makes and ASS out of U and ME!!
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
No probs smile

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

Joined: Oct 2006
Posts: 82
B
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 82
thats not to far away...

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


lol.


Never ASSUME!!!

As it often makes and ASS out of U and ME!!

Link Copied to Clipboard