Shoutbox

Quick text help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Help (/forumdisplay.php?fid=12)
+----- Thread: Quick text help (/showthread.php?tid=84493)

Quick text help by Zet on 06-24-2008 at 02:24 AM

So I wanted to make a quick text thats only two different lines with a random number generator I tried doing
/ me scan's (!N)'s power level....

(!N)'s power level is (!R)

though I thought (!R) would generate a random number but otherwise (!N) selects everyone in a group convo when I just want to select one person, any ideas on what I should do?


RE: Quick text help by Chris4 on 06-24-2008 at 03:47 AM

(!N) = Contact Name(s)

So that includes everyone in the conversation.

There isn't a (!R) tag for generating a random number.


RE: Quick text help by Zet on 06-24-2008 at 03:49 AM

I guess I could always work on a script instead of using a quick text then


RE: Quick text help by Chris4 on 06-24-2008 at 03:51 AM

Yeah, shouldn't be too hard.

Here is info about a random number function which should get you started.


RE: Quick text help by Zet on 06-24-2008 at 03:55 AM

thanks for that link


RE: Quick text help by CookieRevised on 06-24-2008 at 05:28 AM

No offense (I hope), but "[Request] Random Number Generator" gives you a better explaination of how a random number is generated.
;)


RE: Quick text help by Zet on 06-24-2008 at 05:32 AM

pretty much I was using this IRC Script and wanted to use it over WLM

quote:
alias scan {
  var %pl $r(1,10000)
  describe $chan scans $1 $+ 's Power Level...
  if ($1 !ison $chan) {
    .timer 1 3 msg $chan $1 is out of range. | halt
  }
  if (%pl > 9000) {
    .timer 1 3 msg $chan its... ITS... ITS OVER 9000!!!!!!!( $+ %pl $+ )
  }
  else {
    .timer 1 3 msg $chan $1 $+ 's Power Level is %pl
  }
}

RE: RE: Quick text help by russell on 12-10-2008 at 02:04 AM

I am trying to create a template in Quicktext where for each email i create an automatic sequence number is created - can you help me with the script that i need to insert in to the remplate? i would like to load this to the server so that anybody who creates an email using that template has a number created at the top of the email automatically ... im so desperate...