mIRC Home    About    Download    Register    News    Help

Print Thread
#5621 08/01/03 09:18 PM
Joined: Jan 2003
Posts: 1
S
Mostly harmless
OP Offline
Mostly harmless
S
Joined: Jan 2003
Posts: 1
I'm trying to figure out how to make a remote setting to allow me to add people to my notify list via a text command but the only command i can think of to try this would be writeini under the [notify] in the mirc.ini file but your not supposed to do that with and active ini file. just wondering how i might do it or if i'm missing a command that could do it for me.
what i'm trying to do is make it so when someone joins the server i'm on it automaticaly increses the room limit by 10 to allow the person to join the room if it's full then go back down to our usual max limit.

Sparhawk

#5622 08/01/03 09:27 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
/help /notify


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#5623 08/01/03 09:27 PM
Joined: Jan 2003
Posts: 6
C
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
C
Joined: Jan 2003
Posts: 6
/help on notify
/help $notify

#5624 08/01/03 09:38 PM
Joined: Dec 2002
Posts: 417
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 417
I use this in my Popup Nick List to add and remove a nick from notify in the Nick List.

Code:
[color:red]
(+/-) Notify: {
    if ( $$1 isnotify ) { .notify $$1 | echo 1 »14»15» 4 $$1 12has been removed from notify. }
    else { .notify $$1 | echo 1 »14»15» 4 $$1 12has been added to notify. } 
  }
[/color]


[EDIT: shortened the lines. -Hammer]

Last edited by Hammer; 08/01/03 09:44 PM.



Intelligence: It's better to ask a stupid question, then to prove it by not asking....
#5625 08/01/03 09:49 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Code:
[color:red]
  
  $iif($notify($1),$style(1))[/color] Notify:{
    if ($notify($$1)) { .notify [color:red]-r[/color] $$1 | echo 1 »14»15» 4 $$1 12has been removed from notify. }
    else { .notify $$1 | echo 1 »14»15» 4 $$1 12has been added to notify. } 
  }

$notify($1) will return the entry number for the nick if it's on notify or $null if it's not. To remove someone from your notify list, you need to use /notify -r.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard