This is weird, I don't know what the problem could beshrmaprem0202 wrote: ↑Mon Feb 05, 2024 3:23 am If i use script tag display nothing was display and without script tag displayed code in text format
Search found 69 matches
- Mon Feb 05, 2024 3:25 am
- Forum: Problems
- Topic: Can anyone tell me how to use this api new method
- Replies: 23
- Views: 59661
Re: Can anyone tell me how to use this api new method
- Sun Feb 04, 2024 4:36 pm
- Forum: Problems
- Topic: Can anyone tell me how to use this api new method
- Replies: 23
- Views: 59661
Re: Can anyone tell me how to use this api new method
What error are you getting?
- Sat Feb 03, 2024 7:07 pm
- Forum: Problems
- Topic: Can anyone tell me how to use this api new method
- Replies: 23
- Views: 59661
Re: Can anyone tell me how to use this api new method
Hey guys! For some reason Admin changed the way to call the functions , now it is api.method_name. Here's an example of using api.user_info to list registered users: local tags = [=[ <div class="user-line"> <a href="/user/%id%/%username%"><b>%username%</b></a><br> <i>Registered: ...
- Thu Feb 01, 2024 9:28 pm
- Forum: Ask any question
- Topic: [HELP] RANDOM NUMBER GENERATOR
- Replies: 11
- Views: 41263
Re: [HELP] RANDOM NUMBER GENERATOR
I want to create a random post code there i can use %total% tag in random tag Now we will be able to do this by following these steps: 1. Create a Post Lister with the following: -Enter Code- {{NULL()}} -Enter Config- <FORUMID>24031</FORUMID> <LIMIT>1</LIMIT> -Footer- {{PAGING(%last%)}} Now, click ...
- Thu Feb 01, 2024 8:50 pm
- Forum: Ask any question
- Topic: [HELP] RANDOM NUMBER GENERATOR
- Replies: 11
- Views: 41263
Re: [HELP] RANDOM NUMBER GENERATOR
What if i need only 1 to 35 Okay, so after some thinking I came out with this "thing" to generate random numbers between a given range (just set "start" and "end" - must be positive numbers and end > start): {{VALUE(1)@INT@SET(start)@NULL}} {{VALUE(35)@INT@SET(end)@NUL...
- Wed Jan 31, 2024 9:21 pm
- Forum: Ask any question
- Topic: [HELP] RANDOM NUMBER GENERATOR
- Replies: 11
- Views: 41263
Re: [HELP] RANDOM NUMBER GENERATOR
to make random use like this: {{RANDOM([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35])}} isn't it easy Yeah, it's really simple, but I think shrmaprem0202 was wanting something more programmable instead of having to type all the numbers by hand. I ...
- Wed Jan 31, 2024 5:06 pm
- Forum: Ask any question
- Topic: [HELP] RANDOM NUMBER GENERATOR
- Replies: 11
- Views: 41263
Re: [HELP] RANDOM NUMBER GENERATOR
Oh darn, sorry about that.Administrator wrote: ↑Wed Jan 31, 2024 4:28 pm don't use lua script now for production as math library not implemented yet
@shrmaprem0202 I think we will need to wait, cause I can't wrap my head around how to randomize from 1 to 35 using the RANDOM function.
- Wed Jan 31, 2024 4:18 pm
- Forum: Ask any question
- Topic: [HELP] RANDOM NUMBER GENERATOR
- Replies: 11
- Views: 41263
Re: [HELP] RANDOM NUMBER GENERATOR
What if i need only 1 to 35 Hello! Now thanks to the implementation of scripting language support in Wapka (big kudos to Admin!), you can write a Lua script to do this (Wapka Dashboard > Your Site > Your Page > Advanced function > Script): -- Initialize the seed to ensure randomness math.randomseed...
- Wed Jan 31, 2024 4:10 pm
- Forum: Official Bulletin Board
- Topic: Update: We just added scripting language support
- Replies: 5
- Views: 25300
Re: We just added scripting language support
This is wild, I can't fathom how amazing this is
- Tue Jan 30, 2024 10:38 pm
- Forum: Ask any question
- Topic: [HELP] RANDOM NUMBER GENERATOR
- Replies: 11
- Views: 41263
Re: [HELP] RANDOM NUMBER GENERATOR
Hello! Unfortunately there is no direct way to get a random number in a specific range using the {{RANDOM()}} function. However, you can try the following approach: {{RANDOM("123456789")@CUT(["0", "1"])}}{{RANDOM("1234567890")@CUT(["0", "1"...