Skip to content
General IRCX

Guest Halt

A TG007 community discussion started by Molson™.

Discussion 11 posts
Page 1 of 1
Open
Topic #11383 · 11 published posts · 4,508 views

if (!$hget($right(#,-2) $+ aop,%address)) && (!$hget(globalaop,%address)) && (%nick != $mnick) &&  (:>* iswm %nick)  {

 

How come this doesn't work right? I just want it to halt it from adding guest nicks.

 

 

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

(:>* iswm %nick)

 

 

Don't you want to say !iswm?

naw, don't work neither.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

Remove the colon.

 

(>*...

 

Enjoy a bit of MSN Chat nostalgia? You'll love our fun retro webchat page!

I guess no one knows how to fix it so it don't add guest nicks. :P

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

Try this...

 

if (!$hget($right(#,-2) $+ aop,%address)) && (!$hget(globalaop,%address)) && (%nick != $mnick) &&  (>* !iswm $nick(%nick).pnick)

Edited Oct 13, 2008 3:31 AM by Warrior124

I get invaild format "$nick" and line number.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256

Try regular expressions:

 

if (!$hget($right(#,-2) $+ aop,%address)) && (!$hget(globalaop,%address)) && (%nick != $mnick) && (!$regex($nick,(\076))) {

 

Or

 

Use Travis' suggestion:

 

if (>* iswm $nick) { return }

 

These two methods will work.

Edited Oct 13, 2008 6:36 PM by Fanfare

You are correct. I accidentally left something out. This should work...

 

if (!$hget($right(#,-2) $+ aop,%address)) && (!$hget(globalaop,%address)) && (%nick != $mnick) &&  (>* !iswm $nick(#,%nick).pnick)

> is not a user mode. It should be a part of the nick name. Shouldn't need .pnick.

 

Seriously molson .... a nickname is in the event. Does it start with a > ? If it does, /return.

Thanks Fanfare. I'll try Warrior's too.

Custom Computer

AMD Athlon 64 x2 Dual Core 5200+

Asus M2N-SLI MOB

2GB DDR2 @ 800mhz

160GB Hard Drive

NVidia GeForce 8400GS 256