Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
mode
Forums
Active Threads
Search
Who's Online
Help
Print Thread
mode
#
44308
26/08/03
11:41 PM
Joined:
Aug 2003
Posts: 148
K
KoRn18
OP
Vogon poet
OP
KoRn18
Vogon poet
K
Joined:
Aug 2003
Posts: 148
in an elseif statement how can i get change modes from my bot using
!mode (+,-)[ntims
l
k
]
99
pass
Last edited by KoRn18;
26/08/03
11:49 PM
.
_________
may death strike you.
Copy Link to Clipboard
Re: mode
#
44309
26/08/03
11:44 PM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
Hoopy frood
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
What?
Copy Link to Clipboard
Re: mode
#
44310
26/08/03
11:47 PM
Joined:
Aug 2003
Posts: 148
K
KoRn18
OP
Vogon poet
OP
KoRn18
Vogon poet
K
Joined:
Aug 2003
Posts: 148
lol i want to change channel modes using on text using that
!mode thing i said
_________
may death strike you.
Copy Link to Clipboard
Re: mode
#
44311
26/08/03
11:49 PM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
Hoopy frood
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
Well that would have nothing to do with an elseif.
ON master:TEXT:!mode *:#thechannelhere:{
.mode $chan $2
}
Then anyone with the user level master can type
!mode the_modes_here
Copy Link to Clipboard
Re: mode
#
44312
26/08/03
11:50 PM
Joined:
Aug 2003
Posts: 148
K
KoRn18
OP
Vogon poet
OP
KoRn18
Vogon poet
K
Joined:
Aug 2003
Posts: 148
i have a large on text event with many different !things and im trying to add !mode but i cant figure it out so it works right
_________
may death strike you.
Copy Link to Clipboard
Re: mode
#
44313
26/08/03
11:53 PM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
Hoopy frood
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
Well unless I see the code, and see how you're doing it, I can't answer your question.
Copy Link to Clipboard
Re: mode
#
44314
26/08/03
11:56 PM
Joined:
Aug 2003
Posts: 148
K
KoRn18
OP
Vogon poet
OP
KoRn18
Vogon poet
K
Joined:
Aug 2003
Posts: 148
Code:
on @15:text:!*:%chan: { .... elseif ($1 == !mode) { mode %chan $2 } }
i get no errors, but nothing happens
_________
may death strike you.
Copy Link to Clipboard
Re: mode
#
44315
26/08/03
11:58 PM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
Hoopy frood
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
Are you saying the problem is you can't use +lk paramters? if so, do $2- instead of just $2
But that will also let people do things like !mode +o some_guy
Copy Link to Clipboard
Re: mode
#
44316
26/08/03
11:59 PM
Joined:
Aug 2003
Posts: 148
K
KoRn18
OP
Vogon poet
OP
KoRn18
Vogon poet
K
Joined:
Aug 2003
Posts: 148
yeah, and yeah...how can i fix that so it only does channel modes and not voice op hops?
_________
may death strike you.
Copy Link to Clipboard
Re: mode
#
44317
27/08/03
12:02 AM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
Hoopy frood
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
elseif ($1 == !mode) {
if (o isin $2 || h isin $2 || v isin $2) return
mode %chan $2-
}
Copy Link to Clipboard
Re: mode
#
44318
27/08/03
12:06 AM
Joined:
Aug 2003
Posts: 148
K
KoRn18
OP
Vogon poet
OP
KoRn18
Vogon poet
K
Joined:
Aug 2003
Posts: 148
maybe im wrong but that looks like it will only let people op voice or hop people which is the oposite of what i want
_________
may death strike you.
Copy Link to Clipboard
Re: mode
#
44319
27/08/03
12:07 AM
Joined:
Dec 2002
Posts: 3,138
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,138
London, UK
You are wrong, the return command stops it.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage