Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
random expire set %var
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: random expire set %var
Stephen
#
266605
03/01/20
06:37 AM
Joined:
Jan 2004
Posts: 2,127
maroon
Hoopy frood
maroon
Hoopy frood
Joined:
Jan 2004
Posts: 2,127
The 's' switch is for demo only. You can do like so:
//set $+(-su,$rand(5,9)) %testu foo
Or, if it's helpful to have the variable contain the time remaining in the cooldown:
//set -sz %testz $rand(5,9)
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
random expire set %var
Stephen
03/01/20
05:18 AM
Re: random expire set %var
maroon
03/01/20
06:37 AM
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 Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage