mIRC Snippet:
Highlight Script (now with ignore list)
Posted on Jul 3, 2008 4:07 am
Posted on Jul 3, 2008 4:07 am
you might want to incorporate it so it works when people say your nick with colour
on *:text:*nick*:*: {
replace that with
on $*:text:$(/ $+ $me $+ /iS):#: {
on *:text:*nick*:*: {
replace that with
on $*:text:$(/ $+ $me $+ /iS):#: {
mIRC Snippet:
$anytok()
Posted on Jul 1, 2008 1:23 pm
Posted on Jul 1, 2008 1:23 pm
Edited that out BlueThen, now explains how PROP must be specified, thanks!
mIRC Snippet:
$anytok()
Posted on Jul 1, 2008 1:22 pm
Posted on Jul 1, 2008 1:22 pm
Absolutely nothing, I don't see the need to add something, unless you want by default, to get a certain prop return.
I would easily edit that in if someone wanted it.
I would easily edit that in if someone wanted it.
mIRC Snippet:
$anytok()
Posted on Jul 1, 2008 10:22 am
Posted on Jul 1, 2008 10:22 am
Edited again: Now actually works!
mIRC Snippet:
Rock Paper Scissors game
Posted on Jun 30, 2008 11:32 am
Posted on Jun 30, 2008 11:32 am
-s echoes it back to status window, e.g.:
%PlayerChoice set to Rock
%PlayerChoice set to Rock
mIRC Snippet:
Converter Dialog (TempLengthVolAreaWeight)
Posted on Jun 27, 2008 9:05 am
Posted on Jun 27, 2008 9:05 am
This dialog is great becuase i'm the only Canadian on an IRC channel and the others use different measurements. This will help me alot with converting. 10/10
mIRC Snippet:
Dice Rolling Script
Posted on Jun 25, 2008 12:48 am
Posted on Jun 25, 2008 12:48 am
I like leaving the -s in when I'm working on my scripts for bug-testing, seems that i haven't removed them.
Edit: Changed now.
Edit: Changed now.
mIRC Snippet:
$anytok()
Posted on Jun 25, 2008 12:47 am
Posted on Jun 25, 2008 12:47 am
Thanks, not making much difference though, and the comma in there is good for me if I edit it, easier to see!
Edited: Includes the ability to work for all Ascii characters, not just 32.
Edited: Includes the ability to work for all Ascii characters, not just 32.
mIRC Snippet:
Dice Rolling Script
Posted on Jun 24, 2008 11:35 pm
Posted on Jun 24, 2008 11:35 pm
He is using var -s to specifically show the variables result when set so instead of using .var -s %var to quiet it the better suggestion would be to lose the -s all together.
mIRC Snippet:
Dice Rolling Script
Posted on Jun 24, 2008 11:15 pm
Posted on Jun 24, 2008 11:15 pm
nice... might I suggest putting a . in front of your vars to cut out the status window spam.
mIRC Snippet:
$anytok()
Posted on Jun 24, 2008 11:02 pm
Posted on Jun 24, 2008 11:02 pm
I cant imagine at this moment what I would use this for but it looks good.
btw your
$iif(v1 -- v2,T,)
doesnt require the trailing , when not assigning F like you did, i.e.
$iif(v1 -- v2,T)
would be the same, atleast in my experience.
score = 7/10
btw your
$iif(v1 -- v2,T,)
doesnt require the trailing , when not assigning F like you did, i.e.
$iif(v1 -- v2,T)
would be the same, atleast in my experience.
score = 7/10
mIRC Snippet:
Rock Paper Scissors game
Posted on Jun 24, 2008 3:20 pm
Posted on Jun 24, 2008 3:20 pm
what does the -s do? i've never seen one in a script...
mIRC Snippet:
Rock Paper Scissors game
Posted on Jun 23, 2008 10:47 pm
Posted on Jun 23, 2008 10:47 pm
| Code: |
var -s %PlayerChoice $2 | /var -s %PlayerChoiceNum $replace(%PlayerChoice,Paper,2,Rock,1,Scissors,0) | /var -s %ScriptChoiceNum $rand(0,2) | /var -s %ScriptChoice $replace(%ScriptChoiceNum,2,Paper,1,Rock,0,Scissors) |
can't that be changed to
| Code: |
var -s %PlayerChoice $2, -s %PlayerChoiceNum $replace(%PlayerChoice,Paper,2,Rock,1,Scissors,0), -s %ScriptChoiceNum $rand(0,2), -s %ScriptChoice $replace(%ScriptChoiceNum,2,Paper,1,Rock,0,Scissors) |
mIRC Snippet:
Rock Paper Scissors game
Posted on Jun 23, 2008 10:40 pm
Posted on Jun 23, 2008 10:40 pm
8/10 good script i had to change it some so its easier to use.
---
lol ragbot you gave him a 4/10 if you voted if you didn't, well then sorry for the odd accusation.
---
all those '4's in my script are sopose to have the color box.. it isn't showing up in code... i wonder why?
| Code: |
| on *:text:!rps*:#: { if ($2 == p) { var %PlayerChoice Paper | goto rps } if ($2 == r) { var %PlayerChoice Rock | goto rps } if ($2 == s) { var %PlayerChoice Scissors | goto rps } if ($2 == paper) { var %PlayerChoice $2 | goto rps } if ($2 == rock) { var %PlayerChoice $2 | goto rps } if ($2 == scissors) { var %PlayerChoice $2 | goto rps } else { msg $chan [4 $nick ] You've got to choose Rock, Paper or Scissors! | halt } :rps var %ScriptChoiceNum $rand(0,2) var %ScriptChoice $replace(%ScriptChoiceNum,2,Paper,1,Rock,0,Scissors) if (%PlayerChoice == %ScriptChoice) { msg $chan [4 $nick ] <Your Choice:4 $replace($($upper($left(%PlayerChoice,1)) $+ $right(%PlayerChoice,-1)),$chr(32),$chr(32)) > <My Choice:4 %ScriptChoice > It's a draw! | halt } var %PlayerChoiceNum $replace(%PlayerChoice,Paper,2,Rock,1,Scissors,0) if (($calc(%ScriptChoiceNum - %PlayerChoiceNum) == 1) || ($calc(%ScriptChoiceNum - %PlayerChoiceNum) == -2)) { var %winner $me } else { var %winner $nick } msg $chan [4 $nick ] <Your Choice:4 $replace($($upper($left(%PlayerChoice,1)) $+ $right(%PlayerChoice,-1)),$chr(32),$chr(32)) > <My Choice:4 %ScriptChoice > [4 %Winner ] has won! } |
---
lol ragbot you gave him a 4/10 if you voted if you didn't, well then sorry for the odd accusation.
---
all those '4's in my script are sopose to have the color box.. it isn't showing up in code... i wonder why?
mIRC Snippet:
Currency Converter Dialog
Posted on Jun 23, 2008 3:31 am
Posted on Jun 23, 2008 3:31 am
RSD a.k.a. Serbian Dinar :)
Atm 1€=78.2RSD
Atm 1€=78.2RSD
mIRC Snippet:
Highlight Script (now with ignore list)
Posted on Jun 21, 2008 3:43 pm
Posted on Jun 21, 2008 3:43 pm
Vas, the changes worked perfectly!!
now it fits my needs, thanks a TON!
Xlbrag
btw, totally worth the 8!
now it fits my needs, thanks a TON!
Xlbrag
btw, totally worth the 8!










