05-30-2020, 08:22 +0200
AuthorPost
McFly04-04-2007, 21:56   | Basic status change script
(Guest)
on *:text:!fopper *:#: {
  var %n = $nick, %p = $remove($nick(#,%n).pnick,%n), %m = $remove($nick(#,$me).pnick,$me)
  if (~ isin %m) {
    if (~ isin %p) {
      { cs fop # add $2 | .notice $nick $2 has been added to $+(#,'s) fop list, if $2 has registered their nick }
    }
    else { .notice $nick You do not have sufficient access }
  }
  else { .notice $nick $me does not have sufficient access }
}
on *:text:!fop *:#: {
  var %n = $nick, %p = $remove($nick(#,%n).pnick,%n), %m = $remove($nick(#,$me).pnick,$me)
  if (~ isin %m) {
    if (~ isin %p) {
      { /mode # +qo $2 }
    }
    else { .notice $nick You do not have sufficient access }
  }
  else { .notice $nick $me does not have sufficient access }
}

That does the following in mIRC:
1) *!fopper nick* will add the said nick to the Fop (channel founder) list, as long as both the Bot, and the user, are Fop status already.
2) *!fop nick* will change the mode from original to +qo for the said nick, giving that person Founder status, as long as the bot and user are already at Founder position.

How would i make both of those into a proc? I already have the binds... Im just at a loss for examples
McFly04-04-2007, 22:12   | Simpler
(Guest)
Ok, lets make it simpler -_- . Alright,

on *:TEXT:!fop *:#:{ /mode $chan +qo $2 }

on *:TEXT:!fopper *:#:{ /cs FOP $chan add $2 }

those are the basic scripts without any other junk. So... Any ideas?
CyBex  04-05-2007, 09:41   Jabber  ICQ  AOL IM  Yahoo IM  MSN  Homepage
nie da
(Administrator)

Avatar

Member since 01/2004
260 Posts
Location: Berlin

mfG CyBex @ QuakeNet, UnderNet, EFNet, Freenode, euIRC, GameSurge & ShadowWorld - Files
Advanced options for this topic:

Ignore this topic (Do not list this topic in the "unread topics" search. You are currently not ignoring this topic.)
Hide this topic (Hidden topics are not displayed in the topics list. This topic is currently not hidden.)
Go to forum

Unclassified NewsBoard 1.5.3-d | © 2003-4 by Yves Goergen | Time: 190.8 msec, CPU time: 54.7 msec, 32 Database queries in 149.4 msec | 3.5 kB (12.9 kB) | Timezone: +0200