Home
About
Download
Register
News
Help
Register
Log In
Forums
General Discussion
mIRC Scripting
Forums
Active Threads
Search
Who's Online
Help
Print Thread
mIRC Scripting
#
99740
04/10/04
08:54 PM
Joined:
Aug 2004
Posts: 142
N
nalAAlan
OP
Vogon poet
OP
nalAAlan
Vogon poet
N
Joined:
Aug 2004
Posts: 142
What are some cool/helpful tricks you found over the years while using mIRC?
Copy Link to Clipboard
Re: mIRC Scripting
#
99741
04/10/04
08:59 PM
Joined:
Aug 2004
Posts: 142
N
nalAAlan
OP
Vogon poet
OP
nalAAlan
Vogon poet
N
Joined:
Aug 2004
Posts: 142
To toggle a switch do
Code:
var %switch = $iif(%switch,0,1)
To have ten random numbers do
Code:
$($str($!r(1,10) $chr(32),10),2)
Copy Link to Clipboard
Re: mIRC Scripting
#
99742
04/10/04
09:09 PM
Joined:
Dec 2002
Posts: 2,884
Norwich, UK
S
starbucks_mafia
Hoopy frood
starbucks_mafia
Hoopy frood
S
Joined:
Dec 2002
Posts: 2,884
Norwich, UK
A simpler way to toggle a switch (assuming it's always a 1 or 0) is
var %switch = $xor(%switch,1)
.
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
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage