Skip to content
MSN Addons

Need Help About a whisper Code

A TG007 community discussion started by DMX.

Discussion 5 posts
Page 1 of 1
Open
Topic #2904 · 5 published posts · 910 views

Hi Guys i New At the Tg007 Forum Guys i tried to work on whisper Code about 2 years and i couldn't Know how to Make it

Guys i know a guy who made a whisper Code With a diffrent message's

Owner = Your Owner in My Room

Host = You Host in My Room

User = For any help Contact a Owner Or host

Like that Guys Please i need your help espacially Ozzy_10 Every type Of user's Get's a Diffrent message i need that command Thank You Guys

you want to check to see if the user that messages is owner/host/voice? if so try this

 

menu channel {
Whisper
.Set Channel:/set %curchan $chan
.Whisper Msg
..On:.enable #Wmsg 
..Off:.disable #Wmsg
}

#Wmsg off
on *:TEXT:*:?:{
 if ($nick isowner %curchan) { /msg $nick <message to owners here(remove the <>)> }
 if ($nick isop %curchan) { /msg $nick <message to hosts without brackets(<>)> }
 else
  { /msg $nick <message for regular users no brackets> }
}
#Wmsg end

 

That should work for what you wanna do.

Edited Feb 19, 2005 10:13 AM by Iceheart22
thx For Help But it dosen't work Please make sure it works i tried But Not Workin'
Edited Feb 20, 2005 2:27 PM by DMX

errrmm sorry.. Just noticed a error in my code.. Here is the replacement...

 

#wmsg off
on *:TEXT:*:?:{
 set %chan $comchan($nick,1)
 if ($nick isowner %chan) { <command> }
 elseif ($nick isop %chan) { <command> }
 else { <command> }
}
#wmsg end
menu Channel,Menubar {
 $iif($group(#wmsg) == on,$style(1) Whisper,$style(0) Whisper)  : . $+ $iif($group(#msg) == off,disable,enable) #wmsg 
}

Now again.. try that.

Dude You Rock That's what i'm talkin' About thanks Homie thank you very much Your the man