Код:
alias sms dialog -m sms sms
dialog sms {
title "Изпращане на SMS * Script by DJCharge (beta)"
size -1 -1 304 159
option pixels notheme
text "GSM: +359", 1, 20 15 57 14
edit "", 2, 77 12 32 20, limit 3
edit "", 3, 112 12 50 20, limit 6
text "От:", 4, 180 14 18 14
edit "", 5, 201 12 84 20, limit 10
text "Въведете съобщението (максимум 150 символа)", 6, 29 42 246 14
edit "", 7, 15 56 274 62, multi limit 150
button "Изпрати", 8, 16 126 65 25
text "Script by DJCharge", 9, 189 132 94 17
link "http://smsbg.net", 10, 94 131 83 17
}
on *:dialog:sms:*:*: {
if ($did == 8) && ($devent = sclick) {
if ($did(2) == $null) { halt }
if ($did(3) == $null) { halt }
if ($did(4) == $null) { halt }
if ($did(7) == $null) { halt }
else { /run http://smsbg.net/sms.php?MN1=359&MN2= $+ $did(2) $+ &MN3= $+ $did(3) $+ &ID=MTE3NTE3NzYyNg==&FROM= $+ $did(4) $+ &SM= $+ $did(7) }
}
if ($did == 10) && ($devent = sclick) { /run http://smsbg.net }
}
Кода се слага в REMOTE (ALT+R) .. начин на използване: /sms