$Mybb Variable List
#16
Is there a way to generate a random number whenever a template is called? like, I have this announcement template which is called depending on the amount of announcements it has, for instance, if it has 3 announcements, the template is called 3 times, and thus the code is repeated within that block. so I want a way to generate an unique number for that one instance, for instance if the template is called in the first time one number for the whole round, but in the next round the number is different. so Is there a variable in mybb to do what I want? Thanks.
Reply


Messages In This Thread
$Mybb Variable List - by Miah - 2014-03-22, 02:06 AM
RE: $Mybb Variable List - by Cedric - 2014-03-23, 03:33 PM
RE: $Mybb Variable List - by Nathan Malcolm - 2014-03-23, 05:46 PM
RE: $Mybb Variable List - by cafeĆ­na - 2014-03-29, 05:35 PM
RE: $Mybb Variable List - by UnfedZombie - 2015-02-22, 09:09 AM
RE: $Mybb Variable List - by Destroy666 - 2015-02-22, 11:54 PM
RE: $Mybb Variable List - by niere8 - 2015-03-03, 10:18 PM
RE: $Mybb Variable List - by Leefish - 2015-03-03, 10:29 PM
RE: $Mybb Variable List - by niere8 - 2015-03-03, 10:50 PM
RE: $Mybb Variable List - by Crazycat - 2015-03-03, 10:53 PM
RE: $Mybb Variable List - by Ircher - 2015-03-03, 11:19 PM
RE: $Mybb Variable List - by Crazycat - 2015-03-04, 03:40 PM
RE: $Mybb Variable List - by Blackbeard - 2016-03-01, 08:06 PM
RE: $Mybb Variable List - by Destroy666 - 2016-03-02, 11:39 PM
RE: $Mybb Variable List - by Blackbeard - 2016-03-03, 01:43 AM
RE: $Mybb Variable List - by Stormyy - 2017-02-16, 12:44 PM
RE: $Mybb Variable List - by Matt - 2017-02-16, 01:07 PM
RE: $Mybb Variable List - by Stormyy - 2017-02-16, 07:50 PM
RE: $Mybb Variable List - by ketamine - 2017-07-12, 08:21 AM
RE: $Mybb Variable List - by fizz - 2017-07-12, 08:27 AM
RE: $Mybb Variable List - by Xaphryl - 2018-03-22, 08:12 AM
RE: $Mybb Variable List - by Matt - 2018-03-22, 01:29 PM
RE: $Mybb Variable List - by Xaphryl - 2018-03-22, 08:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)