Go Back   The Palace Avatar Chat Community Forums. > Resources Palace Scripts, Links and Downloads > Borg scripts
Register FAQ Members List Calendar Arcade Toplist Search Today's Posts Mark Forums Read

Borg scripts Use this forum to find or post your cyborg scripts.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-09-2005, 08:34 PM
maarten's Avatar
maarten maarten is offline
forum die hard
 
Join Date: Oct 2002
Location: DiGiLaNd
Posts: 973
Rep Power: 10
maarten is on a distinguished road
Send a message via ICQ to maarten Send a message via AIM to maarten Send a message via Yahoo to maarten
Backwards talk

If used in Outchat, it will make anything said be said backwards. If used in Inchat, it will making anything heard be heard backwards.

Code:
;If used in Outchat, it will make anything said be said backwards.
;If used in Inchat, it will making anything heard be heard backwards.
;(The log will display it normally.)
BakOn GLOBAL 
{ CHATSTR Str = "^" GStr = { i++ { GStr "." + GStr = "$1" GREPSUB } i 1 > IF } { Str GStr "(.)" + GREPSTR 1 == } WHILE i-- i xStrLen = "" BKStr = { z++ BKStr SWAP + BKStr = } { z xStrLen < } WHILE BKStr CHATSTR = } BakOn 1 == IF
;this is the on/off switch. This belongs in an Outchat handler.
BakOn GLOBAL
{ "BaK off" LOCALMSG BakOn GLOBAL 0 BakOn = "" CHATSTR = } 
{ "BaK on" LOCALMSG BakON GLOBAL 1 BakOn = "" CHATSTR = } CHATSTR "BaK" == bakon AND IFELSE
Originally submitted by Aquilae
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.