Raw Commands

By F*U*R*B*Y* on Mar 26, 2006

this is based on http://www.hawkee.com/view.php?file_id=613 but updated a bit more. hopefully i cna update it some more but till then i guess this is it :D

just upload it and then have fun. warning it does annoy other ircops so don't use it alot and to use just right click in the back of any channel

on *:LOAD:{
  if ($version >= 6.16) {
    echo 2 -a $timestamp *** Raw Commands is Now Loaded
    echo 2 -a $timestamp *** Made By Paul
    echo 2 -a $timestamp *** come visit me on irc2.snm.co.nz
    echo 2 -a $timestamp *** i'm in #Lobby
  }
  else echo 4 -a $timestamp *** PLEASE UPDATE YOUR MIRC, TO 6.16 OR ABOVE
halt
}
dialog rawcmnds {
  title "Raw Commands Version 6"
  size 200 150 250 60
  option dbu

  tab "Join's/Part's",   100,  2   2 250  60,
  tab "Privmsg's", 200,
  tab "op/voice",       300,
  tab "Kick's/Ban's",         400,
  tab "Topic",         500,
  tab "Channel",         600,
  tab "None",         700,
  tab "None",         800,

  button "Join",        101,   19  19   63  10, tab100
  button "Part",       102, 19  30   63  10, tab100
  edit "i.e. :Operserv",        103,  41  49  63  10, tab100
  edit "i.e. #lobby",        104,  104  49   63  10, tab100   

  text "Message:",                           201,   19  20  20  10, tab200
  edit "Enter the Mesage here...",  202,  41  19 169  10, tab200
  text "Services Nickname",                              203,   19  30  95  10, tab200
  edit "i.e (:Operserv)",                             204, 116  30  95  10, tab200
  button "ok",                           205, 19  40  40  10,  tab200
  edit "i.e. #Youth :",                           206,  116  40  95  10, tab200

  Button "Op",        301,   19  19  63  10, tab300
  Button "deop",       302,   19  30  63  10, tab300
  button "Voice",     303,  83  19  63  10, tab300
  button "Devoice",    304,  83  30  63  10, tab300
  button "Admin",      305, 147  19  63  10, tab300
  button "Deadmin",      306, 147  30  63  10, tab300
  edit "Nickname",     307,   19  41  63  10, tab300 
  edit "Channel",     308,   83  41  63  10, tab300

  button "Kick",        401,   19  19   63  10, tab400
  button "Ban",       402, 19  30   63  10, tab400
  button "UnBan",     405,  83  19  63  10, tab400
  edit "nickname",        403,  41  49   63  10, tab400
  edit "Channel",        404,  104  49   63  10, tab400   

  text "Topic:",           501,      19 20 63 10, tab500
  edit "Topic goes here...",       502,    41  19 169  10, tab500
  button "Accept",          503,      19 30 95 10, tab500
  edit "Channel Name",          504,  116  30  95  10, tab500

  button "Kick",        601,   19  19   63  10, tab600
  button "Close Channel",       602, 19  30   63  10, tab600
  button "Open Channel",       605,  83  19  63  10, tab600
  edit "Nickname",        603,  41  49   63  10, tab600
  edit "Channel",        604,  104  49   63  10, tab600   

  text "Under Construction:",           701,      19 20 63 10, tab 700

  text "Under Construction:",           801,      19 20 63 10, tab 800

}

on *:DIALOG:rawcmnds:sclick:*:{
  if ($did == 101) { /operserv raw $did(103) join $did(104) }
  if ($did == 102) { /operserv raw $did(103) part $did(104) }

  if ($did == 205) { /operserv raw $did(204) privmsg $did(206) $did(202) }

  if ($did == 301) { /operserv mode $did(308) +o $did(307) }
  if ($did == 302) { /operserv mode $did(308) -o $did(307) }
  if ($did == 303) { /operserv mode $did(308) +v $did(307) }
  if ($did == 304) { /operserv mode $did(308) -v $did(307) }
  if ($did == 305) { /operserv mode $did(308) +a $did(307) }
  if ($did == 306) { /operserv mode $did(308) -a $did(307) }

  if ($did == 401) { /operserv kick $did(404) $did(403) Good Bye }
  if ($did == 402) { /mode $did(404) +b $did(403) | /operserv kick $did(404) $did(403) Good Bye }
  if ($did == 405) { /chanserv unban $did(404) }

  if ($did == 503) { /topic $did(504) $did(502) }

  if ($did == 601) { /operserv raw :Chanserv kick $did(604) $did(603) :Channel Closed }
  if ($did == 602) { //msg $did(604) Hello $did(604) I assit in running SuperChat. | //msg $did(604) I have been sent here to close this room for unknowen reasons, please leave or be kicked | /operserv raw :Chanserv mode $did(604) +b *!*@* }
  if ($did == 605) { /operserv raw :Chanserv mode $did(604) -b *!*@* }

}
menu nicklist,channel {
  Raw Commands:/dialog -m rawcmnds rawcmnds
}

Comments

Sign in to comment.
xDaeMoN   -  Mar 28, 2006

Use \"else\"

else echo 4 -a $timestamp *** PLEAS....

 Respond  
F*U*R*B*Y*   -  Mar 28, 2006

okay updated

 Respond  
anthalus   -  Mar 27, 2006

This one: if ($version <= 6.16) should be changed to if ($version < 6.16) otherwise, everyone will get both messages. Also, you need to halt the script in the instance of under 6.16.

 Respond  
F*U*R*B*Y*   -  Mar 26, 2006

okay, i dunno if the version stuff works but if it doesn\'t can someone tell me what the correct code is :D

 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.