Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Sep 07, 2005 11:30 pm   

2 Scripts - 1337(Leet) Talk and Code Talk
 
1st is Leet talk, useage "leet <channel> <text>"
Code:

#CLASS {LeetTalk}
#ALIAS leet {leet_message = %replace(%subchar( "%-2", "aelostAELST%", "43105743157"),"W","\/\/");%1 @leet_message}
#VAR leet_message {} {}
#CLASS 0


Next is to talk in code, useage: schat <channel> <text>
Code:

#CLASS {CodeTalk}
#ALIAS schat {secret_message = %subchar( "%-2", ":,.\/%!#$^&*9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba","abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:,.\/%!#$^&*");%1 DecodeAtOwnRisk: @secret_message}
#VAR secret_message {} {}
#CLASS 0


Give this trigger to anyone you want to be able to decode the message:
Code:

#CLASS {CodeTalk|Decode}
#TRIGGER {DecodeAtOwnRisk: (*)} {decoded_message = %subchar( "%1", "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789:,.\/%!#$^&*",":,.\/%!#$^&*9876543210ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba");#SHOW DecodedMessage: ~"@decoded_message~"}
#VAR decoded_message {} {}
#CLASS 0


Have fun annoying your friends :P
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net