Nick info dialog

By Weasel on Jul 31, 2009

type /opin
only works in an active server connection,
type in your channel, click 'view stats' button and text will change to your current status "note" does NOT do admin or owner, comment and rate!

**************************
******status dialog*******
**************************
alias opin /dialog -hm opin opin
dialog opin {
  title "are you op in...."
  size -1 -1 500 500
  edit enter a channel, 1, 50 50 100 50 center
  text %ophop , 2, 250 250 100 100,
  button "view stats", 3, 350 350 70 50
}
on 1:dialog:opin:edit:1: {
  set %opchan $did(1)
}
on 1:dialog:opin:sclick:3: {
  if ($me isvoice %opchan) { set %ophop voice in %opchan | did -ra opin 2 %ophop }
  if ($me isreg %opchan) { set %ophop regular user in %opchan | did -ra opin 2 %ophop }
  if ($me ishop %opchan) { set %ophop halfop in %opchan | did -ra opin 2 %ophop }
  if ($me isop %opchan) { set %ophop op in %opchan | did -ra opin 2 %ophop **note** you could be admin and up }
  if ($me !ison %opchan) { set %ophop not in %opchan | did -ra opin 2 %ophop }
}

Comments

Sign in to comment.
Jonesy44   -  Aug 03, 2009

Ooher. amazing.

 Respond  
Weasel   -  Aug 03, 2009

Jonesy, i believe it can do ops in chans your not =p and soon aops...

 Respond  
Jonesy44   -  Aug 03, 2009

LOOK at the feckin user list!

[size=20]B=============D[/size]

 Respond  
Jethro   -  Aug 03, 2009

Actually by taking a closer look at pickle's example, one parameter is missing from the code:> if ($left($nick(#,$me).pnick,1)Without the # or $chan, an error will occur.

 Respond  
Jethro   -  Aug 02, 2009

you could find out if your admin/owner of a room with
if ($left($nick($me).pnick,1) == &)
if ($left($nick($me).pnick,1) == ~)You could also use:

if ($nick(#,$me,&)) {
if ($nick(#,$me,~)) {
 Respond  
PATX   -  Aug 02, 2009

"""

_>
least my codes does something cool unlike yours :x
"""

LOL. Nice burn!

 Respond  
Weasel   -  Aug 02, 2009

i dunno

 Respond  
asakura   -  Aug 02, 2009

also the edit thing is typically useless :D as you set %opchan as $did(1) why not use just $did(1) instead of %opchan and save a whole 2 lines :D

saving you money everyday!

sorry just saw it on an infomercial >=)

 Respond  
asakura   -  Aug 02, 2009

oucchh why so big?

"note you could be admin or up" yehhh but im not :D wahey!

 Respond  
pickle16   -  Aug 01, 2009

_>
least my codes does something cool unlike yours :x

 Respond  
Weasel   -  Aug 01, 2009

invalid paramiters, no chan there ;p

 Respond  
pickle16   -  Aug 01, 2009

least this has somewhat of use...if you don't have a nicklist and can't /whois. :x
But why is the dialog half of my screen? :/
and is the variable %ophop nesscessary?
you could find out if your admin/owner of a room with
if ($left($nick($me).pnick,1) == &)
if ($left($nick($me).pnick,1) == ~)

 Respond  
PATX   -  Jul 31, 2009

well. this is ok... i think... whats wrong with doing /whois? but this is better then ur last post...

 Respond  
Kirbeh_Pr0nz   -  Jul 31, 2009

holy shit! XD

 Respond  
Kirbeh_Pr0nz   -  Jul 31, 2009

lol, i think ur jumping into dialogs too quick m8. but, i gotta say, ur improving ur msl exp.

@ jonesy44:

admin/owener
.> owener?

 Respond  
_Daniel_   -  Jul 31, 2009

lol

 Respond  
Weasel   -  Jul 31, 2009

but do you like it?

 Respond  
Jonesy44   -  Jul 31, 2009

make it so it CAN do admin/owener? Note: http://www.hawkee.com/snippet/5665/

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.