I dunno if I've posted them before, but some of my previous scripts still work with 1.1, so if anyone might like to check these out, here they are:
/rolldie command to see who goes first in matches: you can specify two teams ( eg. /rolldie KINGS QUEENS) otherwise it will choose RVSF or CLA
/find command - search for up to 3 arguments (eg. clans) online in servers. it opens one window, waits 7 seconds, then searches the next.
/rolldie command to see who goes first in matches: you can specify two teams ( eg. /rolldie KINGS QUEENS) otherwise it will choose RVSF or CLA
[SELECT ALL] Code:
//-- rolldie command to see who goes first in matches
//-- by R4zor with ( a lot of ) help from GenDisarray
teamchoice = [rnd 8]
alias rolldie [ if (&& (> (listlen $arg1) 0) (> (listlen $arg2) 0) ) [dieteams1 = $arg1; dieteams2 = $arg2] [dieteams1 = CLA; dieteams2 = RVSF]; if (<= (teamchoice) 3) [dieteams = $dieteams1] [dieteams = $dieteams2]; sleep 100 [say Random Die Roll - team $dieteams was chosen!]]
/find command - search for up to 3 arguments (eg. clans) online in servers. it opens one window, waits 7 seconds, then searches the next.
[SELECT ALL] Code:
//-- find up to 3 players in servers automatically - by R4zor
finddelay = [if (> (listlen $arg1) 0) [alias findelay $arg1]]
findelay = 7
find = [updatefrommaster; if (> (listlen $arg2) 0) [tmpfind2 = $arg2; argfind2 = 1]; if (> (listlen $arg3) 0) [tmpfind3 = $arg3; argfind3 = 1]; searchnickname $arg1; if (= $argfind2 1) [sleep (* $findelay 1000) [searchnickname $tmpfind2; if (= $argfind3 1) [sleep (* $findelay 1000) [searchnickname $tmpfind3; clearfind]] [clearfind]]]]
clearfind = [tmpfind2 = 0; tmpfind3 = 0; argfind2 = 0; argfind3 = 0]
docsection [Custom]
docident [find] [find multiple strings online];
docargument [A] [first tag] [] [0];
docargument [B] [second tag (optional)] [] [0];
docargument [C] [third tag (optional)] [] [0];
docremark [use /finddelay x to specify number of seconds before next search];